Skip to content

Document how to disable Automatic Type Acquisition (ATA) #19369

@mprobst

Description

@mprobst

tsserver automatically reaches out to install type definitions. We'd like to disable this behaviour in our setup, so we can have reasonably reproducible builds and don't accidentally execute code off the internet.

PR #12373 suggests that a tsconfig.json entry {"typeAcquisition": {"enable": false}} might do the trick, but there are no docs on this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocsThe issue relates to how you learn TypeScript

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions