-
Notifications
You must be signed in to change notification settings - Fork 604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[api-extractor] Support Typescript 5.5 #4805
Comments
@colinaaa - Would you be willing to raise a PR making the necessary changes? |
I tried to upgrade to TS 5.5. And the following errors showed up:
Looks like it also needs typescript-eslint/typescript-eslint#8996 to work with TS 5.5. Should I just upgrade |
Also, the Simplified Reference Directive Declaration Emit change of TS 5.5 seems to cause errors for tests. E.g.: In - /// <reference types="jest" />
- /// <reference lib="es2015.symbol.wellknown" />
- /// <reference lib="es2018.intl" /> These Reference Directive Declaration are eliminated, which makes
|
Summary
After upgrading to the latest Typescript version (
5.5.2
) withisolatedDeclarations
enabled, theapi-extractor
failed to run.Repro steps
isolatedDeclarations
api-extractor
Expected result:
No error.
Actual result:
Failed to run api-extractor.
Details
As mentioned in docs, this could be fixed by upgrading the TypeScript compiler in api-extractor.
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: