Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

firstValues export in index #969

Open
Hyodori04 opened this issue Feb 14, 2024 · 4 comments
Open

firstValues export in index #969

Hyodori04 opened this issue Feb 14, 2024 · 4 comments
Labels
Area: APIs Things related to external and internal APIs good first issue Good for newcomers and first-timer contributors Priority: Medium This issue may be useful, and needs some attention.

Comments

@Hyodori04
Copy link

Suggestion

I want to use firstValues function from import
But it doesn't export in index.js. other function is exported like

export * from './parsers/index.js'; export * from './plugins/index.js';

Why you guys didn't export helpers.

Thanks you

@tunnckoCore tunnckoCore added good first issue Good for newcomers and first-timer contributors Priority: Medium This issue may be useful, and needs some attention. Area: APIs Things related to external and internal APIs labels Mar 10, 2024
@tunnckoCore
Copy link
Member

@Hyodori04

Yeah, that's a good point. I think the idea was to have helpers and wrapper things on a separate package.

We'll do.

@tunnckoCore
Copy link
Member

Oh. There's a packge json exports for the helpers, so you should be able to access them?

image

@Hyodori04
Copy link
Author

스크린샷 2024-03-11 오전 9 47 59

I think it's related typescript. In @types/formidable helpers is not defined. So I can't import.

@tunnckoCore
Copy link
Member

@Hyodori04 I think it's related typescript. In @types/formidable helpers is not defined. So I can't import.

oh well, yeah probably the TS package is out of sync.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: APIs Things related to external and internal APIs good first issue Good for newcomers and first-timer contributors Priority: Medium This issue may be useful, and needs some attention.
Projects
None yet
Development

No branches or pull requests

2 participants