mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Fix the default text for --useDefineForClassFields (#45513)
* Fix the default text for --useDefineForClassFields * Update with feedback
This commit is contained in:
@@ -1166,7 +1166,7 @@ namespace ts {
|
||||
affectsEmit: true,
|
||||
category: Diagnostics.Language_and_Environment,
|
||||
description: Diagnostics.Emit_ECMAScript_standard_compliant_class_fields,
|
||||
defaultValueDescription: "false"
|
||||
defaultValueDescription: Diagnostics.true_for_ES2022_and_above_including_ESNext
|
||||
},
|
||||
{
|
||||
name: "keyofStringsOnly",
|
||||
|
||||
@@ -5668,6 +5668,11 @@
|
||||
"category": "Message",
|
||||
"code": 6929
|
||||
},
|
||||
"`true` for ES2022 and above, including ESNext.": {
|
||||
"category": "Message",
|
||||
"code": 6930
|
||||
},
|
||||
|
||||
|
||||
"Variable '{0}' implicitly has an '{1}' type.": {
|
||||
"category": "Error",
|
||||
|
||||
Reference in New Issue
Block a user