-
Notifications
You must be signed in to change notification settings - Fork 650
Open
Description
Summary
I'm bundling a set of d.ts files and getting the following error:
Symbol not found for identifier: ...
I found this old issue where the same problem was caused by a version mismatch: #1370
I also get this message in the console:
Analysis will use the bundled TypeScript version 5.8.2
*** The target project appears to use TypeScript 5.9.2 which is newer than the bundled compiler engine; consider upgrading API Extractor.
I tried using typescriptCompilerFolder
pointing to my compiler directory with no luck.
As specified in the docs, since my toolchain uses TS 5.9.2 and the latest version of api-extractor uses 5.8.2, I'm requesting if you can upgrade to TS 5.9.2 because I believe the error I'm getting is related to this version mismatch.
Repro steps
Not sure, but maybe having a Symbol exported in a TS file compiled with the newer compiler version is what's causing the issue.
Standard questions
Please answer these questions to help us investigate your issue more quickly:
Question | Answer |
---|---|
@microsoft/api-extractor version? |
7.52.11 |
Operating system? | Mac |
API Extractor scenario? | d.ts |
Would you consider contributing a PR? | Yes |
TypeScript compiler version? | Mine? 5.9.2 |
Node.js version (node -v )? |
22.14 |
JahooYoung, rido-min, cecilemuller, MgmClientGuy, alvarosevilla95 and 5 more
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Needs triage