Skip to content

[api-extractor] Support Typescript 5.4 #4581

Closed
@davidlj95

Description

@davidlj95

Summary

After upgrading a project to latest Typescript version (5.4.2), can't run API Extractor any more as it requires a toolchain Typescript older than 5.3.3.

As stated in docs opening an issue to request the Typescript version update 😃

* Will try a PR later if have some time, seems last update to support 5.3 didn't require much changes

The message for sake of completeness:

*** The target project appears to use TypeScript 5.4.2 which is newer than the bundled compiler engine; consider upgrading API Extractor.
Warning: You have changed the public API signature for this project. Please copy the file "/home/runner/work/ngx/ngx/projects/ngx-meta/api-extractor/temp/ngx-meta.api.md" to "/home/runner/work/ngx/ngx/projects/ngx-meta/api-extractor/ngx-meta.api.md", or perform a local build (which does this automatically). See the Git repo documentation for more info.

API Extractor completed with warnings

Repro steps

N/A

Details

N/A

Standard questions

Please answer these questions to help us investigate your issue more quickly:

Question Answer
@microsoft/api-extractor version? 7.42.3 (latest when writing this)
Operating system? Linux
API Extractor scenario? N/A
Would you consider contributing a PR? Yes
TypeScript compiler version? 5.4.2
Node.js version (node -v)? 20.11.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedIf you're looking to contribute, this issue is a good place to start!

    Type

    No type

    Projects

    Status

    Closed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions