Open dubzzz opened 3 months ago
Related to the very same root cause: https://github.com/microsoft/rushstack/issues/4930
Also related to: https://github.com/microsoft/rushstack/issues/4805
Potential fix PR at: https://github.com/microsoft/rushstack/pull/4815
Summary
api-extractor
does not support the newly addedisolatedDeclaration
flag in tsconfig files.Repro steps
Simply add the flag
isolatedDeclaration
to either true or false in a tsconfig file and run api-extractor.Expected result: Should not throw about unrecognized flag
Actual result: Throws "Error parsing tsconfig.json content: Unknown compiler option 'isolatedDeclarations'"
Details
From my investigation, it seems that the fix would be to bump the dependency to typescript to 5.5+. But I prefer having your go if any before opening any PR or waiting for yours.
Standard questions
Please answer these questions to help us investigate your issue more quickly:
@microsoft/api-extractor
version?node -v
)?