Skip to content
New issue

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

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

Already on GitHub? # to your account

API Extractor fails to extract types #77

Open
ishon19 opened this issue Aug 6, 2024 · 1 comment · May be fixed by #82
Open

API Extractor fails to extract types #77

ishon19 opened this issue Aug 6, 2024 · 1 comment · May be fixed by #82

Comments

@ishon19
Copy link

ishon19 commented Aug 6, 2024

Hello! I was working on a feature to replace chalk with picocolors in jest repo, however the build process just fails since the @microsoft/api-extractor used in the project is not happy about the types.ts file in the exported picocolors npm package, as shown in the screenshot below:

image

Linking the PR as well for more context: jestjs/jest#15197

But when I manually go to the node_modules/picocolors and change the file name from types.ts to types.d.ts, it just works fine. Just wanted to know, is there any possible workaround? And if this seems to be a potential fix, I'm happy to contribute. Any help/suggestion appreciated! :)

@ishon19
Copy link
Author

ishon19 commented Aug 13, 2024

@alexeyraspopov would appreciate your suggestions on this one, this has been blocking my PR.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant