Skip to content

fix(48053) Description of tsBuildInfoFile is misleading in generated tsconfig.json#48072

Merged
andrewbranch merged 5 commits intomicrosoft:mainfrom
pabloosabaterr:fix#48053
Mar 22, 2022
Merged

fix(48053) Description of tsBuildInfoFile is misleading in generated tsconfig.json#48072
andrewbranch merged 5 commits intomicrosoft:mainfrom
pabloosabaterr:fix#48053

Conversation

@pabloosabaterr
Copy link
Copy Markdown
Contributor

Fixes #48053

@typescript-bot typescript-bot added the For Backlog Bug PRs that fix a backlog bug label Mar 1, 2022
@ghost
Copy link
Copy Markdown

ghost commented Mar 1, 2022

CLA assistant check
All CLA requirements met.

@sandersn
Copy link
Copy Markdown
Member

sandersn commented Mar 9, 2022

Note that the handbook also needs to get the new description: https://typescriptlang.org/docs/handbook/compiler-options.html

See also #46465, which does the inverse sync.

@jablko
Copy link
Copy Markdown
Contributor

jablko commented Mar 11, 2022

I've now opened microsoft/TypeScript-Website#2303 to also clarify the handbook.

Copy link
Copy Markdown
Member

@andrewbranch andrewbranch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Blopaa thanks! This looks good to me, but you’ll need to update the baselines so tests pass.

@pabloosabaterr
Copy link
Copy Markdown
Contributor Author

tests still fail

@andrewbranch
Copy link
Copy Markdown
Member

It looks like you need to run and update baselines again after merging with main. I’m guessing something else in the last 20 days touched these baselines in a way where the git merge line order was ambiguous.

// "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
// "tsBuildInfoFile": "./", /* Specify the folder for .tsbuildinfo incremental compilation files. */
// "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
// "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation files. */
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think it should be file instead of files

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

originally it was files, it must be something else, I did pull to main and ran gulp baseline-accept and it still failed.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have to run the tests again before doing gulp baseline-accept

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree the message should say file

@pabloosabaterr pabloosabaterr force-pushed the fix#48053 branch 2 times, most recently from 248c995 to 06bcddf Compare March 22, 2022 15:34
@pabloosabaterr
Copy link
Copy Markdown
Contributor Author

sorry for the forced pushes, everything is working now, thanks for your patience.

@andrewbranch
Copy link
Copy Markdown
Member

Thanks!

@andrewbranch andrewbranch merged commit 50a4b92 into microsoft:main Mar 22, 2022
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

For Backlog Bug PRs that fix a backlog bug

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Description of tsBuildInfoFile is misleading in generated tsconfig.json

7 participants