-
-
Notifications
You must be signed in to change notification settings - Fork 781
feat(transformer/typescript): support removeClassFieldsWithoutInitializer option
#10576
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
feat(transformer/typescript): support removeClassFieldsWithoutInitializer option
#10576
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
CodSpeed Instrumentation Performance ReportMerging #10576 will not alter performanceComparing Summary
Benchmarks breakdown
|
32a213f to
23c0ece
Compare
|
@sapphi-red could you review this? |
23c0ece to
097d8d4
Compare
Merge activity
|
…lizer` option (#10576) * close #9192 * close #10491 We've discussed adding `removeClassFieldsWithoutInitializer` option to support removing class fields without an initializer in #10491 (comment). This is used to align the`TypeScript`'s `useDefineForClassFields: false` option.
097d8d4 to
6bff64e
Compare

assumptions.setPublicClassFieldsdoesn't fully simulate tsconfiguseDefineForClassFields#9192setPublicClassFieldswith TypeScript'suseDefineForClassFields: false#10491We've discussed adding
removeClassFieldsWithoutInitializeroption to support removing class fields without an initializer in #10491 (comment). This is used to align theTypeScript'suseDefineForClassFields: falseoption.