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:
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! :)
Hello! I was working on a feature to replace
chalk
withpicocolors
injest
repo, however the build process just fails since the@microsoft/api-extractor
used in the project is not happy about thetypes.ts
file in the exportedpicocolors
npm package, as shown in the screenshot below:Linking the PR as well for more context: https://github.com/jestjs/jest/pull/15197
But when I manually go to the
node_modules/picocolors
and change the file name fromtypes.ts
totypes.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! :)