You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/compiler/diagnosticMessages.json
+31-3Lines changed: 31 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1011,6 +1011,10 @@
1011
1011
"category": "Message",
1012
1012
"code": 1350
1013
1013
},
1014
+
"Experimental support for BigInt is a feature that is subject to change in a future release. Set the 'experimentalBigInt' option to remove this warning.": {
1015
+
"category": "Error",
1016
+
"code": 1351
1017
+
},
1014
1018
1015
1019
"Duplicate identifier '{0}'.": {
1016
1020
"category": "Error",
@@ -1236,7 +1240,7 @@
1236
1240
"category": "Error",
1237
1241
"code": 2355
1238
1242
},
1239
-
"An arithmetic operand must be of type 'any', 'number' or an enum type.": {
1243
+
"An arithmetic operand must be of type 'any', 'number', 'bigint' or an enum type.": {
1240
1244
"category": "Error",
1241
1245
"code": 2356
1242
1246
},
@@ -1260,11 +1264,11 @@
1260
1264
"category": "Error",
1261
1265
"code": 2361
1262
1266
},
1263
-
"The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": {
1267
+
"The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.": {
1264
1268
"category": "Error",
1265
1269
"code": 2362
1266
1270
},
1267
-
"The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": {
1271
+
"The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.": {
1268
1272
"category": "Error",
1269
1273
"code": 2363
1270
1274
},
@@ -2493,6 +2497,18 @@
2493
2497
"category": "Error",
2494
2498
"code": 2734
2495
2499
},
2500
+
"Did you mean for '{0}' to be constrained to type 'new (...args: any[]) => {1}'?": {
2501
+
"category": "Error",
2502
+
"code": 2735
2503
+
},
2504
+
"Operator '{0}' cannot be applied to type '{1}'.": {
2505
+
"category": "Error",
2506
+
"code": 2736
2507
+
},
2508
+
"BigInt literals are not available when targetting lower than ESNext.": {
2509
+
"category": "Error",
2510
+
"code": 2737
2511
+
},
2496
2512
2497
2513
"Import declaration '{0}' is using private name '{1}'.": {
2498
2514
"category": "Error",
@@ -3771,6 +3787,14 @@
3771
3787
"category": "Message",
3772
3788
"code": 6215
3773
3789
},
3790
+
"Found 1 error.": {
3791
+
"category": "Message",
3792
+
"code": 6216
3793
+
},
3794
+
"Found {0} errors.": {
3795
+
"category": "Message",
3796
+
"code": 6217
3797
+
},
3774
3798
3775
3799
"Projects to reference": {
3776
3800
"category": "Message",
@@ -3893,6 +3917,10 @@
3893
3917
"category": "Error",
3894
3918
"code": 6370
3895
3919
},
3920
+
"Enables experimental support for ESNext BigInt literals.": {
3921
+
"category": "Message",
3922
+
"code": 6371
3923
+
},
3896
3924
3897
3925
"The expected type comes from property '{0}' which is declared here on type '{1}'": {
0 commit comments