-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Remove deprecated TypeScript compiler options for TS 6.0 compatibility #21004
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,8 +21,6 @@ | |
| "noUnusedLocals": false, | ||
| "noUncheckedIndexedAccess": true, | ||
| "noUnusedParameters": true, | ||
| "esModuleInterop": false, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @copilot please revert this. Same reasoning as here: https://github.com/emberjs/ember.js/pull/21004/files#r2525083129
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @copilot I'll let you keep it if you comment it out, and explain why we want the "false" value |
||
| "allowSyntheticDefaultImports": false, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @copilot this is a correctness thing. Please do not change this. Read the docs from here: https://www.typescriptlang.org/tsconfig/#allowSyntheticDefaultImports As you can, see, it makes default exports be the same as namespace exports -- which is wrong. As library authors, we must be good stewards of the ecosystem, and not push instability on to our consumers.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @copilot I'll let you keep it if you comment it out, and explain why we want the "false" value
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @NullVoxPopuli What tests can you write to keep these changes from being made? I very well may have done the same listening to the errors from the TS nightly job.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. for ESM? naw. we can only make a repro if you we try to import CJS, which can't happen in the browser |
||
| "isolatedModules": true, | ||
|
|
||
| "newLine": "LF", | ||
|
|
||
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.
@copilot this change is not needed, please revert
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.
I'm not sure you have any control if I opened it with copilot...