You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[api-extractor] Fix self-package import resolution in TypeScript compiler (#5301)
When analyzing .d.ts files that import the package itself, TypeScript's module
resolution would redirect to source .ts files instead of analyzing the build
artifacts. This occurs because TypeScript tries to avoid analyzing build outputs
when outDir/declarationDir are set.
Fix by deleting outDir and declarationDir options from the compiler configuration,
as API Extractor only uses the compiler for analysis and doesn't emit files.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-authored-by: finalchild <[email protected]>
Co-authored-by: Claude <[email protected]>
0 commit comments