Skip to content

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

@DanielRosenwasser

Description

@DanielRosenwasser

/// <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

Assignees

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