-
Notifications
You must be signed in to change notification settings - Fork 455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(typings): set correct typing for tsconfig
/tsConfig
#2377
Conversation
7cebc62
to
0c2cef9
Compare
disableSourceOfProjectReferenceRedirect?: boolean | ||
disableSolutionSearching?: boolean | ||
[k: string]: unknown | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ahnpnl This is unfortunate that ts-jest has to maintain this. I totally feel typescript package should export, and support a script API with these types.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you make this manually, or did you pull from somewhere?
const path = require('path') | ||
|
||
void (async () => { | ||
const response = await fetch('https://json.schemastore.org/tsconfig') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jimisaacs pull and manually modified.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very cool 👍
Summary
.d.ts
into build asset.d.ts
fortsconfig
andtsConfig
optionsCloses #2368
Test plan
Green CI
Does this PR introduce a breaking change?
Other information
N.A.