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
When exporting a type within a namespace in a package, in a dependent package api-extractor runs fail with symbol has a ts.SyntaxKind.SourceFile declaration which is not (yet?) supported by API Extractor.
The README has the repro steps.
What breaks api-extractor is seemingly utils.FooTypehere
Expected result:
api extractor runs without errors
Actual result:
ERROR: Internal Error: The ""./foo/utils/index"" symbol has a ts.SyntaxKind.SourceFile declaration which is not (yet?) supported by API Extractor
You have encountered a software defect. Please consider reporting the issue to the maintainers of this application.
Details
Standard questions
Please answer these questions to help us investigate your issue more quickly:
Question
Answer
@microsoft/api-extractor version?
7.47.9
Operating system?
Mac
API Extractor scenario?
reporting
Would you consider contributing a PR?
Yes
TypeScript compiler version?
5.4.2
Node.js version (node -v)?
20.9.0
The text was updated successfully, but these errors were encountered:
Summary
When exporting a type within a namespace in a package, in a dependent package api-extractor runs fail with
symbol has a ts.SyntaxKind.SourceFile declaration which is not (yet?) supported by API Extractor
.Repro steps
https://github.com/lukasIO/api-extractor-namespace-type-bug
The README has the repro steps.
What breaks api-extractor is seemingly
utils.FooType
hereExpected result:
api extractor runs without errors
Actual result:
Details
Standard questions
Please answer these questions to help us investigate your issue more quickly:
@microsoft/api-extractor
version?node -v
)?The text was updated successfully, but these errors were encountered: