Skip to content

Generated lib*.d.ts files differ from the files in TypeScript SDK #41597

Closed
@deniskovalchuk

Description

@deniskovalchuk

TypeScript Version: at least 3.9.7 and 4.0.5

The lib/lib*.d.ts and built/local/lib*.d.ts files contain mixed line breaks (LF/CRLF) and differ from the files in the TypeScript SDK, which contain only LF.

Steps to reproduce

Build LKG or local on any operating system.

git clone --config core.autocrlf=input https://github.com/microsoft/TypeScript.git
cd TypeScript
npm ci
gulp LKG

Expected behavior:

Consistent line breaks in lib*.d.ts files and no differences from the TypeScript SDK.

Actual behavior:

Mixed line breaks.

actual-line-breaks

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptEffort: ModerateRequires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Help WantedYou can do this

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions