Fix the default text for --useDefineForClassFields (#45513)

* Fix the default text for --useDefineForClassFields

* Update with feedback
This commit is contained in:
Orta Therox
2021-09-01 15:10:47 +01:00
committed by GitHub
parent 6b086689f2
commit f9a3d85b00
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -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",
+5
View File
@@ -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",