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

API Extractor fails to extract types #77

Closed
ishon19 opened this issue Aug 6, 2024 · 4 comments · Fixed by #82
Closed

API Extractor fails to extract types #77

ishon19 opened this issue Aug 6, 2024 · 4 comments · 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.

@ishon19
Copy link
Author

ishon19 commented Sep 30, 2024

Thanks a lot guys!

@alexeyraspopov
Copy link
Owner

I'll try to push new version this week, there's some pending changes I should've pushed a while ago. Thanks for your patience 🙏🏻

@alexeyraspopov
Copy link
Owner

v1.1.1 is now published.

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

Successfully merging a pull request may close this issue.

2 participants