GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Generated lib*.d.ts files differ from the files in TypeScript SDK · Issue #41597 · microsoft/TypeScript

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

New issue
Copy link
New issue
Copy link
Closed
Closed
Generated lib*.d.ts files differ from the files in TypeScript SDK#41597
Copy link
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptThe issue relates to the different libraries shipped with TypeScriptEffort: ModerateRequires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Requires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".
Milestone
Backlog

Description

@deniskovalchuk
Denis Kovalchuk (deniskovalchuk)
opened on Nov 19, 2020
Issue body actions

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

Activity

  1. Ryan Cavanaugh (RyanCavanaugh)
    added
    BugA bug in TypeScriptA bug in TypeScript
    on Nov 20, 2020
  2. Ryan Cavanaugh (RyanCavanaugh)
    added this to the Backlog milestone on Nov 20, 2020
  3. Daniel Rosenwasser (DanielRosenwasser)
    added
    Domain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptThe issue relates to the different libraries shipped with TypeScript
    help wanted
    Effort: ModerateRequires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Requires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".
    on Nov 20, 2020
  4. jakebailey commented on Jul 5, 2023

    @jakebailey
    Jake Bailey (jakebailey)
    on Jul 5, 2023
    Member
    More actions

    Post #51387, this one is definitely fixed as the problem here was the way we combined things with gulp (among other things). In the new build, the entirety of built and lib now consistently use LF line endings.

  5. Jake Bailey (jakebailey)
    closed this as completedon Jul 5, 2023
  6. deniskovalchuk commented on Jul 6, 2023

    @deniskovalchuk
    Denis Kovalchuk (deniskovalchuk)
    on Jul 6, 2023
    Author
    More actions

    Jake Bailey (@jakebailey), I've tested TypeScript 5.1.6 and can confirm that this problem has been fixed. Thank you!

  7. microsoft
    locked as resolved and limited conversation to collaborators on Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptThe issue relates to the different libraries shipped with TypeScriptEffort: ModerateRequires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Requires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".

    Type

    No type

    Projects

    No projects

      Milestone

      • BacklogNo due date

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.