镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Remove support for /// <reference no-default-lib /> #62209

Description

/// <reference no-default-lib /> was originally used as a means to override the standard library files, but is typically misunderstood in most modern contexts. It predates a lot of features like the lib flag (!) and libReplacement.

In TypeScript 6.0 and 7.0, it will serve no function.

See more on deprecations/behavioral changes for 6.0/7.0 at #54500.

Metadata

Metadata

Labels

Breaking ChangeWould introduce errors in existing codeCommittedThe team has roadmapped this issueFix AvailableA PR has been opened for this issueSuggestionAn idea for TypeScript

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions