mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-11 20:37:46 -05:00
allow literan enum const assertions (#30700)
* allow literan enum const assertions * update desc
This commit is contained in:
committed by
Ryan Cavanaugh
parent
b0100100a1
commit
bc46c770bf
@@ -1031,7 +1031,7 @@
|
||||
"category": "Error",
|
||||
"code": 1354
|
||||
},
|
||||
"A 'const' assertion can only be applied to a string, number, boolean, array, or object literal.": {
|
||||
"A 'const' assertions can only be applied to references to enum members, or string, number, boolean, array, or object literals.": {
|
||||
"category": "Error",
|
||||
"code": 1355
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user