Skip to content

api/tsserverlibrary.d.ts generated by jake and gulp differ #29664

Closed

Description

TypeScript Version: 3.4.0-dev.201xxxxx

Search Terms:

Code

when running tests for api, the baseline for api/tsserverlibrary.d.ts is different with jake and gulp.
Jake generates ExternalProject::getExcludedFiles() return type as

getExcludedFiles(): readonly NormalizedPath[];

while gulp generates it as:

getExcludedFiles(): ReadonlyArray<NormalizedPath>;

Note the return type is inferred so seems like one is using lib/tsserver.js and other is using built/local/tsserver.js
Expected behavior:

Actual behavior:

Playground Link:

Related Issues:

Activity

  1. sheetalkamat commented on Jan 31, 2019

    @sheetalkamat
    MemberAuthor
  2. ahejlsberg commented on Jan 31, 2019

    @ahejlsberg
    Member

    Wes and I were looking at this yesterday. It's because gulp uses the LKG compiler to generate the API files where jake uses the locally built compiler. I think we should just use the LKG compiler always and then make sure to update LKG before we release anything.

  3. 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

Labels

BugA bug in TypeScriptInfrastructureIssue relates to TypeScript team infrastructure

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions