EC
errcodes.dev
HTTP
PostgreSQL
Linux
Python
Docker
21 languages · 7,377+ codes
errcodes.dev
/
TypeScript
TS
TypeScript Diagnostic Codes
TS 5.x
2,130 codes
All 2130 TypeScript compiler diagnostic codes
All severities
ERROR
All tiers
Common
Notable
Critical
Showing
2,130
of
2,130
errors
Code
Message
Severity
Tier
TS2322
Type is not assignable to type
ERROR
Notable
→
TS2300
Duplicate identifier
ERROR
Common
→
TS2304
Cannot find name
ERROR
Notable
→
TS2305
Member does not exist on type
ERROR
Critical
→
TS2307
Cannot find module
ERROR
Notable
→
TS2314
Generic type requires type arguments
ERROR
Notable
→
TS2324
Property is private
ERROR
Notable
→
TS2339
Property does not exist on type
ERROR
Notable
→
TS2341
Property is private
ERROR
Notable
→
TS2345
Argument of type is not assignable to parameter of type
ERROR
Notable
→
TS2355
'this' implicitly has type 'any'
ERROR
Critical
→
TS2366
Function lacks ending return statement and return type does not include 'undefined'.
ERROR
Notable
→
TS2367
This comparison appears to be a mistake
ERROR
Critical
→
TS2377
A 'return' statement can only be used within a function body.
ERROR
Common
→
TS2415
Class incorrectly implements interface
ERROR
Notable
→
TS2420
Class incorrectly extends base class
ERROR
Critical
→
TS2448
Block-scoped variable cannot be re-declared
ERROR
Common
→
TS2451
Cannot redeclare block-scoped variable
ERROR
Common
→
TS2454
Variable is used before being assigned
ERROR
Critical
→
TS2511
Cannot find namespace
ERROR
Notable
→
TS2531
Object is possibly 'null'
ERROR
Critical
→
TS2532
Object is possibly 'undefined'
ERROR
Critical
→
TS2540
Cannot assign to property because it is a read-only property
ERROR
Notable
→
TS5023
Unknown compiler option
ERROR
Common
→
TS7006
Parameter implicitly has an 'any' type
ERROR
Notable
→
TS1002
Unterminated string literal.
ERROR
Notable
→
TS1003
Identifier expected.
ERROR
Notable
→
TS1005
'X' expected.
ERROR
Notable
→
TS1006
A file cannot have a reference to itself.
ERROR
Notable
→
TS1007
The parser expected to find a 'X' to match the 'X' token here.
ERROR
Notable
→
TS1009
Trailing comma not allowed.
ERROR
Notable
→
TS1010
'*/' expected.
ERROR
Notable
→
TS1011
An element access expression should take an argument.
ERROR
Notable
→
TS1012
Unexpected token.
ERROR
Notable
→
TS1013
A rest parameter or binding pattern may not have a trailing comma.
ERROR
Notable
→
TS1014
A rest parameter must be last in a parameter list.
ERROR
Notable
→
TS1015
Parameter cannot have question mark and initializer.
ERROR
Notable
→
TS1016
A required parameter cannot follow an optional parameter.
ERROR
Notable
→
TS1017
An index signature cannot have a rest parameter.
ERROR
Notable
→
TS1018
An index signature parameter cannot have an accessibility modifier.
ERROR
Notable
→
TS1019
An index signature parameter cannot have a question mark.
ERROR
Notable
→
TS1020
An index signature parameter cannot have an initializer.
ERROR
Notable
→
TS1021
An index signature must have a type annotation.
ERROR
Notable
→
TS1022
An index signature parameter must have a type annotation.
ERROR
Notable
→
TS1024
'readonly' modifier can only appear on a property declaration or index signat...
ERROR
Notable
→
TS1025
An index signature cannot have a trailing comma.
ERROR
Notable
→
TS1028
Accessibility modifier already seen.
ERROR
Notable
→
TS1029
'X' modifier must precede 'X' modifier.
ERROR
Notable
→
TS1030
'X' modifier already seen.
ERROR
Notable
→
TS1031
'X' modifier cannot appear on class elements of this kind.
ERROR
Notable
→
TS1034
'super' must be followed by an argument list or member access.
ERROR
Notable
→
TS1035
Only ambient modules can use quoted names.
ERROR
Notable
→
TS1036
Statements are not allowed in ambient contexts.
ERROR
Notable
→
TS1038
A 'declare' modifier cannot be used in an already ambient context.
ERROR
Notable
→
TS1039
Initializers are not allowed in ambient contexts.
ERROR
Notable
→
TS1040
'X' modifier cannot be used in an ambient context.
ERROR
Notable
→
TS1042
'X' modifier cannot be used here.
ERROR
Notable
→
TS1044
'X' modifier cannot appear on a module or namespace element.
ERROR
Notable
→
TS1046
Top-level declarations in .d.ts files must start with either a 'declare' or '...
ERROR
Notable
→
TS1047
A rest parameter cannot be optional.
ERROR
Notable
→
TS1048
A rest parameter cannot have an initializer.
ERROR
Notable
→
TS1049
A 'set' accessor must have exactly one parameter.
ERROR
Notable
→
TS1051
A 'set' accessor cannot have an optional parameter.
ERROR
Notable
→
TS1052
A 'set' accessor parameter cannot have an initializer.
ERROR
Notable
→
TS1053
A 'set' accessor cannot have rest parameter.
ERROR
Notable
→
TS1054
A 'get' accessor cannot have parameters.
ERROR
Notable
→
TS1055
Type 'X' is not a valid async function return type in ES5 because it does not...
ERROR
Notable
→
TS1056
Accessors are only available when targeting ECMAScript 5 and higher.
ERROR
Notable
→
TS1058
The return type of an async function must either be a valid promise or must n...
ERROR
Notable
→
TS1059
A promise must have a 'then' method.
ERROR
Notable
→
TS1060
The first parameter of the 'then' method of a promise must be a callback.
ERROR
Notable
→
TS1061
Enum member must have initializer.
ERROR
Notable
→
TS1062
Type is referenced directly or indirectly in the fulfillment callback of its ...
ERROR
Notable
→
TS1063
An export assignment cannot be used in a namespace.
ERROR
Notable
→
TS1064
The return type of an async function or method must be the global Promise<T> ...
ERROR
Notable
→
TS1065
The return type of an async function or method must be the global Promise<T> ...
ERROR
Notable
→
TS1066
In ambient enum declarations member initializer must be constant expression.
ERROR
Notable
→
TS1068
Unexpected token. A constructor, method, accessor, or property was expected.
ERROR
Notable
→
TS1069
Unexpected token. A type parameter name was expected without curly braces.
ERROR
Notable
→
TS1070
'X' modifier cannot appear on a type member.
ERROR
Notable
→
TS1071
'X' modifier cannot appear on an index signature.
ERROR
Notable
→
TS1079
A 'X' modifier cannot be used with an import declaration.
ERROR
Notable
→
TS1084
Invalid 'reference' directive syntax.
ERROR
Notable
→
TS1089
'X' modifier cannot appear on a constructor declaration.
ERROR
Notable
→
TS1090
'X' modifier cannot appear on a parameter.
ERROR
Notable
→
TS1091
Only a single variable declaration is allowed in a 'for...in' statement.
ERROR
Notable
→
TS1092
Type parameters cannot appear on a constructor declaration.
ERROR
Notable
→
TS1093
Type annotation cannot appear on a constructor declaration.
ERROR
Notable
→
TS1094
An accessor cannot have type parameters.
ERROR
Notable
→
TS1095
A 'set' accessor cannot have a return type annotation.
ERROR
Notable
→
TS1096
An index signature must have exactly one parameter.
ERROR
Notable
→
TS1097
'X' list cannot be empty.
ERROR
Notable
→
TS1098
Type parameter list cannot be empty.
ERROR
Notable
→
TS1099
Type argument list cannot be empty.
ERROR
Notable
→
TS1100
Invalid use of 'X' in strict mode.
ERROR
Notable
→
TS1101
'with' statements are not allowed in strict mode.
ERROR
Notable
→
TS1102
'delete' cannot be called on an identifier in strict mode.
ERROR
Notable
→
TS1103
'for await' loops are only allowed within async functions and at the top leve...
ERROR
Notable
→
TS1104
A 'continue' statement can only be used within an enclosing iteration statement.
ERROR
Notable
→
TS1105
A 'break' statement can only be used within an enclosing iteration or switch ...
ERROR
Notable
→
TS1106
The left-hand side of a 'for...of' statement may not be 'async'.
ERROR
Notable
→
TS1107
Jump target cannot cross function boundary.
ERROR
Notable
→
TS1108
A 'return' statement can only be used within a function body.
ERROR
Notable
→
TS1109
Expression expected.
ERROR
Notable
→
TS1110
Type expected.
ERROR
Notable
→
TS1111
Private field 'X' must be declared in an enclosing class.
ERROR
Notable
→
TS1113
A 'default' clause cannot appear more than once in a 'switch' statement.
ERROR
Notable
→
TS1114
Duplicate label 'X'.
ERROR
Notable
→
TS1115
A 'continue' statement can only jump to a label of an enclosing iteration sta...
ERROR
Notable
→
TS1116
A 'break' statement can only jump to a label of an enclosing statement.
ERROR
Notable
→
TS1117
An object literal cannot have multiple properties with the same name.
ERROR
Notable
→
TS1118
An object literal cannot have multiple get/set accessors with the same name.
ERROR
Notable
→
TS1119
An object literal cannot have property and accessor with the same name.
ERROR
Notable
→
TS1120
An export assignment cannot have modifiers.
ERROR
Notable
→
TS1121
Octal literals are not allowed. Use the syntax 'X'.
ERROR
Notable
→
TS1123
Variable declaration list cannot be empty.
ERROR
Notable
→
TS1124
Digit expected.
ERROR
Notable
→
TS1125
Hexadecimal digit expected.
ERROR
Notable
→
TS1126
Unexpected end of text.
ERROR
Notable
→
TS1127
Invalid character.
ERROR
Notable
→
TS1128
Declaration or statement expected.
ERROR
Notable
→
TS1129
Statement expected.
ERROR
Notable
→
TS1130
'case' or 'default' expected.
ERROR
Notable
→
TS1131
Property or signature expected.
ERROR
Notable
→
TS1132
Enum member expected.
ERROR
Notable
→
TS1134
Variable declaration expected.
ERROR
Notable
→
TS1135
Argument expression expected.
ERROR
Notable
→
TS1136
Property assignment expected.
ERROR
Notable
→
TS1137
Expression or comma expected.
ERROR
Notable
→
TS1138
Parameter declaration expected.
ERROR
Notable
→
TS1139
Type parameter declaration expected.
ERROR
Notable
→
TS1140
Type argument expected.
ERROR
Notable
→
TS1141
String literal expected.
ERROR
Notable
→
TS1142
Line break not permitted here.
ERROR
Notable
→
TS1144
'{' or ';' expected.
ERROR
Notable
→
TS1145
'{' or JSX element expected.
ERROR
Notable
→
TS1146
Declaration expected.
ERROR
Notable
→
TS1147
Import declarations in a namespace cannot reference a module.
ERROR
Notable
→
TS1148
Cannot use imports, exports, or module augmentations when '--module' is 'none'.
ERROR
Notable
→
TS1149
File name 'X' differs from already included file name 'X' only in casing.
ERROR
Notable
→
TS1155
'X' declarations must be initialized.
ERROR
Notable
→
TS1156
'X' declarations can only be declared inside a block.
ERROR
Notable
→
TS1160
Unterminated template literal.
ERROR
Notable
→
TS1161
Unterminated regular expression literal.
ERROR
Notable
→
TS1162
An object member cannot be declared optional.
ERROR
Notable
→
TS1163
A 'yield' expression is only allowed in a generator body.
ERROR
Notable
→
TS1164
Computed property names are not allowed in enums.
ERROR
Notable
→
TS1165
A computed property name in an ambient context must refer to an expression wh...
ERROR
Notable
→
TS1166
A computed property name in a class property declaration must have a simple l...
ERROR
Notable
→
TS1168
A computed property name in a method overload must refer to an expression who...
ERROR
Notable
→
TS1169
A computed property name in an interface must refer to an expression whose ty...
ERROR
Notable
→
TS1170
A computed property name in a type literal must refer to an expression whose ...
ERROR
Notable
→
TS1171
A comma expression is not allowed in a computed property name.
ERROR
Notable
→
TS1172
'extends' clause already seen.
ERROR
Notable
→
TS1173
'extends' clause must precede 'implements' clause.
ERROR
Notable
→
TS1174
Classes can only extend a single class.
ERROR
Notable
→
TS1175
'implements' clause already seen.
ERROR
Notable
→
TS1176
Interface declaration cannot have 'implements' clause.
ERROR
Notable
→
TS1177
Binary digit expected.
ERROR
Notable
→
TS1178
Octal digit expected.
ERROR
Notable
→
TS1179
Unexpected token. '{' expected.
ERROR
Notable
→
TS1180
Property destructuring pattern expected.
ERROR
Notable
→
TS1181
Array element destructuring pattern expected.
ERROR
Notable
→
TS1182
A destructuring declaration must have an initializer.
ERROR
Notable
→
TS1183
An implementation cannot be declared in ambient contexts.
ERROR
Notable
→
TS1184
Modifiers cannot appear here.
ERROR
Notable
→
TS1185
Merge conflict marker encountered.
ERROR
Notable
→
TS1186
A rest element cannot have an initializer.
ERROR
Notable
→
TS1187
A parameter property may not be declared using a binding pattern.
ERROR
Notable
→
TS1188
Only a single variable declaration is allowed in a 'for...of' statement.
ERROR
Notable
→
TS1189
The variable declaration of a 'for...in' statement cannot have an initializer.
ERROR
Notable
→
TS1190
The variable declaration of a 'for...of' statement cannot have an initializer.
ERROR
Notable
→
TS1191
An import declaration cannot have modifiers.
ERROR
Notable
→
TS1192
Module 'X' has no default export.
ERROR
Notable
→
TS1193
An export declaration cannot have modifiers.
ERROR
Notable
→
TS1194
Export declarations are not permitted in a namespace.
ERROR
Notable
→
TS1195
'export *' does not re-export a default.
ERROR
Notable
→
TS1196
Catch clause variable type annotation must be 'any' or 'unknown' if specified.
ERROR
Notable
→
TS1197
Catch clause variable cannot have an initializer.
ERROR
Notable
→
TS1198
An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive.
ERROR
Notable
→
TS1199
Unterminated Unicode escape sequence.
ERROR
Notable
→
TS1200
Line terminator not permitted before arrow.
ERROR
Notable
→
TS1202
Import assignment cannot be used when targeting ECMAScript modules. Consider ...
ERROR
Notable
→
TS1203
Export assignment cannot be used when targeting ECMAScript modules. Consider ...
ERROR
Notable
→
TS1205
Re-exporting a type when 'X' is enabled requires using 'export type'.
ERROR
Notable
→
TS1206
Decorators are not valid here.
ERROR
Notable
→
TS1207
Decorators cannot be applied to multiple get/set accessors of the same name.
ERROR
Notable
→
TS1209
Invalid optional chain from new expression. Did you mean to call 'X()'?
ERROR
Notable
→
TS1210
Code contained in a class is evaluated in JavaScript's strict mode which does...
ERROR
Notable
→
TS1211
A class declaration without the 'default' modifier must have a name.
ERROR
Notable
→
TS1212
Identifier expected. 'X' is a reserved word in strict mode.
ERROR
Notable
→
TS1213
Identifier expected. 'X' is a reserved word in strict mode. Class definitions...
ERROR
Notable
→
TS1214
Identifier expected. 'X' is a reserved word in strict mode. Modules are autom...
ERROR
Notable
→
TS1215
Invalid use of 'X'. Modules are automatically in strict mode.
ERROR
Notable
→
TS1216
Identifier expected. '__esModule' is reserved as an exported marker when tran...
ERROR
Notable
→
TS1218
Export assignment is not supported when '--module' flag is 'system'.
ERROR
Notable
→
TS1221
Generators are not allowed in an ambient context.
ERROR
Notable
→
TS1222
An overload signature cannot be declared as a generator.
ERROR
Notable
→
TS1223
'X' tag already specified.
ERROR
Notable
→
TS1224
Signature 'X' must be a type predicate.
ERROR
Notable
→
TS1225
Cannot find parameter 'X'.
ERROR
Notable
→
TS1226
Type predicate 'X' is not assignable to 'X'.
ERROR
Notable
→
TS1227
Parameter 'X' is not in the same position as parameter 'X'.
ERROR
Notable
→
TS1228
A type predicate is only allowed in return type position for functions and me...
ERROR
Notable
→
TS1229
A type predicate cannot reference a rest parameter.
ERROR
Notable
→
TS1230
A type predicate cannot reference element 'X' in a binding pattern.
ERROR
Notable
→
TS1231
An export assignment must be at the top level of a file or module declaration.
ERROR
Notable
→
TS1232
An import declaration can only be used at the top level of a namespace or mod...
ERROR
Notable
→
TS1233
An export declaration can only be used at the top level of a namespace or mod...
ERROR
Notable
→
TS1234
An ambient module declaration is only allowed at the top level in a file.
ERROR
Notable
→
TS1235
A namespace declaration is only allowed at the top level of a namespace or mo...
ERROR
Notable
→
TS1236
The return type of a property decorator function must be either 'void' or 'any'.
ERROR
Notable
→
TS1237
The return type of a parameter decorator function must be either 'void' or 'a...
ERROR
Notable
→
TS1238
Unable to resolve signature of class decorator when called as an expression.
ERROR
Notable
→
TS1239
Unable to resolve signature of parameter decorator when called as an expression.
ERROR
Notable
→
TS1240
Unable to resolve signature of property decorator when called as an expression.
ERROR
Notable
→
TS1241
Unable to resolve signature of method decorator when called as an expression.
ERROR
Notable
→
TS1242
'abstract' modifier can only appear on a class, method, or property declaration.
ERROR
Notable
→
TS1243
'X' modifier cannot be used with 'X' modifier.
ERROR
Notable
→
TS1244
Abstract methods can only appear within an abstract class.
ERROR
Notable
→
TS1245
Method 'X' cannot have an implementation because it is marked abstract.
ERROR
Notable
→
TS1246
An interface property cannot have an initializer.
ERROR
Notable
→
TS1247
A type literal property cannot have an initializer.
ERROR
Notable
→
TS1248
A class member cannot have the 'X' keyword.
ERROR
Notable
→
TS1249
A decorator can only decorate a method implementation, not an overload.
ERROR
Notable
→
TS1250
Function declarations are not allowed inside blocks in strict mode when targe...
ERROR
Notable
→
TS1251
Function declarations are not allowed inside blocks in strict mode when targe...
ERROR
Notable
→
TS1252
Function declarations are not allowed inside blocks in strict mode when targe...
ERROR
Notable
→
TS1253
Abstract properties can only appear within an abstract class.
ERROR
Notable
→
TS1254
A 'const' initializer in an ambient context must be a string or numeric liter...
ERROR
Notable
→
TS1255
A definite assignment assertion '!' is not permitted in this context.
ERROR
Notable
→
TS1257
A required element cannot follow an optional element.
ERROR
Notable
→
TS1258
A default export must be at the top level of a file or module declaration.
ERROR
Notable
→
TS1259
Module 'X' can only be default-imported using the 'X' flag
ERROR
Notable
→
TS1260
Keywords cannot contain escape characters.
ERROR
Notable
→
TS1261
Already included file name 'X' differs from file name 'X' only in casing.
ERROR
Notable
→
TS1262
Identifier expected. 'X' is a reserved word at the top-level of a module.
ERROR
Notable
→
TS1263
Declarations with initializers cannot also have definite assignment assertions.
ERROR
Notable
→
TS1264
Declarations with definite assignment assertions must also have type annotati...
ERROR
Notable
→
TS1265
A rest element cannot follow another rest element.
ERROR
Notable
→
TS1266
An optional element cannot follow a rest element.
ERROR
Notable
→
TS1267
Property 'X' cannot have an initializer because it is marked abstract.
ERROR
Notable
→
TS1268
An index signature parameter type must be 'string', 'number', 'symbol', or a ...
ERROR
Notable
→
TS1269
Cannot use 'export import' on a type or type-only namespace when 'X' is enabled.
ERROR
Notable
→
TS1270
Decorator function return type 'X' is not assignable to type 'X'.
ERROR
Notable
→
TS1271
Decorator function return type is 'X' but is expected to be 'void' or 'any'.
ERROR
Notable
→
TS1272
A type referenced in a decorated signature must be imported with 'import type...
ERROR
Notable
→
TS1273
'X' modifier cannot appear on a type parameter
ERROR
Notable
→
TS1274
'X' modifier can only appear on a type parameter of a class, interface or typ...
ERROR
Notable
→
TS1275
'accessor' modifier can only appear on a property declaration.
ERROR
Notable
→
TS1276
An 'accessor' property cannot be declared optional.
ERROR
Notable
→
TS1277
'X' modifier can only appear on a type parameter of a function, method or class
ERROR
Notable
→
TS1278
The runtime will invoke the decorator with X arguments, but the decorator exp...
ERROR
Notable
→
TS1279
The runtime will invoke the decorator with X arguments, but the decorator exp...
ERROR
Notable
→
TS1280
Namespaces are not allowed in global script files when 'X' is enabled. If thi...
ERROR
Notable
→
TS1281
Cannot access 'X' from another file without qualification when 'X' is enabled...
ERROR
Notable
→
TS1282
An 'export =' declaration must reference a value when 'verbatimModuleSyntax' ...
ERROR
Notable
→
TS1283
An 'export =' declaration must reference a real value when 'verbatimModuleSyn...
ERROR
Notable
→
TS1284
An 'export default' must reference a value when 'verbatimModuleSyntax' is ena...
ERROR
Notable
→
TS1285
An 'export default' must reference a real value when 'verbatimModuleSyntax' i...
ERROR
Notable
→
TS1286
ECMAScript imports and exports cannot be written in a CommonJS file under 've...
ERROR
Notable
→
TS1287
A top-level 'export' modifier cannot be used on value declarations in a Commo...
ERROR
Notable
→
TS1288
An import alias cannot resolve to a type or type-only declaration when 'verba...
ERROR
Notable
→
TS1289
'X' resolves to a type-only declaration and must be marked type-only in this ...
ERROR
Notable
→
TS1290
'X' resolves to a type-only declaration and must be marked type-only in this ...
ERROR
Notable
→
TS1291
'X' resolves to a type and must be marked type-only in this file before re-ex...
ERROR
Notable
→
TS1292
'X' resolves to a type and must be marked type-only in this file before re-ex...
ERROR
Notable
→
TS1293
ECMAScript module syntax is not allowed in a CommonJS module when 'module' is...
ERROR
Notable
→
TS1294
This syntax is not allowed when 'erasableSyntaxOnly' is enabled.
ERROR
Notable
→
TS1295
ECMAScript imports and exports cannot be written in a CommonJS file under 've...
ERROR
Notable
→
TS1300
'with' statements are not allowed in an async function block.
ERROR
Notable
→
TS1308
'await' expressions are only allowed within async functions and at the top le...
ERROR
Notable
→
TS1309
The current file is a CommonJS module and cannot use 'await' at the top level.
ERROR
Notable
→
TS1312
Did you mean to use a ':'? An '=' can only follow a property name when the co...
ERROR
Notable
→
TS1313
The body of an 'if' statement cannot be the empty statement.
ERROR
Notable
→
TS1314
Global module exports may only appear in module files.
ERROR
Notable
→
TS1315
Global module exports may only appear in declaration files.
ERROR
Notable
→
TS1316
Global module exports may only appear at top level.
ERROR
Notable
→
TS1317
A parameter property cannot be declared using a rest parameter.
ERROR
Notable
→
TS1318
An abstract accessor cannot have an implementation.
ERROR
Notable
→
TS1319
A default export can only be used in an ECMAScript-style module.
ERROR
Notable
→
TS1320
Type of 'await' operand must either be a valid promise or must not contain a ...
ERROR
Notable
→
TS1321
Type of 'yield' operand in an async generator must either be a valid promise ...
ERROR
Notable
→
TS1322
Type of iterated elements of a 'yield*' operand must either be a valid promis...
ERROR
Notable
→
TS1323
Dynamic imports are only supported when the '--module' flag is set to 'es2020...
ERROR
Notable
→
TS1324
Dynamic imports only support a second argument when the '--module' option is ...
ERROR
Notable
→
TS1325
Argument of dynamic import cannot be spread element.
ERROR
Notable
→
TS1326
This use of 'import' is invalid. 'import()' calls can be written, but they mu...
ERROR
Notable
→
TS1327
String literal with double quotes expected.
ERROR
Notable
→
TS1328
Property value can only be string literal, numeric literal, 'true', 'false', ...
ERROR
Notable
→
TS1329
'X' accepts too few arguments to be used as a decorator here. Did you mean to...
ERROR
Notable
→
TS1330
A property of an interface or type literal whose type is a 'unique symbol' ty...
ERROR
Notable
→
TS1331
A property of a class whose type is a 'unique symbol' type must be both 'stat...
ERROR
Notable
→
TS1332
A variable whose type is a 'unique symbol' type must be 'const'.
ERROR
Notable
→
TS1333
'unique symbol' types may not be used on a variable declaration with a bindin...
ERROR
Notable
→
TS1334
'unique symbol' types are only allowed on variables in a variable statement.
ERROR
Notable
→
TS1335
'unique symbol' types are not allowed here.
ERROR
Notable
→
TS1337
An index signature parameter type cannot be a literal type or generic type. C...
ERROR
Notable
→
TS1338
'infer' declarations are only permitted in the 'extends' clause of a conditio...
ERROR
Notable
→
TS1339
Module 'X' does not refer to a value, but is used as a value here.
ERROR
Notable
→
TS1340
Module 'X' does not refer to a type, but is used as a type here. Did you mean...
ERROR
Notable
→
TS1341
Class constructor may not be an accessor.
ERROR
Notable
→
TS1343
The 'import.meta' meta-property is only allowed when the '--module' option is...
ERROR
Notable
→
TS1344
'A label is not allowed here.
ERROR
Notable
→
TS1345
An expression of type 'void' cannot be tested for truthiness.
ERROR
Notable
→
TS1346
This parameter is not allowed with 'use strict' directive.
ERROR
Notable
→
TS1347
'use strict' directive cannot be used with non-simple parameter list.
ERROR
Notable
→
TS1348
Non-simple parameter declared here.
ERROR
Notable
→
TS1349
'use strict' directive used here.
ERROR
Notable
→
TS1350
Print the final configuration instead of building.
ERROR
Notable
→
TS1351
An identifier or keyword cannot immediately follow a numeric literal.
ERROR
Notable
→
TS1352
A bigint literal cannot use exponential notation.
ERROR
Notable
→
TS1353
A bigint literal must be an integer.
ERROR
Notable
→
TS1354
'readonly' type modifier is only permitted on array and tuple literal types.
ERROR
Notable
→
TS1355
A 'const' assertion can only be applied to references to enum members, or str...
ERROR
Notable
→
TS1356
Did you mean to mark this function as 'async'?
ERROR
Notable
→
TS1357
An enum member name must be followed by a ',', '=', or '}'.
ERROR
Notable
→
TS1358
Tagged template expressions are not permitted in an optional chain.
ERROR
Notable
→
TS1359
Identifier expected. 'X' is a reserved word that cannot be used here.
ERROR
Notable
→
TS1360
Type 'X' does not satisfy the expected type 'X'.
ERROR
Notable
→
TS1361
'X' cannot be used as a value because it was imported using 'import type'.
ERROR
Notable
→
TS1362
'X' cannot be used as a value because it was exported using 'export type'.
ERROR
Notable
→
TS1363
A type-only import can specify a default import or named bindings, but not both.
ERROR
Notable
→
TS1364
Convert to type-only export
ERROR
Notable
→
TS1365
Convert all re-exported types to type-only exports
ERROR
Notable
→
TS1366
Split into two separate import declarations
ERROR
Notable
→
TS1367
Split all invalid type-only imports
ERROR
Notable
→
TS1368
Class constructor may not be a generator.
ERROR
Notable
→
TS1369
Did you mean 'X'?
ERROR
Notable
→
TS1375
'await' expressions are only allowed at the top level of a file when that fil...
ERROR
Notable
→
TS1376
'X' was imported here.
ERROR
Notable
→
TS1377
'X' was exported here.
ERROR
Notable
→
TS1378
Top-level 'await' expressions are only allowed when the 'module' option is se...
ERROR
Notable
→
TS1379
An import alias cannot reference a declaration that was exported using 'expor...
ERROR
Notable
→
TS1380
An import alias cannot reference a declaration that was imported using 'impor...
ERROR
Notable
→
TS1381
Unexpected token. Did you mean `X'}` or `}`?
ERROR
Notable
→
TS1382
Unexpected token. Did you mean `X` or `>`?
ERROR
Notable
→
TS1385
Function type notation must be parenthesized when used in a union type.
ERROR
Notable
→
TS1386
Constructor type notation must be parenthesized when used in a union type.
ERROR
Notable
→
TS1387
Function type notation must be parenthesized when used in an intersection type.
ERROR
Notable
→
TS1388
Constructor type notation must be parenthesized when used in an intersection ...
ERROR
Notable
→
TS1389
'X' is not allowed as a variable declaration name.
ERROR
Notable
→
TS1390
'X' is not allowed as a parameter name.
ERROR
Notable
→
TS1392
An import alias cannot use 'import type'
ERROR
Notable
→
TS1393
Imported via X from file 'X'
ERROR
Notable
→
TS1394
Imported via X from file 'X' with packageId 'X'
ERROR
Notable
→
TS1395
Imported via X from file 'X' to import 'importHelpers' as specified in compil...
ERROR
Notable
→
TS1396
Imported via X from file 'X' with packageId 'X' to import 'importHelpers' as ...
ERROR
Notable
→
TS1397
Imported via X from file 'X' to import 'jsx' and 'jsxs' factory functions
ERROR
Notable
→
TS1398
Imported via X from file 'X' with packageId 'X' to import 'jsx' and 'jsxs' fa...
ERROR
Notable
→
TS1399
File is included via import here.
ERROR
Notable
→
TS1400
Referenced via 'X' from file 'X'
ERROR
Notable
→
TS1401
File is included via reference here.
ERROR
Notable
→
TS1402
Type library referenced via 'X' from file 'X'
ERROR
Notable
→
TS1403
Type library referenced via 'X' from file 'X' with packageId 'X'
ERROR
Notable
→
TS1404
File is included via type library reference here.
ERROR
Notable
→
TS1405
Library referenced via 'X' from file 'X'
ERROR
Notable
→
TS1406
File is included via library reference here.
ERROR
Notable
→
TS1407
Matched by include pattern 'X' in 'X'
ERROR
Notable
→
TS1408
File is matched by include pattern specified here.
ERROR
Notable
→
TS1409
Part of 'files' list in tsconfig.json
ERROR
Notable
→
TS1410
File is matched by 'files' list specified here.
ERROR
Notable
→
TS1411
Output from referenced project 'X' included because 'X' specified
ERROR
Notable
→
TS1412
Output from referenced project 'X' included because '--module' is specified a...
ERROR
Notable
→
TS1413
File is output from referenced project specified here.
ERROR
Notable
→
TS1414
Source from referenced project 'X' included because 'X' specified
ERROR
Notable
→
TS1415
Source from referenced project 'X' included because '--module' is specified a...
ERROR
Notable
→
TS1416
File is source from referenced project specified here.
ERROR
Notable
→
TS1417
Entry point of type library 'X' specified in compilerOptions
ERROR
Notable
→
TS1418
Entry point of type library 'X' specified in compilerOptions with packageId 'X'
ERROR
Notable
→
TS1419
File is entry point of type library specified here.
ERROR
Notable
→
TS1420
Entry point for implicit type library 'X'
ERROR
Notable
→
TS1421
Entry point for implicit type library 'X' with packageId 'X'
ERROR
Notable
→
TS1422
Library 'X' specified in compilerOptions
ERROR
Notable
→
TS1423
File is library specified here.
ERROR
Notable
→
TS1424
Default library
ERROR
Notable
→
TS1425
Default library for target 'X'
ERROR
Notable
→
TS1426
File is default library for target specified here.
ERROR
Notable
→
TS1427
Root file specified for compilation
ERROR
Notable
→
TS1428
File is output of project reference source 'X'
ERROR
Notable
→
TS1429
File redirects to file 'X'
ERROR
Notable
→
TS1430
The file is in the program because:
ERROR
Notable
→
TS1431
'for await' loops are only allowed at the top level of a file when that file ...
ERROR
Notable
→
TS1432
Top-level 'for await' loops are only allowed when the 'module' option is set ...
ERROR
Notable
→
TS1433
Neither decorators nor modifiers may be applied to 'this' parameters.
ERROR
Notable
→
TS1434
Unexpected keyword or identifier.
ERROR
Notable
→
TS1435
Unknown keyword or identifier. Did you mean 'X'?
ERROR
Notable
→
TS1436
Decorators must precede the name and all keywords of property declarations.
ERROR
Notable
→
TS1437
Namespace must be given a name.
ERROR
Notable
→
TS1438
Interface must be given a name.
ERROR
Notable
→
TS1439
Type alias must be given a name.
ERROR
Notable
→
TS1440
Variable declaration not allowed at this location.
ERROR
Notable
→
TS1441
Cannot start a function call in a type annotation.
ERROR
Notable
→
TS1442
Expected '=' for property initializer.
ERROR
Notable
→
TS1443
Module declaration names may only use ' or " quoted strings.
ERROR
Notable
→
TS1448
'X' resolves to a type-only declaration and must be re-exported using a type-...
ERROR
Notable
→
TS1449
Preserve unused imported values in the JavaScript output that would otherwise...
ERROR
Notable
→
TS1450
Dynamic imports can only accept a module specifier and an optional set of att...
ERROR
Notable
→
TS1451
Private identifiers are only allowed in class bodies and may only be used as ...
ERROR
Notable
→
TS1453
`resolution-mode` should be either `require` or `import`.
ERROR
Notable
→
TS1454
`resolution-mode` can only be set for type-only imports.
ERROR
Notable
→
TS1455
`resolution-mode` is the only valid key for type import assertions.
ERROR
Notable
→
TS1456
Type import assertions should have exactly one key - `resolution-mode` - with...
ERROR
Notable
→
TS1457
Matched by default include pattern '**/*'
ERROR
Notable
→
TS1458
File is ECMAScript module because 'X' has field "type" with value "module"
ERROR
Notable
→
TS1459
File is CommonJS module because 'X' has field "type" whose value is not "module"
ERROR
Notable
→
TS1460
File is CommonJS module because 'X' does not have field "type"
ERROR
Notable
→
TS1461
File is CommonJS module because 'package.json' was not found
ERROR
Notable
→
TS1463
'resolution-mode' is the only valid key for type import attributes.
ERROR
Notable
→
TS1464
Type import attributes should have exactly one key - 'resolution-mode' - with...
ERROR
Notable
→
TS1470
The 'import.meta' meta-property is not allowed in files which will build into...
ERROR
Notable
→
TS1471
Module 'X' cannot be imported using this construct. The specifier only resolv...
ERROR
Notable
→
TS1472
'catch' or 'finally' expected.
ERROR
Notable
→
TS1473
An import declaration can only be used at the top level of a module.
ERROR
Notable
→
TS1474
An export declaration can only be used at the top level of a module.
ERROR
Notable
→
TS1475
Control what method is used to detect module-format JS files.
ERROR
Notable
→
TS1476
"auto": Treat files with imports, exports, import.meta, jsx (with jsx: react-...
ERROR
Notable
→
TS1477
An instantiation expression cannot be followed by a property access.
ERROR
Notable
→
TS1478
Identifier or string literal expected.
ERROR
Notable
→
TS1479
The current file is a CommonJS module whose imports will produce 'require' ca...
ERROR
Notable
→
TS1480
To convert this file to an ECMAScript module, change its file extension to 'X...
ERROR
Notable
→
TS1481
To convert this file to an ECMAScript module, change its file extension to 'X...
ERROR
Notable
→
TS1482
To convert this file to an ECMAScript module, add the field `"type": "module"...
ERROR
Notable
→
TS1483
To convert this file to an ECMAScript module, create a local package.json fil...
ERROR
Notable
→
TS1484
'X' is a type and must be imported using a type-only import when 'verbatimMod...
ERROR
Notable
→
TS1485
'X' resolves to a type-only declaration and must be imported using a type-onl...
ERROR
Notable
→
TS1486
Decorator used before 'export' here.
ERROR
Notable
→
TS1487
Octal escape sequences are not allowed. Use the syntax 'X'.
ERROR
Notable
→
TS1488
Escape sequence 'X' is not allowed.
ERROR
Notable
→
TS1489
Decimals with leading zeros are not allowed.
ERROR
Notable
→
TS1490
File appears to be binary.
ERROR
Notable
→
TS1491
'X' modifier cannot appear on a 'using' declaration.
ERROR
Notable
→
TS1492
'X' declarations may not have binding patterns.
ERROR
Notable
→
TS1493
The left-hand side of a 'for...in' statement cannot be a 'using' declaration.
ERROR
Notable
→
TS1494
The left-hand side of a 'for...in' statement cannot be an 'await using' decla...
ERROR
Notable
→
TS1495
'X' modifier cannot appear on an 'await using' declaration.
ERROR
Notable
→
TS1496
Identifier, string literal, or number literal expected.
ERROR
Notable
→
TS1497
Expression must be enclosed in parentheses to be used as a decorator.
ERROR
Notable
→
TS1498
Invalid syntax in decorator.
ERROR
Notable
→
TS1499
Unknown regular expression flag.
ERROR
Notable
→
TS1500
Duplicate regular expression flag.
ERROR
Notable
→
TS1501
This regular expression flag is only available when targeting 'X' or later.
ERROR
Notable
→
TS1502
The Unicode (u) flag and the Unicode Sets (v) flag cannot be set simultaneously.
ERROR
Notable
→
TS1503
Named capturing groups are only available when targeting 'ES2018' or later.
ERROR
Notable
→
TS1504
Subpattern flags must be present when there is a minus sign.
ERROR
Notable
→
TS1505
Incomplete quantifier. Digit expected.
ERROR
Notable
→
TS1506
Numbers out of order in quantifier.
ERROR
Notable
→
TS1507
There is nothing available for repetition.
ERROR
Notable
→
TS1508
Unexpected 'X'. Did you mean to escape it with backslash?
ERROR
Notable
→
TS1509
This regular expression flag cannot be toggled within a subpattern.
ERROR
Notable
→
TS1510
'\k' must be followed by a capturing group name enclosed in angle brackets.
ERROR
Notable
→
TS1511
'\q' is only available inside character class.
ERROR
Notable
→
TS1512
'\c' must be followed by an ASCII letter.
ERROR
Notable
→
TS1513
Undetermined character escape.
ERROR
Notable
→
TS1514
Expected a capturing group name.
ERROR
Notable
→
TS1515
Named capturing groups with the same name must be mutually exclusive to each ...
ERROR
Notable
→
TS1516
A character class range must not be bounded by another character class.
ERROR
Notable
→
TS1517
Range out of order in character class.
ERROR
Notable
→
TS1518
Anything that would possibly match more than a single character is invalid in...
ERROR
Notable
→
TS1519
Operators must not be mixed within a character class. Wrap it in a nested cla...
ERROR
Notable
→
TS1520
Expected a class set operand.
ERROR
Notable
→
TS1521
'\q' must be followed by string alternatives enclosed in braces.
ERROR
Notable
→
TS1522
A character class must not contain a reserved double punctuator. Did you mean...
ERROR
Notable
→
TS1523
Expected a Unicode property name.
ERROR
Notable
→
TS1524
Unknown Unicode property name.
ERROR
Notable
→
TS1525
Expected a Unicode property value.
ERROR
Notable
→
TS1526
Unknown Unicode property value.
ERROR
Notable
→
TS1527
Expected a Unicode property name or value.
ERROR
Notable
→
TS1528
Any Unicode property that would possibly match more than a single character i...
ERROR
Notable
→
TS1529
Unknown Unicode property name or value.
ERROR
Notable
→
TS1530
Unicode property value expressions are only available when the Unicode (u) fl...
ERROR
Notable
→
TS1531
'\X' must be followed by a Unicode property value expression enclosed in braces.
ERROR
Notable
→
TS1532
There is no capturing group named 'X' in this regular expression.
ERROR
Notable
→
TS1533
This backreference refers to a group that does not exist. There are only X ca...
ERROR
Notable
→
TS1534
This backreference refers to a group that does not exist. There are no captur...
ERROR
Notable
→
TS1535
This character cannot be escaped in a regular expression.
ERROR
Notable
→
TS1536
Octal escape sequences and backreferences are not allowed in a character clas...
ERROR
Notable
→
TS1537
Decimal escape sequences and backreferences are not allowed in a character cl...
ERROR
Notable
→
TS1538
Unicode escape sequences are only available when the Unicode (u) flag or the ...
ERROR
Notable
→
TS1539
A 'bigint' literal cannot be used as a property name.
ERROR
Notable
→
TS1540
A 'namespace' declaration should not be declared using the 'module' keyword. ...
ERROR
Notable
→
TS1541
Type-only import of an ECMAScript module from a CommonJS module must have a '...
ERROR
Notable
→
TS1542
Type import of an ECMAScript module from a CommonJS module must have a 'resol...
ERROR
Notable
→
TS1543
Importing a JSON file into an ECMAScript module requires a 'type: "json"' imp...
ERROR
Notable
→
TS1544
Named imports from a JSON file into an ECMAScript module are not allowed when...
ERROR
Notable
→
TS1545
'using' declarations are not allowed in ambient contexts.
ERROR
Notable
→
TS1546
'await using' declarations are not allowed in ambient contexts.
ERROR
Notable
→
TS1547
'using' declarations are not allowed in 'case' or 'default' clauses unless co...
ERROR
Notable
→
TS1548
'await using' declarations are not allowed in 'case' or 'default' clauses unl...
ERROR
Notable
→
TS1549
Ignore the tsconfig found and build with commandline options and files.
ERROR
Notable
→
TS2200
The types of 'X' are incompatible between these types.
ERROR
Notable
→
TS2201
The types returned by 'X' are incompatible between these types.
ERROR
Notable
→
TS2202
Call signature return types 'X' and 'X' are incompatible.
ERROR
Notable
→
TS2203
Construct signature return types 'X' and 'X' are incompatible.
ERROR
Notable
→
TS2204
Call signatures with no arguments have incompatible return types 'X' and 'X'.
ERROR
Notable
→
TS2205
Construct signatures with no arguments have incompatible return types 'X' and...
ERROR
Notable
→
TS2206
The 'type' modifier cannot be used on a named import when 'import type' is us...
ERROR
Notable
→
TS2207
The 'type' modifier cannot be used on a named export when 'export type' is us...
ERROR
Notable
→
TS2208
This type parameter might need an `extends X` constraint.
ERROR
Notable
→
TS2209
The project root is ambiguous, but is required to resolve export map entry 'X...
ERROR
Notable
→
TS2210
The project root is ambiguous, but is required to resolve import map entry 'X...
ERROR
Notable
→
TS2211
Add `extends` constraint.
ERROR
Notable
→
TS2212
Add `extends` constraint to all type parameters
ERROR
Notable
→
TS2301
Initializer of instance member variable 'X' cannot reference identifier 'X' d...
ERROR
Notable
→
TS2302
Static members cannot reference class type parameters.
ERROR
Notable
→
TS2303
Circular definition of import alias 'X'.
ERROR
Notable
→
TS2306
File 'X' is not a module.
ERROR
Notable
→
TS2308
Module X has already exported a member named 'X'. Consider explicitly re-expo...
ERROR
Notable
→
TS2309
An export assignment cannot be used in a module with other exported elements.
ERROR
Notable
→
TS2310
Type 'X' recursively references itself as a base type.
ERROR
Notable
→
TS2311
Cannot find name 'X'. Did you mean to write this in an async function?
ERROR
Notable
→
TS2312
An interface can only extend an object type or intersection of object types w...
ERROR
Notable
→
TS2313
Type parameter 'X' has a circular constraint.
ERROR
Notable
→
TS2315
Type 'X' is not generic.
ERROR
Notable
→
TS2316
Global type 'X' must be a class or interface type.
ERROR
Notable
→
TS2317
Global type 'X' must have X type parameter(s).
ERROR
Notable
→
TS2318
Cannot find global type 'X'.
ERROR
Notable
→
TS2319
Named property 'X' of types 'X' and 'X' are not identical.
ERROR
Notable
→
TS2320
Interface 'X' cannot simultaneously extend types 'X' and 'X'.
ERROR
Notable
→
TS2321
Excessive stack depth comparing types 'X' and 'X'.
ERROR
Notable
→
TS2323
Cannot redeclare exported variable 'X'.
ERROR
Notable
→
TS2325
Property 'X' is private in type 'X' but not in type 'X'.
ERROR
Notable
→
TS2326
Types of property 'X' are incompatible.
ERROR
Notable
→
TS2327
Property 'X' is optional in type 'X' but required in type 'X'.
ERROR
Notable
→
TS2328
Types of parameters 'X' and 'X' are incompatible.
ERROR
Notable
→
TS2329
Index signature for type 'X' is missing in type 'X'.
ERROR
Notable
→
TS2330
'X' and 'X' index signatures are incompatible.
ERROR
Notable
→
TS2331
'this' cannot be referenced in a module or namespace body.
ERROR
Notable
→
TS2332
'this' cannot be referenced in current location.
ERROR
Notable
→
TS2334
'this' cannot be referenced in a static property initializer.
ERROR
Notable
→
TS2335
'super' can only be referenced in a derived class.
ERROR
Notable
→
TS2336
'super' cannot be referenced in constructor arguments.
ERROR
Notable
→
TS2337
Super calls are not permitted outside constructors or in nested functions ins...
ERROR
Notable
→
TS2338
'super' property access is permitted only in a constructor, member function, ...
ERROR
Notable
→
TS2340
Only public and protected methods of the base class are accessible via the 's...
ERROR
Notable
→
TS2343
This syntax requires an imported helper named 'X' which does not exist in 'X'...
ERROR
Notable
→
TS2344
Type 'X' does not satisfy the constraint 'X'.
ERROR
Notable
→
TS2346
Call target does not contain any signatures.
ERROR
Notable
→
TS2347
Untyped function calls may not accept type arguments.
ERROR
Notable
→
TS2348
Value of type 'X' is not callable. Did you mean to include 'new'?
ERROR
Notable
→
TS2349
This expression is not callable.
ERROR
Notable
→
TS2350
Only a void function can be called with the 'new' keyword.
ERROR
Notable
→
TS2351
This expression is not constructable.
ERROR
Notable
→
TS2352
Conversion of type 'X' to type 'X' may be a mistake because neither type suff...
ERROR
Notable
→
TS2353
Object literal may only specify known properties, and 'X' does not exist in t...
ERROR
Notable
→
TS2354
This syntax requires an imported helper but module 'X' cannot be found.
ERROR
Notable
→
TS2356
An arithmetic operand must be of type 'any', 'number', 'bigint' or an enum type.
ERROR
Notable
→
TS2357
The operand of an increment or decrement operator must be a variable or a pro...
ERROR
Notable
→
TS2358
The left-hand side of an 'instanceof' expression must be of type 'any', an ob...
ERROR
Notable
→
TS2359
The right-hand side of an 'instanceof' expression must be either of type 'any...
ERROR
Notable
→
TS2362
The left-hand side of an arithmetic operation must be of type 'any', 'number'...
ERROR
Notable
→
TS2363
The right-hand side of an arithmetic operation must be of type 'any', 'number...
ERROR
Notable
→
TS2364
The left-hand side of an assignment expression must be a variable or a proper...
ERROR
Notable
→
TS2365
Operator 'X' cannot be applied to types 'X' and 'X'.
ERROR
Notable
→
TS2368
Type parameter name cannot be 'X'.
ERROR
Notable
→
TS2369
A parameter property is only allowed in a constructor implementation.
ERROR
Notable
→
TS2370
A rest parameter must be of an array type.
ERROR
Notable
→
TS2371
A parameter initializer is only allowed in a function or constructor implemen...
ERROR
Notable
→
TS2372
Parameter 'X' cannot reference itself.
ERROR
Notable
→
TS2373
Parameter 'X' cannot reference identifier 'X' declared after it.
ERROR
Notable
→
TS2374
Duplicate index signature for type 'X'.
ERROR
Notable
→
TS2375
Type 'X' is not assignable to type 'X' with 'exactOptionalPropertyTypes: true...
ERROR
Notable
→
TS2376
A 'super' call must be the first statement in the constructor to refer to 'su...
ERROR
Notable
→
TS2378
A 'get' accessor must return a value.
ERROR
Notable
→
TS2379
Argument of type 'X' is not assignable to parameter of type 'X' with 'exactOp...
ERROR
Notable
→
TS2383
Overload signatures must all be exported or non-exported.
ERROR
Notable
→
TS2384
Overload signatures must all be ambient or non-ambient.
ERROR
Notable
→
TS2385
Overload signatures must all be public, private or protected.
ERROR
Notable
→
TS2386
Overload signatures must all be optional or required.
ERROR
Notable
→
TS2387
Function overload must be static.
ERROR
Notable
→
TS2388
Function overload must not be static.
ERROR
Notable
→
TS2389
Function implementation name must be 'X'.
ERROR
Notable
→
TS2390
Constructor implementation is missing.
ERROR
Notable
→
TS2391
Function implementation is missing or not immediately following the declaration.
ERROR
Notable
→
TS2392
Multiple constructor implementations are not allowed.
ERROR
Notable
→
TS2393
Duplicate function implementation.
ERROR
Notable
→
TS2394
This overload signature is not compatible with its implementation signature.
ERROR
Notable
→
TS2395
Individual declarations in merged declaration 'X' must be all exported or all...
ERROR
Notable
→
TS2396
Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize res...
ERROR
Notable
→
TS2397
Declaration name conflicts with built-in global identifier 'X'.
ERROR
Notable
→
TS2398
'constructor' cannot be used as a parameter property name.
ERROR
Notable
→
TS2399
Duplicate identifier '_this'. Compiler uses variable declaration '_this' to c...
ERROR
Notable
→
TS2400
Expression resolves to variable declaration '_this' that compiler uses to cap...
ERROR
Notable
→
TS2401
A 'super' call must be a root-level statement within a constructor of a deriv...
ERROR
Notable
→
TS2402
Expression resolves to '_super' that compiler uses to capture base class refe...
ERROR
Notable
→
TS2403
Subsequent variable declarations must have the same type. Variable 'X' must ...
ERROR
Notable
→
TS2404
The left-hand side of a 'for...in' statement cannot use a type annotation.
ERROR
Notable
→
TS2405
The left-hand side of a 'for...in' statement must be of type 'string' or 'any'.
ERROR
Notable
→
TS2406
The left-hand side of a 'for...in' statement must be a variable or a property...
ERROR
Notable
→
TS2407
The right-hand side of a 'for...in' statement must be of type 'any', an objec...
ERROR
Notable
→
TS2408
Setters cannot return a value.
ERROR
Notable
→
TS2409
Return type of constructor signature must be assignable to the instance type ...
ERROR
Notable
→
TS2410
The 'with' statement is not supported. All symbols in a 'with' block will hav...
ERROR
Notable
→
TS2412
Type 'X' is not assignable to type 'X' with 'exactOptionalPropertyTypes: true...
ERROR
Notable
→
TS2411
Property 'X' of type 'X' is not assignable to 'X' index type 'X'.
ERROR
Notable
→
TS2413
'X' index type 'X' is not assignable to 'X' index type 'X'.
ERROR
Notable
→
TS2414
Class name cannot be 'X'.
ERROR
Notable
→
TS2416
Property 'X' in type 'X' is not assignable to the same property in base type ...
ERROR
Notable
→
TS2417
Class static side 'X' incorrectly extends base class static side 'X'.
ERROR
Notable
→
TS2418
Type of computed property's value is 'X', which is not assignable to type 'X'.
ERROR
Notable
→
TS2419
Types of construct signatures are incompatible.
ERROR
Notable
→
TS2422
A class can only implement an object type or intersection of object types wit...
ERROR
Notable
→
TS2423
Class 'X' defines instance member function 'X', but extended class 'X' define...
ERROR
Notable
→
TS2425
Class 'X' defines instance member property 'X', but extended class 'X' define...
ERROR
Notable
→
TS2426
Class 'X' defines instance member accessor 'X', but extended class 'X' define...
ERROR
Notable
→
TS2427
Interface name cannot be 'X'.
ERROR
Notable
→
TS2428
All declarations of 'X' must have identical type parameters.
ERROR
Notable
→
TS2430
Interface 'X' incorrectly extends interface 'X'.
ERROR
Notable
→
TS2431
Enum name cannot be 'X'.
ERROR
Notable
→
TS2432
In an enum with multiple declarations, only one declaration can omit an initi...
ERROR
Notable
→
TS2433
A namespace declaration cannot be in a different file from a class or functio...
ERROR
Notable
→
TS2434
A namespace declaration cannot be located prior to a class or function with w...
ERROR
Notable
→
TS2435
Ambient modules cannot be nested in other modules or namespaces.
ERROR
Notable
→
TS2436
Ambient module declaration cannot specify relative module name.
ERROR
Notable
→
TS2437
Module 'X' is hidden by a local declaration with the same name.
ERROR
Notable
→
TS2438
Import name cannot be 'X'.
ERROR
Notable
→
TS2439
Import or export declaration in an ambient module declaration cannot referenc...
ERROR
Notable
→
TS2440
Import declaration conflicts with local declaration of 'X'.
ERROR
Notable
→
TS2441
Duplicate identifier 'X'. Compiler reserves name 'X' in top level scope of a ...
ERROR
Notable
→
TS2442
Types have separate declarations of a private property 'X'.
ERROR
Notable
→
TS2443
Property 'X' is protected but type 'X' is not a class derived from 'X'.
ERROR
Notable
→
TS2444
Property 'X' is protected in type 'X' but public in type 'X'.
ERROR
Notable
→
TS2445
Property 'X' is protected and only accessible within class 'X' and its subcla...
ERROR
Notable
→
TS2446
Property 'X' is protected and only accessible through an instance of class 'X...
ERROR
Notable
→
TS2447
The 'X' operator is not allowed for boolean types. Consider using 'X' instead.
ERROR
Notable
→
TS2449
Class 'X' used before its declaration.
ERROR
Notable
→
TS2450
Enum 'X' used before its declaration.
ERROR
Notable
→
TS2452
An enum member cannot have a numeric name.
ERROR
Notable
→
TS2456
Type alias 'X' circularly references itself.
ERROR
Notable
→
TS2457
Type alias name cannot be 'X'.
ERROR
Notable
→
TS2458
An AMD module cannot have multiple name assignments.
ERROR
Notable
→
TS2459
Module 'X' declares 'X' locally, but it is not exported.
ERROR
Notable
→
TS2460
Module 'X' declares 'X' locally, but it is exported as 'X'.
ERROR
Notable
→
TS2461
Type 'X' is not an array type.
ERROR
Notable
→
TS2462
A rest element must be last in a destructuring pattern.
ERROR
Notable
→
TS2463
A binding pattern parameter cannot be optional in an implementation signature.
ERROR
Notable
→
TS2464
A computed property name must be of type 'string', 'number', 'symbol', or 'any'.
ERROR
Notable
→
TS2465
'this' cannot be referenced in a computed property name.
ERROR
Notable
→
TS2466
'super' cannot be referenced in a computed property name.
ERROR
Notable
→
TS2467
A computed property name cannot reference a type parameter from its containin...
ERROR
Notable
→
TS2468
Cannot find global value 'X'.
ERROR
Notable
→
TS2469
The 'X' operator cannot be applied to type 'symbol'.
ERROR
Notable
→
TS2472
Spread operator in 'new' expressions is only available when targeting ECMAScr...
ERROR
Notable
→
TS2473
Enum declarations must all be const or non-const.
ERROR
Notable
→
TS2474
const enum member initializers must be constant expressions.
ERROR
Notable
→
TS2475
'const' enums can only be used in property or index access expressions or the...
ERROR
Notable
→
TS2476
A const enum member can only be accessed using a string literal.
ERROR
Notable
→
TS2477
'const' enum member initializer was evaluated to a non-finite value.
ERROR
Notable
→
TS2478
'const' enum member initializer was evaluated to disallowed value 'NaN'.
ERROR
Notable
→
TS2480
'let' is not allowed to be used as a name in 'let' or 'const' declarations.
ERROR
Notable
→
TS2481
Cannot initialize outer scoped variable 'X' in the same scope as block scoped...
ERROR
Notable
→
TS2483
The left-hand side of a 'for...of' statement cannot use a type annotation.
ERROR
Notable
→
TS2484
Export declaration conflicts with exported declaration of 'X'.
ERROR
Notable
→
TS2487
The left-hand side of a 'for...of' statement must be a variable or a property...
ERROR
Notable
→
TS2488
Type 'X' must have a '[Symbol.iterator]()' method that returns an iterator.
ERROR
Notable
→
TS2489
An iterator must have a 'next()' method.
ERROR
Notable
→
TS2490
The type returned by the 'X()' method of an iterator must have a 'value' prop...
ERROR
Notable
→
TS2491
The left-hand side of a 'for...in' statement cannot be a destructuring pattern.
ERROR
Notable
→
TS2492
Cannot redeclare identifier 'X' in catch clause.
ERROR
Notable
→
TS2493
Tuple type 'X' of length 'X' has no element at index 'X'.
ERROR
Notable
→
TS2494
Using a string in a 'for...of' statement is only supported in ECMAScript 5 an...
ERROR
Notable
→
TS2495
Type 'X' is not an array type or a string type.
ERROR
Notable
→
TS2496
The 'arguments' object cannot be referenced in an arrow function in ES5. Cons...
ERROR
Notable
→
TS2497
This module can only be referenced with ECMAScript imports/exports by turning...
ERROR
Notable
→
TS2498
Module 'X' uses 'export =' and cannot be used with 'export *'.
ERROR
Notable
→
TS2499
An interface can only extend an identifier/qualified-name with optional type ...
ERROR
Notable
→
TS2500
A class can only implement an identifier/qualified-name with optional type ar...
ERROR
Notable
→
TS2501
A rest element cannot contain a binding pattern.
ERROR
Notable
→
TS2502
'X' is referenced directly or indirectly in its own type annotation.
ERROR
Notable
→
TS2503
Cannot find namespace 'X'.
ERROR
Notable
→
TS2504
Type 'X' must have a '[Symbol.asyncIterator]()' method that returns an async ...
ERROR
Notable
→
TS2505
A generator cannot have a 'void' type annotation.
ERROR
Notable
→
TS2506
'X' is referenced directly or indirectly in its own base expression.
ERROR
Notable
→
TS2507
Type 'X' is not a constructor function type.
ERROR
Notable
→
TS2508
No base constructor has the specified number of type arguments.
ERROR
Notable
→
TS2509
Base constructor return type 'X' is not an object type or intersection of obj...
ERROR
Notable
→
TS2510
Base constructors must all have the same return type.
ERROR
Notable
→
TS2512
Overload signatures must all be abstract or non-abstract.
ERROR
Notable
→
TS2513
Abstract method 'X' in class 'X' cannot be accessed via super expression.
ERROR
Notable
→
TS2514
A tuple type cannot be indexed with a negative value.
ERROR
Notable
→
TS2515
Non-abstract class 'X' does not implement inherited abstract member X from cl...
ERROR
Notable
→
TS2516
All declarations of an abstract method must be consecutive.
ERROR
Notable
→
TS2517
Cannot assign an abstract constructor type to a non-abstract constructor type.
ERROR
Notable
→
TS2518
A 'this'-based type guard is not compatible with a parameter-based type guard.
ERROR
Notable
→
TS2519
An async iterator must have a 'next()' method.
ERROR
Notable
→
TS2520
Duplicate identifier 'X'. Compiler uses declaration 'X' to support async func...
ERROR
Notable
→
TS2522
The 'arguments' object cannot be referenced in an async function or method in...
ERROR
Notable
→
TS2523
'yield' expressions cannot be used in a parameter initializer.
ERROR
Notable
→
TS2524
'await' expressions cannot be used in a parameter initializer.
ERROR
Notable
→
TS2526
A 'this' type is available only in a non-static member of a class or interface.
ERROR
Notable
→
TS2527
The inferred type of 'X' references an inaccessible 'X' type. A type annotati...
ERROR
Notable
→
TS2528
A module cannot have multiple default exports.
ERROR
Notable
→
TS2529
Duplicate identifier 'X'. Compiler reserves name 'X' in top level scope of a ...
ERROR
Notable
→
TS2530
Property 'X' is incompatible with index signature.
ERROR
Notable
→
TS2533
Object is possibly 'null' or 'undefined'.
ERROR
Notable
→
TS2534
A function returning 'never' cannot have a reachable end point.
ERROR
Notable
→
TS2536
Type 'X' cannot be used to index type 'X'.
ERROR
Notable
→
TS2537
Type 'X' has no matching index signature for type 'X'.
ERROR
Notable
→
TS2538
Type 'X' cannot be used as an index type.
ERROR
Notable
→
TS2539
Cannot assign to 'X' because it is not a variable.
ERROR
Notable
→
TS2542
Index signature in type 'X' only permits reading.
ERROR
Notable
→
TS2543
Duplicate identifier '_newTarget'. Compiler uses variable declaration '_newTa...
ERROR
Notable
→
TS2544
Expression resolves to variable declaration '_newTarget' that compiler uses t...
ERROR
Notable
→
TS2545
A mixin class must have a constructor with a single rest parameter of type 'a...
ERROR
Notable
→
TS2547
The type returned by the 'X()' method of an async iterator must be a promise ...
ERROR
Notable
→
TS2548
Type 'X' is not an array type or does not have a '[Symbol.iterator]()' method...
ERROR
Notable
→
TS2549
Type 'X' is not an array type or a string type or does not have a '[Symbol.it...
ERROR
Notable
→
TS2550
Property 'X' does not exist on type 'X'. Do you need to change your target li...
ERROR
Notable
→
TS2551
Property 'X' does not exist on type 'X'. Did you mean 'X'?
ERROR
Notable
→
TS2552
Cannot find name 'X'. Did you mean 'X'?
ERROR
Notable
→
TS2553
Computed values are not permitted in an enum with string valued members.
ERROR
Notable
→
TS2554
Expected X arguments, but got X.
ERROR
Notable
→
TS2555
Expected at least X arguments, but got X.
ERROR
Notable
→
TS2556
A spread argument must either have a tuple type or be passed to a rest parame...
ERROR
Notable
→
TS2558
Expected X type arguments, but got X.
ERROR
Notable
→
TS2559
Type 'X' has no properties in common with type 'X'.
ERROR
Notable
→
TS2560
Value of type 'X' has no properties in common with type 'X'. Did you mean to ...
ERROR
Notable
→
TS2561
Object literal may only specify known properties, but 'X' does not exist in t...
ERROR
Notable
→
TS2562
Base class expressions cannot reference class type parameters.
ERROR
Notable
→
TS2563
The containing function or module body is too large for control flow analysis.
ERROR
Notable
→
TS2564
Property 'X' has no initializer and is not definitely assigned in the constru...
ERROR
Notable
→
TS2565
Property 'X' is used before being assigned.
ERROR
Notable
→
TS2566
A rest element cannot have a property name.
ERROR
Notable
→
TS2567
Enum declarations can only merge with namespace or other enum declarations.
ERROR
Notable
→
TS2568
Property 'X' may not exist on type 'X'. Did you mean 'X'?
ERROR
Notable
→
TS2570
Could not find name 'X'. Did you mean 'X'?
ERROR
Notable
→
TS2571
Object is of type 'unknown'.
ERROR
Notable
→
TS2574
A rest element type must be an array type.
ERROR
Notable
→
TS2575
No overload expects X arguments, but overloads do exist that expect either X ...
ERROR
Notable
→
TS2576
Property 'X' does not exist on type 'X'. Did you mean to access the static me...
ERROR
Notable
→
TS2577
Return type annotation circularly references itself.
ERROR
Notable
→
TS2578
Unused '@ts-expect-error' directive.
ERROR
Notable
→
TS2580
Cannot find name 'X'. Do you need to install type definitions for node? Try `...
ERROR
Notable
→
TS2581
Cannot find name 'X'. Do you need to install type definitions for jQuery? Try...
ERROR
Notable
→
TS2582
Cannot find name 'X'. Do you need to install type definitions for a test runn...
ERROR
Notable
→
TS2583
Cannot find name 'X'. Do you need to change your target library? Try changing...
ERROR
Notable
→
TS2584
Cannot find name 'X'. Do you need to change your target library? Try changing...
ERROR
Notable
→
TS2585
'X' only refers to a type, but is being used as a value here. Do you need to ...
ERROR
Notable
→
TS2588
Cannot assign to 'X' because it is a constant.
ERROR
Notable
→
TS2589
Type instantiation is excessively deep and possibly infinite.
ERROR
Notable
→
TS2590
Expression produces a union type that is too complex to represent.
ERROR
Notable
→
TS2591
Cannot find name 'X'. Do you need to install type definitions for node? Try `...
ERROR
Notable
→
TS2592
Cannot find name 'X'. Do you need to install type definitions for jQuery? Try...
ERROR
Notable
→
TS2593
Cannot find name 'X'. Do you need to install type definitions for a test runn...
ERROR
Notable
→
TS2594
This module is declared with 'export =', and can only be used with a default ...
ERROR
Notable
→
TS2595
'X' can only be imported by using a default import.
ERROR
Notable
→
TS2596
'X' can only be imported by turning on the 'esModuleInterop' flag and using a...
ERROR
Notable
→
TS2597
'X' can only be imported by using a 'require' call or by using a default import.
ERROR
Notable
→
TS2598
'X' can only be imported by using a 'require' call or by turning on the 'esMo...
ERROR
Notable
→
TS2602
JSX element implicitly has type 'any' because the global type 'JSX.Element' d...
ERROR
Notable
→
TS2603
Property 'X' in type 'X' is not assignable to type 'X'.
ERROR
Notable
→
TS2604
JSX element type 'X' does not have any construct or call signatures.
ERROR
Notable
→
TS2606
Property 'X' of JSX spread attribute is not assignable to target property.
ERROR
Notable
→
TS2607
JSX element class does not support attributes because it does not have a 'X' ...
ERROR
Notable
→
TS2608
The global type 'JSX.X' may not have more than one property.
ERROR
Notable
→
TS2609
JSX spread child must be an array type.
ERROR
Notable
→
TS2610
'X' is defined as an accessor in class 'X', but is overridden here in 'X' as ...
ERROR
Notable
→
TS2611
'X' is defined as a property in class 'X', but is overridden here in 'X' as a...
ERROR
Notable
→
TS2612
Property 'X' will overwrite the base property in 'X'. If this is intentional,...
ERROR
Notable
→
TS2613
Module 'X' has no default export. Did you mean to use 'import X } from X' ins...
ERROR
Notable
→
TS2614
Module 'X' has no exported member 'X'. Did you mean to use 'import X from X' ...
ERROR
Notable
→
TS2615
Type of property 'X' circularly references itself in mapped type 'X'.
ERROR
Notable
→
TS2616
'X' can only be imported by using 'import X = require(X)' or a default import.
ERROR
Notable
→
TS2617
'X' can only be imported by using 'import X = require(X)' or by turning on th...
ERROR
Notable
→
TS2618
Source has X element(s) but target requires X.
ERROR
Notable
→
TS2619
Source has X element(s) but target allows only X.
ERROR
Notable
→
TS2620
Target requires X element(s) but source may have fewer.
ERROR
Notable
→
TS2621
Target allows only X element(s) but source may have more.
ERROR
Notable
→
TS2623
Source provides no match for required element at position X in target.
ERROR
Notable
→
TS2624
Source provides no match for variadic element at position X in target.
ERROR
Notable
→
TS2625
Variadic element at position X in source does not match element at position X...
ERROR
Notable
→
TS2626
Type at position X in source is not compatible with type at position X in tar...
ERROR
Notable
→
TS2627
Type at positions X through X in source is not compatible with type at positi...
ERROR
Notable
→
TS2628
Cannot assign to 'X' because it is an enum.
ERROR
Notable
→
TS2629
Cannot assign to 'X' because it is a class.
ERROR
Notable
→
TS2630
Cannot assign to 'X' because it is a function.
ERROR
Notable
→
TS2631
Cannot assign to 'X' because it is a namespace.
ERROR
Notable
→
TS2632
Cannot assign to 'X' because it is an import.
ERROR
Notable
→
TS2633
JSX property access expressions cannot include JSX namespace names
ERROR
Notable
→
TS2634
'X' index signatures are incompatible.
ERROR
Notable
→
TS2635
Type 'X' has no signatures for which the type argument list is applicable.
ERROR
Notable
→
TS2636
Type 'X' is not assignable to type 'X' as implied by variance annotation.
ERROR
Notable
→
TS2637
Variance annotations are only supported in type aliases for object, function,...
ERROR
Notable
→
TS2638
Type 'X' may represent a primitive value, which is not permitted as the right...
ERROR
Notable
→
TS2639
React components cannot include JSX namespace names
ERROR
Notable
→
TS2649
Cannot augment module 'X' with value exports because it resolves to a non-mod...
ERROR
Notable
→
TS2650
Non-abstract class expression is missing implementations for the following me...
ERROR
Notable
→
TS2651
A member initializer in a enum declaration cannot reference members declared ...
ERROR
Notable
→
TS2652
Merged declaration 'X' cannot include a default export declaration. Consider ...
ERROR
Notable
→
TS2653
Non-abstract class expression does not implement inherited abstract member 'X...
ERROR
Notable
→
TS2654
Non-abstract class 'X' is missing implementations for the following members o...
ERROR
Notable
→
TS2655
Non-abstract class 'X' is missing implementations for the following members o...
ERROR
Notable
→
TS2656
Non-abstract class expression is missing implementations for the following me...
ERROR
Notable
→
TS2657
JSX expressions must have one parent element.
ERROR
Notable
→
TS2658
Type 'X' provides no match for the signature 'X'.
ERROR
Notable
→
TS2659
'super' is only allowed in members of object literal expressions when option ...
ERROR
Notable
→
TS2660
'super' can only be referenced in members of derived classes or object litera...
ERROR
Notable
→
TS2661
Cannot export 'X'. Only local declarations can be exported from a module.
ERROR
Notable
→
TS2662
Cannot find name 'X'. Did you mean the static member 'X.X'?
ERROR
Notable
→
TS2663
Cannot find name 'X'. Did you mean the instance member 'this.X'?
ERROR
Notable
→
TS2664
Invalid module name in augmentation, module 'X' cannot be found.
ERROR
Notable
→
TS2665
Invalid module name in augmentation. Module 'X' resolves to an untyped module...
ERROR
Notable
→
TS2666
Exports and export assignments are not permitted in module augmentations.
ERROR
Notable
→
TS2667
Imports are not permitted in module augmentations. Consider moving them to th...
ERROR
Notable
→
TS2668
'export' modifier cannot be applied to ambient modules and module augmentatio...
ERROR
Notable
→
TS2669
Augmentations for the global scope can only be directly nested in external mo...
ERROR
Notable
→
TS2670
Augmentations for the global scope should have 'declare' modifier unless they...
ERROR
Notable
→
TS2671
Cannot augment module 'X' because it resolves to a non-module entity.
ERROR
Notable
→
TS2672
Cannot assign a 'X' constructor type to a 'X' constructor type.
ERROR
Notable
→
TS2673
Constructor of class 'X' is private and only accessible within the class decl...
ERROR
Notable
→
TS2674
Constructor of class 'X' is protected and only accessible within the class de...
ERROR
Notable
→
TS2675
Cannot extend a class 'X'. Class constructor is marked as private.
ERROR
Notable
→
TS2676
Accessors must both be abstract or non-abstract.
ERROR
Notable
→
TS2677
A type predicate's type must be assignable to its parameter's type.
ERROR
Notable
→
TS2678
Type 'X' is not comparable to type 'X'.
ERROR
Notable
→
TS2679
A function that is called with the 'new' keyword cannot have a 'this' type th...
ERROR
Notable
→
TS2680
A 'X' parameter must be the first parameter.
ERROR
Notable
→
TS2681
A constructor cannot have a 'this' parameter.
ERROR
Notable
→
TS2683
'this' implicitly has type 'any' because it does not have a type annotation.
ERROR
Notable
→
TS2684
The 'this' context of type 'X' is not assignable to method's 'this' of type 'X'.
ERROR
Notable
→
TS2685
The 'this' types of each signature are incompatible.
ERROR
Notable
→
TS2686
'X' refers to a UMD global, but the current file is a module. Consider adding...
ERROR
Notable
→
TS2687
All declarations of 'X' must have identical modifiers.
ERROR
Notable
→
TS2688
Cannot find type definition file for 'X'.
ERROR
Notable
→
TS2689
Cannot extend an interface 'X'. Did you mean 'implements'?
ERROR
Notable
→
TS2690
'X' only refers to a type, but is being used as a value here. Did you mean to...
ERROR
Notable
→
TS2692
'X' is a primitive, but 'X' is a wrapper object. Prefer using 'X' when possible.
ERROR
Notable
→
TS2693
'X' only refers to a type, but is being used as a value here.
ERROR
Notable
→
TS2694
Namespace 'X' has no exported member 'X'.
ERROR
Notable
→
TS2695
Left side of comma operator is unused and has no side effects.
ERROR
Notable
→
TS2696
The 'Object' type is assignable to very few other types. Did you mean to use ...
ERROR
Notable
→
TS2697
An async function or method must return a 'Promise'. Make sure you have a dec...
ERROR
Notable
→
TS2698
Spread types may only be created from object types.
ERROR
Notable
→
TS2699
Static property 'X' conflicts with built-in property 'Function.X' of construc...
ERROR
Notable
→
TS2700
Rest types may only be created from object types.
ERROR
Notable
→
TS2701
The target of an object rest assignment must be a variable or a property access.
ERROR
Notable
→
TS2702
'X' only refers to a type, but is being used as a namespace here.
ERROR
Notable
→
TS2703
The operand of a 'delete' operator must be a property reference.
ERROR
Notable
→
TS2704
The operand of a 'delete' operator cannot be a read-only property.
ERROR
Notable
→
TS2705
An async function or method in ES5 requires the 'Promise' constructor. Make ...
ERROR
Notable
→
TS2706
Required type parameters may not follow optional type parameters.
ERROR
Notable
→
TS2707
Generic type 'X' requires between X and X type arguments.
ERROR
Notable
→
TS2708
Cannot use namespace 'X' as a value.
ERROR
Notable
→
TS2709
Cannot use namespace 'X' as a type.
ERROR
Notable
→
TS2710
'X' are specified twice. The attribute named 'X' will be overwritten.
ERROR
Notable
→
TS2711
A dynamic import call returns a 'Promise'. Make sure you have a declaration f...
ERROR
Notable
→
TS2712
A dynamic import call in ES5 requires the 'Promise' constructor. Make sure y...
ERROR
Notable
→
TS2713
Cannot access 'X.X' because 'X' is a type, but not a namespace. Did you mean ...
ERROR
Notable
→
TS2714
The expression of an export assignment must be an identifier or qualified nam...
ERROR
Notable
→
TS2715
Abstract property 'X' in class 'X' cannot be accessed in the constructor.
ERROR
Notable
→
TS2716
Type parameter 'X' has a circular default.
ERROR
Notable
→
TS2717
Subsequent property declarations must have the same type. Property 'X' must ...
ERROR
Notable
→
TS2718
Duplicate property 'X'.
ERROR
Notable
→
TS2719
Type 'X' is not assignable to type 'X'. Two different types with this name ex...
ERROR
Notable
→
TS2720
Class 'X' incorrectly implements class 'X'. Did you mean to extend 'X' and in...
ERROR
Notable
→
TS2721
Cannot invoke an object which is possibly 'null'.
ERROR
Notable
→
TS2722
Cannot invoke an object which is possibly 'undefined'.
ERROR
Notable
→
TS2723
Cannot invoke an object which is possibly 'null' or 'undefined'.
ERROR
Notable
→
TS2724
'X' has no exported member named 'X'. Did you mean 'X'?
ERROR
Notable
→
TS2725
Class name cannot be 'Object' when targeting ES5 and above with module X.
ERROR
Notable
→
TS2726
Cannot find lib definition for 'X'.
ERROR
Notable
→
TS2727
Cannot find lib definition for 'X'. Did you mean 'X'?
ERROR
Notable
→
TS2728
'X' is declared here.
ERROR
Notable
→
TS2729
Property 'X' is used before its initialization.
ERROR
Notable
→
TS2730
An arrow function cannot have a 'this' parameter.
ERROR
Notable
→
TS2731
Implicit conversion of a 'symbol' to a 'string' will fail at runtime. Conside...
ERROR
Notable
→
TS2732
Cannot find module 'X'. Consider using '--resolveJsonModule' to import module...
ERROR
Notable
→
TS2733
Property 'X' was also declared here.
ERROR
Notable
→
TS2734
Are you missing a semicolon?
ERROR
Notable
→
TS2735
Did you mean for 'X' to be constrained to type 'new (...args: any[]) => X'?
ERROR
Notable
→
TS2736
Operator 'X' cannot be applied to type 'X'.
ERROR
Notable
→
TS2737
BigInt literals are not available when targeting lower than ES2020.
ERROR
Notable
→
TS2738
An outer value of 'this' is shadowed by this container.
ERROR
Notable
→
TS2739
Type 'X' is missing the following properties from type 'X': X
ERROR
Notable
→
TS2740
Type 'X' is missing the following properties from type 'X': X, and X more.
ERROR
Notable
→
TS2741
Property 'X' is missing in type 'X' but required in type 'X'.
ERROR
Notable
→
TS2742
The inferred type of 'X' cannot be named without a reference to 'X'. This is ...
ERROR
Notable
→
TS2743
No overload expects X type arguments, but overloads do exist that expect eith...
ERROR
Notable
→
TS2744
Type parameter defaults can only reference previously declared type parameters.
ERROR
Notable
→
TS2745
This JSX tag's 'X' prop expects type 'X' which requires multiple children, bu...
ERROR
Notable
→
TS2746
This JSX tag's 'X' prop expects a single child of type 'X', but multiple chil...
ERROR
Notable
→
TS2747
'X' components don't accept text as child elements. Text in JSX has the type ...
ERROR
Notable
→
TS2748
Cannot access ambient const enums when 'X' is enabled.
ERROR
Notable
→
TS2749
'X' refers to a value, but is being used as a type here. Did you mean 'typeof...
ERROR
Notable
→
TS2750
The implementation signature is declared here.
ERROR
Notable
→
TS2751
Circularity originates in type at this location.
ERROR
Notable
→
TS2752
The first export default is here.
ERROR
Notable
→
TS2753
Another export default is here.
ERROR
Notable
→
TS2754
'super' may not use type arguments.
ERROR
Notable
→
TS2755
No constituent of type 'X' is callable.
ERROR
Notable
→
TS2756
Not all constituents of type 'X' are callable.
ERROR
Notable
→
TS2757
Type 'X' has no call signatures.
ERROR
Notable
→
TS2758
Each member of the union type 'X' has signatures, but none of those signature...
ERROR
Notable
→
TS2759
No constituent of type 'X' is constructable.
ERROR
Notable
→
TS2760
Not all constituents of type 'X' are constructable.
ERROR
Notable
→
TS2761
Type 'X' has no construct signatures.
ERROR
Notable
→
TS2762
Each member of the union type 'X' has construct signatures, but none of those...
ERROR
Notable
→
TS2763
Cannot iterate value because the 'next' method of its iterator expects type '...
ERROR
Notable
→
TS2764
Cannot iterate value because the 'next' method of its iterator expects type '...
ERROR
Notable
→
TS2765
Cannot iterate value because the 'next' method of its iterator expects type '...
ERROR
Notable
→
TS2766
Cannot delegate iteration to value because the 'next' method of its iterator ...
ERROR
Notable
→
TS2767
The 'X' property of an iterator must be a method.
ERROR
Notable
→
TS2768
The 'X' property of an async iterator must be a method.
ERROR
Notable
→
TS2769
No overload matches this call.
ERROR
Notable
→
TS2770
The last overload gave the following error.
ERROR
Notable
→
TS2771
The last overload is declared here.
ERROR
Notable
→
TS2772
Overload X of X, 'X', gave the following error.
ERROR
Notable
→
TS2773
Did you forget to use 'await'?
ERROR
Notable
→
TS2774
This condition will always return true since this function is always defined....
ERROR
Notable
→
TS2775
Assertions require every name in the call target to be declared with an expli...
ERROR
Notable
→
TS2776
Assertions require the call target to be an identifier or qualified name.
ERROR
Notable
→
TS2777
The operand of an increment or decrement operator may not be an optional prop...
ERROR
Notable
→
TS2778
The target of an object rest assignment may not be an optional property access.
ERROR
Notable
→
TS2779
The left-hand side of an assignment expression may not be an optional propert...
ERROR
Notable
→
TS2780
The left-hand side of a 'for...in' statement may not be an optional property ...
ERROR
Notable
→
TS2781
The left-hand side of a 'for...of' statement may not be an optional property ...
ERROR
Notable
→
TS2782
'X' needs an explicit type annotation.
ERROR
Notable
→
TS2783
'X' is specified more than once, so this usage will be overwritten.
ERROR
Notable
→
TS2784
'get' and 'set' accessors cannot declare 'this' parameters.
ERROR
Notable
→
TS2785
This spread always overwrites this property.
ERROR
Notable
→
TS2786
'X' cannot be used as a JSX component.
ERROR
Notable
→
TS2787
Its return type 'X' is not a valid JSX element.
ERROR
Notable
→
TS2788
Its instance type 'X' is not a valid JSX element.
ERROR
Notable
→
TS2789
Its element type 'X' is not a valid JSX element.
ERROR
Notable
→
TS2790
The operand of a 'delete' operator must be optional.
ERROR
Notable
→
TS2791
Exponentiation cannot be performed on 'bigint' values unless the 'target' opt...
ERROR
Notable
→
TS2792
Cannot find module 'X'. Did you mean to set the 'moduleResolution' option to ...
ERROR
Notable
→
TS2793
The call would have succeeded against this implementation, but implementation...
ERROR
Notable
→
TS2794
Expected X arguments, but got X. Did you forget to include 'void' in your typ...
ERROR
Notable
→
TS2795
The 'intrinsic' keyword can only be used to declare compiler provided intrins...
ERROR
Notable
→
TS2796
It is likely that you are missing a comma to separate these two template expr...
ERROR
Notable
→
TS2797
A mixin class that extends from a type variable containing an abstract constr...
ERROR
Notable
→
TS2798
The declaration was marked as deprecated here.
ERROR
Notable
→
TS2799
Type produces a tuple type that is too large to represent.
ERROR
Notable
→
TS2800
Expression produces a tuple type that is too large to represent.
ERROR
Notable
→
TS2801
This condition will always return true since this 'X' is always defined.
ERROR
Notable
→
TS2802
Type 'X' can only be iterated through when using the '--downlevelIteration' f...
ERROR
Notable
→
TS2803
Cannot assign to private method 'X'. Private methods are not writable.
ERROR
Notable
→
TS2804
Duplicate identifier 'X'. Static and instance elements cannot share the same ...
ERROR
Notable
→
TS2806
Private accessor was defined without a getter.
ERROR
Notable
→
TS2807
This syntax requires an imported helper named 'X' with X parameters, which is...
ERROR
Notable
→
TS2808
A get accessor must be at least as accessible as the setter
ERROR
Notable
→
TS2809
Declaration or statement expected. This '=' follows a block of statements, so...
ERROR
Notable
→
TS2810
Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce...
ERROR
Notable
→
TS2811
Initializer for property 'X'
ERROR
Notable
→
TS2812
Property 'X' does not exist on type 'X'. Try changing the 'lib' compiler opti...
ERROR
Notable
→
TS2813
Class declaration cannot implement overload list for 'X'.
ERROR
Notable
→
TS2814
Function with bodies can only merge with classes that are ambient.
ERROR
Notable
→
TS2815
'arguments' cannot be referenced in property initializers or class static ini...
ERROR
Notable
→
TS2816
Cannot use 'this' in a static property initializer of a decorated class.
ERROR
Notable
→
TS2817
Property 'X' has no initializer and is not definitely assigned in a class sta...
ERROR
Notable
→
TS2818
Duplicate identifier 'X'. Compiler reserves name 'X' when emitting 'super' re...
ERROR
Notable
→
TS2819
Namespace name cannot be 'X'.
ERROR
Notable
→
TS2820
Type 'X' is not assignable to type 'X'. Did you mean 'X'?
ERROR
Notable
→
TS2821
Import assertions are only supported when the '--module' option is set to 'es...
ERROR
Notable
→
TS2822
Import assertions cannot be used with type-only imports or exports.
ERROR
Notable
→
TS2823
Import attributes are only supported when the '--module' option is set to 'es...
ERROR
Notable
→
TS2833
Cannot find namespace 'X'. Did you mean 'X'?
ERROR
Notable
→
TS2834
Relative import paths need explicit file extensions in ECMAScript imports whe...
ERROR
Notable
→
TS2835
Relative import paths need explicit file extensions in ECMAScript imports whe...
ERROR
Notable
→
TS2836
Import assertions are not allowed on statements that compile to CommonJS 'req...
ERROR
Notable
→
TS2837
Import assertion values must be string literal expressions.
ERROR
Notable
→
TS2838
All declarations of 'X' must have identical constraints.
ERROR
Notable
→
TS2839
This condition will always return 'X' since JavaScript compares objects by re...
ERROR
Notable
→
TS2840
An interface cannot extend a primitive type like 'X'. It can only extend othe...
ERROR
Notable
→
TS2842
'X' is an unused renaming of 'X'. Did you intend to use it as a type annotation?
ERROR
Notable
→
TS2843
We can only write a type for 'X' by adding a type for the entire parameter here.
ERROR
Notable
→
TS2844
Type of instance member variable 'X' cannot reference identifier 'X' declared...
ERROR
Notable
→
TS2845
This condition will always return 'X'.
ERROR
Notable
→
TS2846
A declaration file cannot be imported without 'import type'. Did you mean to ...
ERROR
Notable
→
TS2848
The right-hand side of an 'instanceof' expression must not be an instantiatio...
ERROR
Notable
→
TS2849
Target signature provides too few arguments. Expected X or more, but got X.
ERROR
Notable
→
TS2850
The initializer of a 'using' declaration must be either an object with a '[Sy...
ERROR
Notable
→
TS2851
The initializer of an 'await using' declaration must be either an object with...
ERROR
Notable
→
TS2852
'await using' statements are only allowed within async functions and at the t...
ERROR
Notable
→
TS2853
'await using' statements are only allowed at the top level of a file when tha...
ERROR
Notable
→
TS2854
Top-level 'await using' statements are only allowed when the 'module' option ...
ERROR
Notable
→
TS2855
Class field 'X' defined by the parent class is not accessible in the child cl...
ERROR
Notable
→
TS2856
Import attributes are not allowed on statements that compile to CommonJS 'req...
ERROR
Notable
→
TS2857
Import attributes cannot be used with type-only imports or exports.
ERROR
Notable
→
TS2858
Import attribute values must be string literal expressions.
ERROR
Notable
→
TS2859
Excessive complexity comparing types 'X' and 'X'.
ERROR
Notable
→
TS2860
The left-hand side of an 'instanceof' expression must be assignable to the fi...
ERROR
Notable
→
TS2861
An object's '[Symbol.hasInstance]' method must return a boolean value for it ...
ERROR
Notable
→
TS2862
Type 'X' is generic and can only be indexed for reading.
ERROR
Notable
→
TS2863
A class cannot extend a primitive type like 'X'. Classes can only extend cons...
ERROR
Notable
→
TS2864
A class cannot implement a primitive type like 'X'. It can only implement oth...
ERROR
Notable
→
TS2865
Import 'X' conflicts with local value, so must be declared with a type-only i...
ERROR
Notable
→
TS2866
Import 'X' conflicts with global value used in this file, so must be declared...
ERROR
Notable
→
TS2867
Cannot find name 'X'. Do you need to install type definitions for Bun? Try `n...
ERROR
Notable
→
TS2868
Cannot find name 'X'. Do you need to install type definitions for Bun? Try `n...
ERROR
Notable
→
TS2869
Right operand of ?? is unreachable because the left operand is never nullish.
ERROR
Notable
→
TS2870
This binary expression is never nullish. Are you missing parentheses?
ERROR
Notable
→
TS2871
This expression is always nullish.
ERROR
Notable
→
TS2872
This kind of expression is always truthy.
ERROR
Notable
→
TS2873
This kind of expression is always falsy.
ERROR
Notable
→
TS2874
This JSX tag requires 'X' to be in scope, but it could not be found.
ERROR
Notable
→
TS2875
This JSX tag requires the module path 'X' to exist, but none could be found. ...
ERROR
Notable
→
TS2876
This relative import path is unsafe to rewrite because it looks like a file n...
ERROR
Notable
→
TS2877
This import uses a 'X' extension to resolve to an input TypeScript file, but ...
ERROR
Notable
→
TS2878
This import path is unsafe to rewrite because it resolves to another project,...
ERROR
Notable
→
TS2879
Using JSX fragments requires fragment factory 'X' to be in scope, but it coul...
ERROR
Notable
→
TS2880
Import assertions have been replaced by import attributes. Use 'with' instead...
ERROR
Notable
→
TS2881
This expression is never nullish.
ERROR
Notable
→
TS2882
Cannot find module or type declarations for side-effect import of 'X'.
ERROR
Notable
→
TS2883
The inferred type of 'X' cannot be named without a reference to 'X' from 'X'....
ERROR
Notable
→
TS4000
Import declaration 'X' is using private name 'X'.
ERROR
Notable
→
TS4002
Type parameter 'X' of exported class has or is using private name 'X'.
ERROR
Notable
→
TS4004
Type parameter 'X' of exported interface has or is using private name 'X'.
ERROR
Notable
→
TS4006
Type parameter 'X' of constructor signature from exported interface has or is...
ERROR
Notable
→
TS4008
Type parameter 'X' of call signature from exported interface has or is using ...
ERROR
Notable
→
TS4010
Type parameter 'X' of public static method from exported class has or is usin...
ERROR
Notable
→
TS4012
Type parameter 'X' of public method from exported class has or is using priva...
ERROR
Notable
→
TS4014
Type parameter 'X' of method from exported interface has or is using private ...
ERROR
Notable
→
TS4016
Type parameter 'X' of exported function has or is using private name 'X'.
ERROR
Notable
→
TS4019
Implements clause of exported class 'X' has or is using private name 'X'.
ERROR
Notable
→
TS4020
'extends' clause of exported class 'X' has or is using private name 'X'.
ERROR
Notable
→
TS4021
'extends' clause of exported class has or is using private name 'X'.
ERROR
Notable
→
TS4022
'extends' clause of exported interface 'X' has or is using private name 'X'.
ERROR
Notable
→
TS4023
Exported variable 'X' has or is using name 'X' from external module X but can...
ERROR
Notable
→
TS4024
Exported variable 'X' has or is using name 'X' from private module 'X'.
ERROR
Notable
→
TS4025
Exported variable 'X' has or is using private name 'X'.
ERROR
Notable
→
TS4026
Public static property 'X' of exported class has or is using name 'X' from ex...
ERROR
Notable
→
TS4027
Public static property 'X' of exported class has or is using name 'X' from pr...
ERROR
Notable
→
TS4028
Public static property 'X' of exported class has or is using private name 'X'.
ERROR
Notable
→
TS4029
Public property 'X' of exported class has or is using name 'X' from external ...
ERROR
Notable
→
TS4030
Public property 'X' of exported class has or is using name 'X' from private m...
ERROR
Notable
→
TS4031
Public property 'X' of exported class has or is using private name 'X'.
ERROR
Notable
→
TS4032
Property 'X' of exported interface has or is using name 'X' from private modu...
ERROR
Notable
→
TS4033
Property 'X' of exported interface has or is using private name 'X'.
ERROR
Notable
→
TS4034
Parameter type of public static setter 'X' from exported class has or is usin...
ERROR
Notable
→
TS4035
Parameter type of public static setter 'X' from exported class has or is usin...
ERROR
Notable
→
TS4036
Parameter type of public setter 'X' from exported class has or is using name ...
ERROR
Notable
→
TS4037
Parameter type of public setter 'X' from exported class has or is using priva...
ERROR
Notable
→
TS4038
Return type of public static getter 'X' from exported class has or is using n...
ERROR
Notable
→
TS4039
Return type of public static getter 'X' from exported class has or is using n...
ERROR
Notable
→
TS4040
Return type of public static getter 'X' from exported class has or is using p...
ERROR
Notable
→
TS4041
Return type of public getter 'X' from exported class has or is using name 'X'...
ERROR
Notable
→
TS4042
Return type of public getter 'X' from exported class has or is using name 'X'...
ERROR
Notable
→
TS4043
Return type of public getter 'X' from exported class has or is using private ...
ERROR
Notable
→
TS4044
Return type of constructor signature from exported interface has or is using ...
ERROR
Notable
→
TS4045
Return type of constructor signature from exported interface has or is using ...
ERROR
Notable
→
TS4046
Return type of call signature from exported interface has or is using name 'X...
ERROR
Notable
→
TS4047
Return type of call signature from exported interface has or is using private...
ERROR
Notable
→
TS4048
Return type of index signature from exported interface has or is using name '...
ERROR
Notable
→
TS4049
Return type of index signature from exported interface has or is using privat...
ERROR
Notable
→
TS4050
Return type of public static method from exported class has or is using name ...
ERROR
Notable
→
TS4051
Return type of public static method from exported class has or is using name ...
ERROR
Notable
→
TS4052
Return type of public static method from exported class has or is using priva...
ERROR
Notable
→
TS4053
Return type of public method from exported class has or is using name 'X' fro...
ERROR
Notable
→
TS4054
Return type of public method from exported class has or is using name 'X' fro...
ERROR
Notable
→
TS4055
Return type of public method from exported class has or is using private name...
ERROR
Notable
→
TS4056
Return type of method from exported interface has or is using name 'X' from p...
ERROR
Notable
→
TS4057
Return type of method from exported interface has or is using private name 'X'.
ERROR
Notable
→
TS4058
Return type of exported function has or is using name 'X' from external modul...
ERROR
Notable
→
TS4059
Return type of exported function has or is using name 'X' from private module...
ERROR
Notable
→
TS4060
Return type of exported function has or is using private name 'X'.
ERROR
Notable
→
TS4061
Parameter 'X' of constructor from exported class has or is using name 'X' fro...
ERROR
Notable
→
TS4062
Parameter 'X' of constructor from exported class has or is using name 'X' fro...
ERROR
Notable
→
TS4063
Parameter 'X' of constructor from exported class has or is using private name...
ERROR
Notable
→
TS4064
Parameter 'X' of constructor signature from exported interface has or is usin...
ERROR
Notable
→
TS4065
Parameter 'X' of constructor signature from exported interface has or is usin...
ERROR
Notable
→
TS4066
Parameter 'X' of call signature from exported interface has or is using name ...
ERROR
Notable
→
TS4067
Parameter 'X' of call signature from exported interface has or is using priva...
ERROR
Notable
→
TS4068
Parameter 'X' of public static method from exported class has or is using nam...
ERROR
Notable
→
TS4069
Parameter 'X' of public static method from exported class has or is using nam...
ERROR
Notable
→
TS4070
Parameter 'X' of public static method from exported class has or is using pri...
ERROR
Notable
→
TS4071
Parameter 'X' of public method from exported class has or is using name 'X' f...
ERROR
Notable
→
TS4072
Parameter 'X' of public method from exported class has or is using name 'X' f...
ERROR
Notable
→
TS4073
Parameter 'X' of public method from exported class has or is using private na...
ERROR
Notable
→
TS4074
Parameter 'X' of method from exported interface has or is using name 'X' from...
ERROR
Notable
→
TS4075
Parameter 'X' of method from exported interface has or is using private name ...
ERROR
Notable
→
TS4076
Parameter 'X' of exported function has or is using name 'X' from external mod...
ERROR
Notable
→
TS4077
Parameter 'X' of exported function has or is using name 'X' from private modu...
ERROR
Notable
→
TS4078
Parameter 'X' of exported function has or is using private name 'X'.
ERROR
Notable
→
TS4081
Exported type alias 'X' has or is using private name 'X'.
ERROR
Notable
→
TS4082
Default export of the module has or is using private name 'X'.
ERROR
Notable
→
TS4083
Type parameter 'X' of exported type alias has or is using private name 'X'.
ERROR
Notable
→
TS4084
Exported type alias 'X' has or is using private name 'X' from module X.
ERROR
Notable
→
TS4085
Extends clause for inferred type 'X' has or is using private name 'X'.
ERROR
Notable
→
TS4091
Parameter 'X' of index signature from exported interface has or is using name...
ERROR
Notable
→
TS4092
Parameter 'X' of index signature from exported interface has or is using priv...
ERROR
Notable
→
TS4094
Property 'X' of exported anonymous class type may not be private or protected.
ERROR
Notable
→
TS4095
Public static method 'X' of exported class has or is using name 'X' from exte...
ERROR
Notable
→
TS4096
Public static method 'X' of exported class has or is using name 'X' from priv...
ERROR
Notable
→
TS4097
Public static method 'X' of exported class has or is using private name 'X'.
ERROR
Notable
→
TS4098
Public method 'X' of exported class has or is using name 'X' from external mo...
ERROR
Notable
→
TS4099
Public method 'X' of exported class has or is using name 'X' from private mod...
ERROR
Notable
→
TS4100
Public method 'X' of exported class has or is using private name 'X'.
ERROR
Notable
→
TS4101
Method 'X' of exported interface has or is using name 'X' from private module...
ERROR
Notable
→
TS4102
Method 'X' of exported interface has or is using private name 'X'.
ERROR
Notable
→
TS4103
Type parameter 'X' of exported mapped object type is using private name 'X'.
ERROR
Notable
→
TS4104
The type 'X' is 'readonly' and cannot be assigned to the mutable type 'X'.
ERROR
Notable
→
TS4105
Private or protected member 'X' cannot be accessed on a type parameter.
ERROR
Notable
→
TS4106
Parameter 'X' of accessor has or is using private name 'X'.
ERROR
Notable
→
TS4107
Parameter 'X' of accessor has or is using name 'X' from private module 'X'.
ERROR
Notable
→
TS4108
Parameter 'X' of accessor has or is using name 'X' from external module 'X' b...
ERROR
Notable
→
TS4109
Type arguments for 'X' circularly reference themselves.
ERROR
Notable
→
TS4110
Tuple type arguments circularly reference themselves.
ERROR
Notable
→
TS4111
Property 'X' comes from an index signature, so it must be accessed with ['X'].
ERROR
Notable
→
TS4112
This member cannot have an 'override' modifier because its containing class '...
ERROR
Notable
→
TS4113
This member cannot have an 'override' modifier because it is not declared in ...
ERROR
Notable
→
TS4114
This member must have an 'override' modifier because it overrides a member in...
ERROR
Notable
→
TS4115
This parameter property must have an 'override' modifier because it overrides...
ERROR
Notable
→
TS4116
This member must have an 'override' modifier because it overrides an abstract...
ERROR
Notable
→
TS4117
This member cannot have an 'override' modifier because it is not declared in ...
ERROR
Notable
→
TS4118
The type of this node cannot be serialized because its property 'X' cannot be...
ERROR
Notable
→
TS4119
This member must have a JSDoc comment with an '@override' tag because it over...
ERROR
Notable
→
TS4120
This parameter property must have a JSDoc comment with an '@override' tag bec...
ERROR
Notable
→
TS4121
This member cannot have a JSDoc comment with an '@override' tag because its c...
ERROR
Notable
→
TS4122
This member cannot have a JSDoc comment with an '@override' tag because it is...
ERROR
Notable
→
TS4123
This member cannot have a JSDoc comment with an 'override' tag because it is ...
ERROR
Notable
→
TS4124
Compiler option 'X' of value 'X' is unstable. Use nightly TypeScript to silen...
ERROR
Notable
→
TS4125
Each declaration of 'X.X' differs in its value, where 'X' was expected but 'X...
ERROR
Notable
→
TS4126
One value of 'X.X' is the string 'X', and the other is assumed to be an unkno...
ERROR
Notable
→
TS4127
This member cannot have an 'override' modifier because its name is dynamic.
ERROR
Notable
→
TS4128
This member cannot have a JSDoc comment with an '@override' tag because its n...
ERROR
Notable
→
TS5001
The current host does not support the 'X' option.
ERROR
Notable
→
TS5009
Cannot find the common subdirectory path for the input files.
ERROR
Notable
→
TS5010
File specification cannot end in a recursive directory wildcard ('**'): 'X'.
ERROR
Notable
→
TS5011
The common source directory of 'X' is 'X'. The 'rootDir' setting must be expl...
ERROR
Notable
→
TS5012
Cannot read file 'X': X.
ERROR
Notable
→
TS5024
Compiler option 'X' requires a value of type X.
ERROR
Notable
→
TS5025
Unknown compiler option 'X'. Did you mean 'X'?
ERROR
Notable
→
TS5033
Could not write file 'X': X.
ERROR
Notable
→
TS5042
Option 'project' cannot be mixed with source files on a command line.
ERROR
Notable
→
TS5047
Option 'isolatedModules' can only be used when either option '--module' is pr...
ERROR
Notable
→
TS5051
Option 'X can only be used when either option '--inlineSourceMap' or option '...
ERROR
Notable
→
TS5052
Option 'X' cannot be specified without specifying option 'X'.
ERROR
Notable
→
TS5053
Option 'X' cannot be specified with option 'X'.
ERROR
Notable
→
TS5054
A 'tsconfig.json' file is already defined at: 'X'.
ERROR
Notable
→
TS5055
Cannot write file 'X' because it would overwrite input file.
ERROR
Notable
→
TS5056
Cannot write file 'X' because it would be overwritten by multiple input files.
ERROR
Notable
→
TS5057
Cannot find a tsconfig.json file at the specified directory: 'X'.
ERROR
Notable
→
TS5058
The specified path does not exist: 'X'.
ERROR
Notable
→
TS5059
Invalid value for '--reactNamespace'. 'X' is not a valid identifier.
ERROR
Notable
→
TS5061
Pattern 'X' can have at most one '*' character.
ERROR
Notable
→
TS5062
Substitution 'X' in pattern 'X' can have at most one '*' character.
ERROR
Notable
→
TS5063
Substitutions for pattern 'X' should be an array.
ERROR
Notable
→
TS5064
Substitution 'X' for pattern 'X' has incorrect type, expected 'string', got 'X'.
ERROR
Notable
→
TS5065
File specification cannot contain a parent directory ('..') that appears afte...
ERROR
Notable
→
TS5066
Substitutions for pattern 'X' shouldn't be an empty array.
ERROR
Notable
→
TS5067
Invalid value for 'jsxFactory'. 'X' is not a valid identifier or qualified-name.
ERROR
Notable
→
TS5068
Adding a tsconfig.json file will help organize projects that contain both Typ...
ERROR
Notable
→
TS5069
Option 'X' cannot be specified without specifying option 'X' or option 'X'.
ERROR
Notable
→
TS5070
Option '--resolveJsonModule' cannot be specified when 'moduleResolution' is s...
ERROR
Notable
→
TS5071
Option '--resolveJsonModule' cannot be specified when 'module' is set to 'non...
ERROR
Notable
→
TS5072
Unknown build option 'X'.
ERROR
Notable
→
TS5073
Build option 'X' requires a value of type X.
ERROR
Notable
→
TS5074
Option '--incremental' can only be specified using tsconfig, emitting to sing...
ERROR
Notable
→
TS5075
'X' is assignable to the constraint of type 'X', but 'X' could be instantiate...
ERROR
Notable
→
TS5076
'X' and 'X' operations cannot be mixed without parentheses.
ERROR
Notable
→
TS5077
Unknown build option 'X'. Did you mean 'X'?
ERROR
Notable
→
TS5078
Unknown watch option 'X'.
ERROR
Notable
→
TS5079
Unknown watch option 'X'. Did you mean 'X'?
ERROR
Notable
→
TS5080
Watch option 'X' requires a value of type X.
ERROR
Notable
→
TS5081
Cannot find a tsconfig.json file at the current directory: X.
ERROR
Notable
→
TS5082
'X' could be instantiated with an arbitrary type which could be unrelated to ...
ERROR
Notable
→
TS5083
Cannot read file 'X'.
ERROR
Notable
→
TS5085
A tuple member cannot be both optional and rest.
ERROR
Notable
→
TS5086
A labeled tuple element is declared as optional with a question mark after th...
ERROR
Notable
→
TS5087
A labeled tuple element is declared as rest with a '...' before the name, rat...
ERROR
Notable
→
TS5088
The inferred type of 'X' references a type with a cyclic structure which cann...
ERROR
Notable
→
TS5089
Option 'X' cannot be specified when option 'jsx' is 'X'.
ERROR
Notable
→
TS5090
Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget ...
ERROR
Notable
→
TS5091
Option 'preserveConstEnums' cannot be disabled when 'X' is enabled.
ERROR
Notable
→
TS5092
The root value of a 'X' file must be an object.
ERROR
Notable
→
TS5093
Compiler option '--X' may only be used with '--build'.
ERROR
Notable
→
TS5094
Compiler option '--X' may not be used with '--build'.
ERROR
Notable
→
TS5095
Option 'X' can only be used when 'module' is set to 'preserve', 'commonjs', o...
ERROR
Notable
→
TS5096
Option 'allowImportingTsExtensions' can only be used when one of 'noEmit', 'e...
ERROR
Notable
→
TS5097
An import path can only end with a 'X' extension when 'allowImportingTsExtens...
ERROR
Notable
→
TS5098
Option 'X' can only be used when 'moduleResolution' is set to 'node16', 'node...
ERROR
Notable
→
TS5101
Option 'X' is deprecated and will stop functioning in TypeScript X. Specify c...
ERROR
Notable
→
TS5102
Option 'X' has been removed. Please remove it from your configuration.
ERROR
Notable
→
TS5103
Invalid value for '--ignoreDeprecations'.
ERROR
Notable
→
TS5104
Option 'X' is redundant and cannot be specified with option 'X'.
ERROR
Notable
→
TS5105
Option 'verbatimModuleSyntax' cannot be used when 'module' is set to 'UMD', '...
ERROR
Notable
→
TS5106
Use 'X' instead.
ERROR
Notable
→
TS5107
Option 'X=X' is deprecated and will stop functioning in TypeScript X. Specify...
ERROR
Notable
→
TS5108
Option 'X=X' has been removed. Please remove it from your configuration.
ERROR
Notable
→
TS5109
Option 'moduleResolution' must be set to 'X' (or left unspecified) when optio...
ERROR
Notable
→
TS5110
Option 'module' must be set to 'X' when option 'moduleResolution' is set to 'X'.
ERROR
Notable
→
TS5111
Visit https://aka.ms/ts6 for migration information.
ERROR
Notable
→
TS5112
tsconfig.json is present but will not be loaded if files are specified on com...
ERROR
Notable
→
TS6000
Generates a sourcemap for each corresponding '.d.ts' file.
ERROR
Notable
→
TS6001
Concatenate and emit output to single file.
ERROR
Notable
→
TS6002
Generates corresponding '.d.ts' file.
ERROR
Notable
→
TS6004
Specify the location where debugger should locate TypeScript files instead of...
ERROR
Notable
→
TS6005
Watch input files.
ERROR
Notable
→
TS6006
Redirect output structure to the directory.
ERROR
Notable
→
TS6007
Do not erase const enum declarations in generated code.
ERROR
Notable
→
TS6008
Do not emit outputs if any errors were reported.
ERROR
Notable
→
TS6009
Do not emit comments to output.
ERROR
Notable
→
TS6010
Do not emit outputs.
ERROR
Notable
→
TS6011
Allow default imports from modules with no default export. This does not affe...
ERROR
Notable
→
TS6012
Skip type checking of declaration files.
ERROR
Notable
→
TS6013
Do not resolve the real path of symlinks.
ERROR
Notable
→
TS6014
Only emit '.d.ts' declaration files.
ERROR
Notable
→
TS6015
Specify ECMAScript target version.
ERROR
Notable
→
TS6016
Specify module code generation.
ERROR
Notable
→
TS6017
Print this message.
ERROR
Notable
→
TS6019
Print the compiler's version.
ERROR
Notable
→
TS6020
Compile the project given the path to its configuration file, or to a folder ...
ERROR
Notable
→
TS6023
Syntax: X
ERROR
Notable
→
TS6024
options
ERROR
Notable
→
TS6025
file
ERROR
Notable
→
TS6026
Examples: X
ERROR
Notable
→
TS6027
Options:
ERROR
Notable
→
TS6029
Version X
ERROR
Notable
→
TS6030
Insert command line options and files from a file.
ERROR
Notable
→
TS6031
Starting compilation in watch mode...
ERROR
Notable
→
TS6032
File change detected. Starting incremental compilation...
ERROR
Notable
→
TS6034
KIND
ERROR
Notable
→
TS6035
FILE
ERROR
Notable
→
TS6036
VERSION
ERROR
Notable
→
TS6037
LOCATION
ERROR
Notable
→
TS6038
DIRECTORY
ERROR
Notable
→
TS6039
STRATEGY
ERROR
Notable
→
TS6040
FILE OR DIRECTORY
ERROR
Notable
→
TS6041
Errors Files
ERROR
Notable
→
TS6043
Generates corresponding '.map' file.
ERROR
Notable
→
TS6044
Compiler option 'X' expects an argument.
ERROR
Notable
→
TS6045
Unterminated quoted string in response file 'X'.
ERROR
Notable
→
TS6046
Argument for 'X' option must be: X.
ERROR
Notable
→
TS6048
Locale must be of the form <language> or <language>-<territory>. For example ...
ERROR
Notable
→
TS6050
Unable to open file 'X'.
ERROR
Notable
→
TS6051
Corrupted locale file X.
ERROR
Notable
→
TS6052
Raise error on expressions and declarations with an implied 'any' type.
ERROR
Notable
→
TS6053
File 'X' not found.
ERROR
Notable
→
TS6054
File 'X' has an unsupported extension. The only supported extensions are X.
ERROR
Notable
→
TS6055
Suppress noImplicitAny errors for indexing objects lacking index signatures.
ERROR
Notable
→
TS6056
Do not emit declarations for code that has an '@internal' annotation.
ERROR
Notable
→
TS6058
Specify the root directory of input files. Use to control the output director...
ERROR
Notable
→
TS6059
File 'X' is not under 'rootDir' 'X'. 'rootDir' is expected to contain all sou...
ERROR
Notable
→
TS6060
Specify the end of line sequence to be used when emitting files: 'CRLF' (dos)...
ERROR
Notable
→
TS6061
NEWLINE
ERROR
Notable
→
TS6064
Option 'X' can only be specified in 'tsconfig.json' file or set to 'null' on ...
ERROR
Notable
→
TS6065
Enables experimental support for ES7 decorators.
ERROR
Notable
→
TS6066
Enables experimental support for emitting type metadata for decorators.
ERROR
Notable
→
TS6070
Initializes a TypeScript project and creates a tsconfig.json file.
ERROR
Notable
→
TS6071
Successfully created a tsconfig.json file.
ERROR
Notable
→
TS6072
Suppress excess property checks for object literals.
ERROR
Notable
→
TS6073
Stylize errors and messages using color and context (experimental).
ERROR
Notable
→
TS6074
Do not report errors on unused labels.
ERROR
Notable
→
TS6075
Report error when not all code paths in function return a value.
ERROR
Notable
→
TS6076
Report errors for fallthrough cases in switch statement.
ERROR
Notable
→
TS6077
Do not report errors on unreachable code.
ERROR
Notable
→
TS6078
Disallow inconsistently-cased references to the same file.
ERROR
Notable
→
TS6079
Specify library files to be included in the compilation.
ERROR
Notable
→
TS6080
Specify JSX code generation.
ERROR
Notable
→
TS6082
Only 'amd' and 'system' modules are supported alongside --X.
ERROR
Notable
→
TS6083
Base directory to resolve non-absolute module names.
ERROR
Notable
→
TS6084
[Deprecated] Use '--jsxFactory' instead. Specify the object invoked for creat...
ERROR
Notable
→
TS6085
Enable tracing of the name resolution process.
ERROR
Notable
→
TS6086
======== Resolving module 'X' from 'X'. ========
ERROR
Notable
→
TS6087
Explicitly specified module resolution kind: 'X'.
ERROR
Notable
→
TS6088
Module resolution kind is not specified, using 'X'.
ERROR
Notable
→
TS6089
======== Module name 'X' was successfully resolved to 'X'. ========
ERROR
Notable
→
TS6090
======== Module name 'X' was not resolved. ========
ERROR
Notable
→
TS6091
'paths' option is specified, looking for a pattern to match module name 'X'.
ERROR
Notable
→
TS6092
Module name 'X', matched pattern 'X'.
ERROR
Notable
→
TS6093
Trying substitution 'X', candidate module location: 'X'.
ERROR
Notable
→
TS6094
Resolving module name 'X' relative to base url 'X' - 'X'.
ERROR
Notable
→
TS6095
Loading module as file / folder, candidate module location 'X', target file t...
ERROR
Notable
→
TS6096
File 'X' does not exist.
ERROR
Notable
→
TS6097
File 'X' exists - use it as a name resolution result.
ERROR
Notable
→
TS6098
Loading module 'X' from 'node_modules' folder, target file types: X.
ERROR
Notable
→
TS6099
Found 'package.json' at 'X'.
ERROR
Notable
→
TS6100
'package.json' does not have a 'X' field.
ERROR
Notable
→
TS6101
'package.json' has 'X' field 'X' that references 'X'.
ERROR
Notable
→
TS6102
Allow javascript files to be compiled.
ERROR
Notable
→
TS6104
Checking if 'X' is the longest matching prefix for 'X' - 'X'.
ERROR
Notable
→
TS6105
Expected type of 'X' field in 'package.json' to be 'X', got 'X'.
ERROR
Notable
→
TS6106
'baseUrl' option is set to 'X', using this value to resolve non-relative modu...
ERROR
Notable
→
TS6107
'rootDirs' option is set, using it to resolve relative module name 'X'.
ERROR
Notable
→
TS6108
Longest matching prefix for 'X' is 'X'.
ERROR
Notable
→
TS6109
Loading 'X' from the root dir 'X', candidate location 'X'.
ERROR
Notable
→
TS6110
Trying other entries in 'rootDirs'.
ERROR
Notable
→
TS6111
Module resolution using 'rootDirs' has failed.
ERROR
Notable
→
TS6112
Do not emit 'use strict' directives in module output.
ERROR
Notable
→
TS6113
Enable strict null checks.
ERROR
Notable
→
TS6114
Unknown option 'excludes'. Did you mean 'exclude'?
ERROR
Notable
→
TS6115
Raise error on 'this' expressions with an implied 'any' type.
ERROR
Notable
→
TS6116
======== Resolving type reference directive 'X', containing file 'X', root di...
ERROR
Notable
→
TS6119
======== Type reference directive 'X' was successfully resolved to 'X', prima...
ERROR
Notable
→
TS6120
======== Type reference directive 'X' was not resolved. ========
ERROR
Notable
→
TS6121
Resolving with primary search path 'X'.
ERROR
Notable
→
TS6122
Root directory cannot be determined, skipping primary search paths.
ERROR
Notable
→
TS6123
======== Resolving type reference directive 'X', containing file 'X', root di...
ERROR
Notable
→
TS6124
Type declaration files to be included in compilation.
ERROR
Notable
→
TS6125
Looking up in 'node_modules' folder, initial location 'X'.
ERROR
Notable
→
TS6126
Containing file is not specified and root directory cannot be determined, ski...
ERROR
Notable
→
TS6127
======== Resolving type reference directive 'X', containing file not set, roo...
ERROR
Notable
→
TS6128
======== Resolving type reference directive 'X', containing file not set, roo...
ERROR
Notable
→
TS6130
Resolving real path for 'X', result 'X'.
ERROR
Notable
→
TS6131
Cannot compile modules using option 'X' unless the '--module' flag is 'amd' o...
ERROR
Notable
→
TS6132
File name 'X' has a 'X' extension - stripping it.
ERROR
Notable
→
TS6133
'X' is declared but its value is never read.
ERROR
Notable
→
TS6134
Report errors on unused locals.
ERROR
Notable
→
TS6135
Report errors on unused parameters.
ERROR
Notable
→
TS6136
The maximum dependency depth to search under node_modules and load JavaScript...
ERROR
Notable
→
TS6137
Cannot import type declaration files. Consider importing 'X' instead of 'X'.
ERROR
Notable
→
TS6138
Property 'X' is declared but its value is never read.
ERROR
Notable
→
TS6139
Import emit helpers from 'tslib'.
ERROR
Notable
→
TS6140
Auto discovery for typings is enabled in project 'X'. Running extra resolutio...
ERROR
Notable
→
TS6141
Parse in strict mode and emit "use strict" for each source file.
ERROR
Notable
→
TS6142
Module 'X' was resolved to 'X', but '--jsx' is not set.
ERROR
Notable
→
TS6144
Module 'X' was resolved as locally declared ambient module in file 'X'.
ERROR
Notable
→
TS6146
Specify the JSX factory function to use when targeting 'react' JSX emit, e.g....
ERROR
Notable
→
TS6147
Resolution for module 'X' was found in cache from location 'X'.
ERROR
Notable
→
TS6148
Directory 'X' does not exist, skipping all lookups in it.
ERROR
Notable
→
TS6149
Show diagnostic information.
ERROR
Notable
→
TS6150
Show verbose diagnostic information.
ERROR
Notable
→
TS6151
Emit a single file with source maps instead of having a separate file.
ERROR
Notable
→
TS6152
Emit the source alongside the sourcemaps within a single file; requires '--in...
ERROR
Notable
→
TS6153
Transpile each file as a separate module (similar to 'ts.transpileModule').
ERROR
Notable
→
TS6154
Print names of generated files part of the compilation.
ERROR
Notable
→
TS6155
Print names of files part of the compilation.
ERROR
Notable
→
TS6156
The locale used when displaying messages to the user (e.g. 'en-us')
ERROR
Notable
→
TS6157
Do not generate custom helper functions like '__extends' in compiled output.
ERROR
Notable
→
TS6158
Do not include the default library file (lib.d.ts).
ERROR
Notable
→
TS6159
Do not add triple-slash references or imported modules to the list of compile...
ERROR
Notable
→
TS6160
[Deprecated] Use '--skipLibCheck' instead. Skip type checking of default libr...
ERROR
Notable
→
TS6161
List of folders to include type definitions from.
ERROR
Notable
→
TS6162
Disable size limitations on JavaScript projects.
ERROR
Notable
→
TS6163
The character set of the input files.
ERROR
Notable
→
TS6164
Skipping module 'X' that looks like an absolute URI, target file types: X.
ERROR
Notable
→
TS6165
Do not truncate error messages.
ERROR
Notable
→
TS6166
Output directory for generated declaration files.
ERROR
Notable
→
TS6167
A series of entries which re-map imports to lookup locations relative to the ...
ERROR
Notable
→
TS6168
List of root folders whose combined content represents the structure of the p...
ERROR
Notable
→
TS6169
Show all compiler options.
ERROR
Notable
→
TS6170
[Deprecated] Use '--outFile' instead. Concatenate and emit output to single file
ERROR
Notable
→
TS6171
Command-line Options
ERROR
Notable
→
TS6179
Provide full support for iterables in 'for-of', spread, and destructuring whe...
ERROR
Notable
→
TS6180
Enable all strict type-checking options.
ERROR
Notable
→
TS6182
Scoped package detected, looking in 'X'
ERROR
Notable
→
TS6183
Reusing resolution of module 'X' from 'X' of old program, it was successfully...
ERROR
Notable
→
TS6184
Reusing resolution of module 'X' from 'X' of old program, it was successfully...
ERROR
Notable
→
TS6186
Enable strict checking of function types.
ERROR
Notable
→
TS6187
Enable strict checking of property initialization in classes.
ERROR
Notable
→
TS6188
Numeric separators are not allowed here.
ERROR
Notable
→
TS6189
Multiple consecutive numeric separators are not permitted.
ERROR
Notable
→
TS6191
Whether to keep outdated console output in watch mode instead of clearing the...
ERROR
Notable
→
TS6192
All imports in import declaration are unused.
ERROR
Notable
→
TS6193
Found 1 error. Watching for file changes.
ERROR
Notable
→
TS6194
Found X errors. Watching for file changes.
ERROR
Notable
→
TS6195
Resolve 'keyof' to string valued property names only (no numbers or symbols).
ERROR
Notable
→
TS6196
'X' is declared but never used.
ERROR
Notable
→
TS6197
Include modules imported with '.json' extension
ERROR
Notable
→
TS6198
All destructured elements are unused.
ERROR
Notable
→
TS6199
All variables are unused.
ERROR
Notable
→
TS6200
Definitions of the following identifiers conflict with those in another file: X
ERROR
Notable
→
TS6201
Conflicts are in this file.
ERROR
Notable
→
TS6202
Project references may not form a circular graph. Cycle detected: X
ERROR
Notable
→
TS6203
'X' was also declared here.
ERROR
Notable
→
TS6204
and here.
ERROR
Notable
→
TS6205
All type parameters are unused.
ERROR
Notable
→
TS6206
'package.json' has a 'typesVersions' field with version-specific path mappings.
ERROR
Notable
→
TS6207
'package.json' does not have a 'typesVersions' entry that matches version 'X'.
ERROR
Notable
→
TS6208
'package.json' has a 'typesVersions' entry 'X' that matches compiler version ...
ERROR
Notable
→
TS6209
'package.json' has a 'typesVersions' entry 'X' that is not a valid semver range.
ERROR
Notable
→
TS6210
An argument for 'X' was not provided.
ERROR
Notable
→
TS6211
An argument matching this binding pattern was not provided.
ERROR
Notable
→
TS6212
Did you mean to call this expression?
ERROR
Notable
→
TS6213
Did you mean to use 'new' with this expression?
ERROR
Notable
→
TS6214
Enable strict 'bind', 'call', and 'apply' methods on functions.
ERROR
Notable
→
TS6215
Using compiler options of project reference redirect 'X'.
ERROR
Notable
→
TS6216
Found 1 error.
ERROR
Notable
→
TS6217
Found X errors.
ERROR
Notable
→
TS6218
======== Module name 'X' was successfully resolved to 'X' with Package ID 'X'...
ERROR
Notable
→
TS6219
======== Type reference directive 'X' was successfully resolved to 'X' with P...
ERROR
Notable
→
TS6220
'package.json' had a falsy 'X' field.
ERROR
Notable
→
TS6221
Disable use of source files instead of declaration files from referenced proj...
ERROR
Notable
→
TS6222
Emit class fields with Define instead of Set.
ERROR
Notable
→
TS6223
Generates a CPU profile.
ERROR
Notable
→
TS6224
Disable solution searching for this project.
ERROR
Notable
→
TS6225
Specify strategy for watching file: 'FixedPollingInterval' (default), 'Priori...
ERROR
Notable
→
TS6226
Specify strategy for watching directory on platforms that don't support recur...
ERROR
Notable
→
TS6227
Specify strategy for creating a polling watch when it fails to create using f...
ERROR
Notable
→
TS6229
Tag 'X' expects at least 'X' arguments, but the JSX factory 'X' provides at m...
ERROR
Notable
→
TS6230
Option 'X' can only be specified in 'tsconfig.json' file or set to 'false' or...
ERROR
Notable
→
TS6231
Could not resolve the path 'X' with the extensions: X.
ERROR
Notable
→
TS6232
Declaration augments declaration in another file. This cannot be serialized.
ERROR
Notable
→
TS6233
This is the declaration being augmented. Consider moving the augmenting decla...
ERROR
Notable
→
TS6234
This expression is not callable because it is a 'get' accessor. Did you mean ...
ERROR
Notable
→
TS6235
Disable loading referenced projects.
ERROR
Notable
→
TS6236
Arguments for the rest parameter 'X' were not provided.
ERROR
Notable
→
TS6237
Generates an event trace and a list of types.
ERROR
Notable
→
TS6238
Specify the module specifier to be used to import the 'jsx' and 'jsxs' factor...
ERROR
Notable
→
TS6239
File 'X' exists according to earlier cached lookups.
ERROR
Notable
→
TS6240
File 'X' does not exist according to earlier cached lookups.
ERROR
Notable
→
TS6241
Resolution for type reference directive 'X' was found in cache from location ...
ERROR
Notable
→
TS6242
======== Resolving type reference directive 'X', containing file 'X'. ========
ERROR
Notable
→
TS6243
Interpret optional property types as written, rather than adding 'undefined'.
ERROR
Notable
→
TS6244
Modules
ERROR
Notable
→
TS6245
File Management
ERROR
Notable
→
TS6246
Emit
ERROR
Notable
→
TS6247
JavaScript Support
ERROR
Notable
→
TS6248
Type Checking
ERROR
Notable
→
TS6249
Editor Support
ERROR
Notable
→
TS6250
Watch and Build Modes
ERROR
Notable
→
TS6251
Compiler Diagnostics
ERROR
Notable
→
TS6252
Interop Constraints
ERROR
Notable
→
TS6253
Backwards Compatibility
ERROR
Notable
→
TS6254
Language and Environment
ERROR
Notable
→
TS6255
Projects
ERROR
Notable
→
TS6256
Output Formatting
ERROR
Notable
→
TS6257
Completeness
ERROR
Notable
→
TS6258
'X' should be set inside the 'compilerOptions' object of the config json file
ERROR
Notable
→
TS6259
Found 1 error in X
ERROR
Notable
→
TS6260
Found X errors in the same file, starting at: X
ERROR
Notable
→
TS6261
Found X errors in X files.
ERROR
Notable
→
TS6262
File name 'X' has a 'X' extension - looking up 'X' instead.
ERROR
Notable
→
TS6263
Module 'X' was resolved to 'X', but '--allowArbitraryExtensions' is not set.
ERROR
Notable
→
TS6264
Enable importing files with any extension, provided a declaration file is pre...
ERROR
Notable
→
TS6265
Resolving type reference directive for program that specifies custom typeRoot...
ERROR
Notable
→
TS6266
Option 'X' can only be specified on command line.
ERROR
Notable
→
TS6270
Directory 'X' has no containing package.json scope. Imports will not resolve.
ERROR
Notable
→
TS6271
Import specifier 'X' does not exist in package.json scope at path 'X'.
ERROR
Notable
→
TS6272
Invalid import specifier 'X' has no possible resolutions.
ERROR
Notable
→
TS6273
package.json scope 'X' has no imports defined.
ERROR
Notable
→
TS6274
package.json scope 'X' explicitly maps specifier 'X' to null.
ERROR
Notable
→
TS6275
package.json scope 'X' has invalid type for target of specifier 'X'
ERROR
Notable
→
TS6276
Export specifier 'X' does not exist in package.json scope at path 'X'.
ERROR
Notable
→
TS6277
Resolution of non-relative name failed; trying with modern Node resolution fe...
ERROR
Notable
→
TS6278
There are types at 'X', but this result could not be resolved when respecting...
ERROR
Notable
→
TS6279
Resolution of non-relative name failed; trying with '--moduleResolution bundl...
ERROR
Notable
→
TS6280
There are types at 'X', but this result could not be resolved under your curr...
ERROR
Notable
→
TS6281
'package.json' has a 'peerDependencies' field.
ERROR
Notable
→
TS6282
Found peerDependency 'X' with 'X' version.
ERROR
Notable
→
TS6283
Failed to find peerDependency 'X'.
ERROR
Notable
→
TS6284
File Layout
ERROR
Notable
→
TS6285
Environment Settings
ERROR
Notable
→
TS6286
See also https://aka.ms/tsconfig/module
ERROR
Notable
→
TS6287
For nodejs:
ERROR
Notable
→
TS6290
and npm install -D @types/node
ERROR
Notable
→
TS6291
Other Outputs
ERROR
Notable
→
TS6292
Stricter Typechecking Options
ERROR
Notable
→
TS6293
Style Options
ERROR
Notable
→
TS6294
Recommended Options
ERROR
Notable
→
TS6302
Enable project compilation
ERROR
Notable
→
TS6304
Composite projects may not disable declaration emit.
ERROR
Notable
→
TS6305
Output file 'X' has not been built from source file 'X'.
ERROR
Notable
→
TS6306
Referenced project 'X' must have setting "composite": true.
ERROR
Notable
→
TS6307
File 'X' is not listed within the file list of project 'X'. Projects must lis...
ERROR
Notable
→
TS6310
Referenced project 'X' may not disable emit.
ERROR
Notable
→
TS6350
Project 'X' is out of date because output 'X' is older than input 'X'
ERROR
Notable
→
TS6351
Project 'X' is up to date because newest input 'X' is older than output 'X'
ERROR
Notable
→
TS6352
Project 'X' is out of date because output file 'X' does not exist
ERROR
Notable
→
TS6353
Project 'X' is out of date because its dependency 'X' is out of date
ERROR
Notable
→
TS6354
Project 'X' is up to date with .d.ts files from its dependencies
ERROR
Notable
→
TS6355
Projects in this build: X
ERROR
Notable
→
TS6356
A non-dry build would delete the following files: X
ERROR
Notable
→
TS6357
A non-dry build would build project 'X'
ERROR
Notable
→
TS6358
Building project 'X'...
ERROR
Notable
→
TS6359
Updating output timestamps of project 'X'...
ERROR
Notable
→
TS6361
Project 'X' is up to date
ERROR
Notable
→
TS6362
Skipping build of project 'X' because its dependency 'X' has errors
ERROR
Notable
→
TS6363
Project 'X' can't be built because its dependency 'X' has errors
ERROR
Notable
→
TS6364
Build one or more projects and their dependencies, if out of date
ERROR
Notable
→
TS6365
Delete the outputs of all projects.
ERROR
Notable
→
TS6367
Show what would be built (or deleted, if specified with '--clean')
ERROR
Notable
→
TS6369
Option '--build' must be the first command line argument.
ERROR
Notable
→
TS6370
Options 'X' and 'X' cannot be combined.
ERROR
Notable
→
TS6371
Updating unchanged output timestamps of project 'X'...
ERROR
Notable
→
TS6374
A non-dry build would update timestamps for output of project 'X'
ERROR
Notable
→
TS6377
Cannot write file 'X' because it will overwrite '.tsbuildinfo' file generated...
ERROR
Notable
→
TS6379
Composite projects may not disable incremental compilation.
ERROR
Notable
→
TS6380
Specify file to store incremental compilation information
ERROR
Notable
→
TS6381
Project 'X' is out of date because output for it was generated with version '...
ERROR
Notable
→
TS6382
Skipping build of project 'X' because its dependency 'X' was not built
ERROR
Notable
→
TS6383
Project 'X' can't be built because its dependency 'X' was not built
ERROR
Notable
→
TS6384
Have recompiles in '--incremental' and '--watch' assume that changes within a...
ERROR
Notable
→
TS6385
'X' is deprecated.
ERROR
Notable
→
TS6386
Performance timings for '--diagnostics' or '--extendedDiagnostics' are not av...
ERROR
Notable
→
TS6387
The signature 'X' of 'X' is deprecated.
ERROR
Notable
→
TS6388
Project 'X' is being forcibly rebuilt
ERROR
Notable
→
TS6389
Reusing resolution of module 'X' from 'X' of old program, it was not resolved.
ERROR
Notable
→
TS6390
Reusing resolution of type reference directive 'X' from 'X' of old program, i...
ERROR
Notable
→
TS6391
Reusing resolution of type reference directive 'X' from 'X' of old program, i...
ERROR
Notable
→
TS6392
Reusing resolution of type reference directive 'X' from 'X' of old program, i...
ERROR
Notable
→
TS6393
Reusing resolution of module 'X' from 'X' found in cache from location 'X', i...
ERROR
Notable
→
TS6394
Reusing resolution of module 'X' from 'X' found in cache from location 'X', i...
ERROR
Notable
→
TS6395
Reusing resolution of module 'X' from 'X' found in cache from location 'X', i...
ERROR
Notable
→
TS6396
Reusing resolution of type reference directive 'X' from 'X' found in cache fr...
ERROR
Notable
→
TS6397
Reusing resolution of type reference directive 'X' from 'X' found in cache fr...
ERROR
Notable
→
TS6398
Reusing resolution of type reference directive 'X' from 'X' found in cache fr...
ERROR
Notable
→
TS6399
Project 'X' is out of date because buildinfo file 'X' indicates that some of ...
ERROR
Notable
→
TS6400
Project 'X' is up to date but needs to update timestamps of output files that...
ERROR
Notable
→
TS6401
Project 'X' is out of date because there was error reading file 'X'
ERROR
Notable
→
TS6402
Resolving in X mode with conditions X.
ERROR
Notable
→
TS6403
Matched 'X' condition 'X'.
ERROR
Notable
→
TS6404
Using 'X' subpath 'X' with target 'X'.
ERROR
Notable
→
TS6405
Saw non-matching condition 'X'.
ERROR
Notable
→
TS6406
Project 'X' is out of date because buildinfo file 'X' indicates there is chan...
ERROR
Notable
→
TS6407
Allow imports to include TypeScript file extensions. Requires '--moduleResolu...
ERROR
Notable
→
TS6408
Use the package.json 'exports' field when resolving package imports.
ERROR
Notable
→
TS6409
Use the package.json 'imports' field when resolving imports.
ERROR
Notable
→
TS6410
Conditions to set in addition to the resolver-specific defaults when resolvin...
ERROR
Notable
→
TS6411
`true` when 'moduleResolution' is 'node16', 'nodenext', or 'bundler'; otherwi...
ERROR
Notable
→
TS6412
Project 'X' is out of date because buildinfo file 'X' indicates that file 'X'...
ERROR
Notable
→
TS6413
Entering conditional exports.
ERROR
Notable
→
TS6414
Resolved under condition 'X'.
ERROR
Notable
→
TS6415
Failed to resolve under condition 'X'.
ERROR
Notable
→
TS6416
Exiting conditional exports.
ERROR
Notable
→
TS6417
Searching all ancestor node_modules directories for preferred extensions: X.
ERROR
Notable
→
TS6418
Searching all ancestor node_modules directories for fallback extensions: X.
ERROR
Notable
→
TS6419
Project 'X' is out of date because buildinfo file 'X' indicates that program ...
ERROR
Notable
→
TS6420
Project 'X' is out of date because X.
ERROR
Notable
→
TS6421
Rewrite '.ts', '.tsx', '.mts', and '.cts' file extensions in relative import ...
ERROR
Notable
→
TS6500
The expected type comes from property 'X' which is declared here on type 'X'
ERROR
Notable
→
TS6501
The expected type comes from this index signature.
ERROR
Notable
→
TS6502
The expected type comes from the return type of this signature.
ERROR
Notable
→
TS6503
Print names of files that are part of the compilation and then stop processing.
ERROR
Notable
→
TS6504
File 'X' is a JavaScript file. Did you mean to enable the 'allowJs' option?
ERROR
Notable
→
TS6505
Print names of files and the reason they are part of the compilation.
ERROR
Notable
→
TS6506
Consider adding a 'declare' modifier to this class.
ERROR
Notable
→
TS6600
Allow JavaScript files to be a part of your program. Use the 'checkJs' option...
ERROR
Notable
→
TS6601
Allow 'import x from y' when a module doesn't have a default export.
ERROR
Notable
→
TS6602
Allow accessing UMD globals from modules.
ERROR
Notable
→
TS6603
Disable error reporting for unreachable code.
ERROR
Notable
→
TS6604
Disable error reporting for unused labels.
ERROR
Notable
→
TS6605
Ensure 'use strict' is always emitted.
ERROR
Notable
→
TS6606
Have recompiles in projects that use 'incremental' and 'watch' mode assume th...
ERROR
Notable
→
TS6607
Specify the base directory to resolve non-relative module names.
ERROR
Notable
→
TS6608
No longer supported. In early versions, manually set the text encoding for re...
ERROR
Notable
→
TS6609
Enable error reporting in type-checked JavaScript files.
ERROR
Notable
→
TS6611
Enable constraints that allow a TypeScript project to be used with project re...
ERROR
Notable
→
TS6612
Generate .d.ts files from TypeScript and JavaScript files in your project.
ERROR
Notable
→
TS6613
Specify the output directory for generated declaration files.
ERROR
Notable
→
TS6614
Create sourcemaps for d.ts files.
ERROR
Notable
→
TS6615
Output compiler performance information after building.
ERROR
Notable
→
TS6616
Disables inference for type acquisition by looking at filenames in a project.
ERROR
Notable
→
TS6617
Reduce the number of projects loaded automatically by TypeScript.
ERROR
Notable
→
TS6618
Remove the 20mb cap on total source code size for JavaScript files in the Typ...
ERROR
Notable
→
TS6619
Opt a project out of multi-project reference checking when editing.
ERROR
Notable
→
TS6620
Disable preferring source files instead of declaration files when referencing...
ERROR
Notable
→
TS6621
Emit more compliant, but verbose and less performant JavaScript for iteration.
ERROR
Notable
→
TS6622
Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files.
ERROR
Notable
→
TS6623
Only output d.ts files and not JavaScript files.
ERROR
Notable
→
TS6624
Emit design-type metadata for decorated declarations in source files.
ERROR
Notable
→
TS6625
Disable the type acquisition for JavaScript projects
ERROR
Notable
→
TS6626
Emit additional JavaScript to ease support for importing CommonJS modules. Th...
ERROR
Notable
→
TS6627
Filters results from the `include` option.
ERROR
Notable
→
TS6628
Remove a list of directories from the watch process.
ERROR
Notable
→
TS6629
Remove a list of files from the watch mode's processing.
ERROR
Notable
→
TS6630
Enable experimental support for legacy experimental decorators.
ERROR
Notable
→
TS6631
Print files read during the compilation including why it was included.
ERROR
Notable
→
TS6632
Output more detailed compiler performance information after building.
ERROR
Notable
→
TS6633
Specify one or more path or node module references to base configuration file...
ERROR
Notable
→
TS6634
Specify what approach the watcher should use if the system runs out of native...
ERROR
Notable
→
TS6635
Include a list of files. This does not support glob patterns, as opposed to `...
ERROR
Notable
→
TS6636
Build all projects, including those that appear to be up to date.
ERROR
Notable
→
TS6637
Ensure that casing is correct in imports.
ERROR
Notable
→
TS6638
Emit a v8 CPU profile of the compiler run for debugging.
ERROR
Notable
→
TS6639
Allow importing helper functions from tslib once per project, instead of incl...
ERROR
Notable
→
TS6640
Skip building downstream projects on error in upstream project.
ERROR
Notable
→
TS6641
Specify a list of glob patterns that match files to be included in compilation.
ERROR
Notable
→
TS6642
Save .tsbuildinfo files to allow for incremental compilation of projects.
ERROR
Notable
→
TS6643
Include sourcemap files inside the emitted JavaScript.
ERROR
Notable
→
TS6644
Include source code in the sourcemaps inside the emitted JavaScript.
ERROR
Notable
→
TS6645
Ensure that each file can be safely transpiled without relying on other imports.
ERROR
Notable
→
TS6646
Specify what JSX code is generated.
ERROR
Notable
→
TS6647
Specify the JSX factory function used when targeting React JSX emit, e.g. 'Re...
ERROR
Notable
→
TS6648
Specify the JSX Fragment reference used for fragments when targeting React JS...
ERROR
Notable
→
TS6649
Specify module specifier used to import the JSX factory functions when using ...
ERROR
Notable
→
TS6650
Make keyof only return strings instead of string, numbers or symbols. Legacy ...
ERROR
Notable
→
TS6651
Specify a set of bundled library declaration files that describe the target r...
ERROR
Notable
→
TS6652
Print the names of emitted files after a compilation.
ERROR
Notable
→
TS6653
Print all of the files read during the compilation.
ERROR
Notable
→
TS6654
Set the language of the messaging from TypeScript. This does not affect emit.
ERROR
Notable
→
TS6655
Specify the location where debugger should locate map files instead of genera...
ERROR
Notable
→
TS6656
Specify the maximum folder depth used for checking JavaScript files from 'nod...
ERROR
Notable
→
TS6657
Specify what module code is generated.
ERROR
Notable
→
TS6658
Specify how TypeScript looks up a file from a given module specifier.
ERROR
Notable
→
TS6659
Set the newline character for emitting files.
ERROR
Notable
→
TS6660
Disable emitting files from a compilation.
ERROR
Notable
→
TS6661
Disable generating custom helper functions like '__extends' in compiled output.
ERROR
Notable
→
TS6662
Disable emitting files if any type checking errors are reported.
ERROR
Notable
→
TS6663
Disable truncating types in error messages.
ERROR
Notable
→
TS6664
Enable error reporting for fallthrough cases in switch statements.
ERROR
Notable
→
TS6665
Enable error reporting for expressions and declarations with an implied 'any'...
ERROR
Notable
→
TS6666
Ensure overriding members in derived classes are marked with an override modi...
ERROR
Notable
→
TS6667
Enable error reporting for codepaths that do not explicitly return in a funct...
ERROR
Notable
→
TS6668
Enable error reporting when 'this' is given the type 'any'.
ERROR
Notable
→
TS6669
Disable adding 'use strict' directives in emitted JavaScript files.
ERROR
Notable
→
TS6670
Disable including any library files, including the default lib.d.ts.
ERROR
Notable
→
TS6671
Enforces using indexed accessors for keys declared using an indexed type.
ERROR
Notable
→
TS6672
Disallow 'import's, 'require's or '<reference>'s from expanding the number of...
ERROR
Notable
→
TS6673
Disable strict checking of generic signatures in function types.
ERROR
Notable
→
TS6674
Add 'undefined' to a type when accessed using an index.
ERROR
Notable
→
TS6675
Enable error reporting when local variables aren't read.
ERROR
Notable
→
TS6676
Raise an error when a function parameter isn't read.
ERROR
Notable
→
TS6677
Deprecated setting. Use 'outFile' instead.
ERROR
Notable
→
TS6678
Specify an output folder for all emitted files.
ERROR
Notable
→
TS6679
Specify a file that bundles all outputs into one JavaScript file. If 'declara...
ERROR
Notable
→
TS6680
Specify a set of entries that re-map imports to additional lookup locations.
ERROR
Notable
→
TS6681
Specify a list of language service plugins to include.
ERROR
Notable
→
TS6682
Disable erasing 'const enum' declarations in generated code.
ERROR
Notable
→
TS6683
Disable resolving symlinks to their realpath. This correlates to the same fla...
ERROR
Notable
→
TS6684
Disable wiping the console in watch mode.
ERROR
Notable
→
TS6685
Enable color and formatting in TypeScript's output to make compiler errors ea...
ERROR
Notable
→
TS6686
Specify the object invoked for 'createElement'. This only applies when target...
ERROR
Notable
→
TS6687
Specify an array of objects that specify paths for projects. Used in project ...
ERROR
Notable
→
TS6688
Disable emitting comments.
ERROR
Notable
→
TS6689
Enable importing .json files.
ERROR
Notable
→
TS6690
Specify the root folder within your source files.
ERROR
Notable
→
TS6691
Allow multiple folders to be treated as one when resolving modules.
ERROR
Notable
→
TS6692
Skip type checking .d.ts files that are included with TypeScript.
ERROR
Notable
→
TS6693
Skip type checking all .d.ts files.
ERROR
Notable
→
TS6694
Create source map files for emitted JavaScript files.
ERROR
Notable
→
TS6695
Specify the root path for debuggers to find the reference source code.
ERROR
Notable
→
TS6697
Check that the arguments for 'bind', 'call', and 'apply' methods match the or...
ERROR
Notable
→
TS6698
When assigning functions, check to ensure parameters and the return values ar...
ERROR
Notable
→
TS6699
When type checking, take into account 'null' and 'undefined'.
ERROR
Notable
→
TS6700
Check for class properties that are declared but not set in the constructor.
ERROR
Notable
→
TS6701
Disable emitting declarations that have '@internal' in their JSDoc comments.
ERROR
Notable
→
TS6702
Disable reporting of excess property errors during the creation of object lit...
ERROR
Notable
→
TS6703
Suppress 'noImplicitAny' errors when indexing objects that lack index signatu...
ERROR
Notable
→
TS6704
Synchronously call callbacks and update the state of directory watchers on pl...
ERROR
Notable
→
TS6705
Set the JavaScript language version for emitted JavaScript and include compat...
ERROR
Notable
→
TS6706
Log paths used during the 'moduleResolution' process.
ERROR
Notable
→
TS6707
Specify the path to .tsbuildinfo incremental compilation file.
ERROR
Notable
→
TS6709
Specify options for automatic acquisition of declaration files.
ERROR
Notable
→
TS6710
Specify multiple folders that act like './node_modules/@types'.
ERROR
Notable
→
TS6711
Specify type package names to be included without being referenced in a sourc...
ERROR
Notable
→
TS6712
Emit ECMAScript-standard-compliant class fields.
ERROR
Notable
→
TS6713
Enable verbose logging.
ERROR
Notable
→
TS6714
Specify how directories are watched on systems that lack recursive file-watch...
ERROR
Notable
→
TS6715
Specify how the TypeScript watch mode works.
ERROR
Notable
→
TS6717
Require undeclared properties from index signatures to use element accesses.
ERROR
Notable
→
TS6718
Specify emit/checking behavior for imports that are only used for types.
ERROR
Notable
→
TS6719
Require sufficient annotation on exports so other tools can trivially generat...
ERROR
Notable
→
TS6720
Built-in iterators are instantiated with a 'TReturn' type of 'undefined' inst...
ERROR
Notable
→
TS6721
Do not allow runtime constructs that are not part of ECMAScript.
ERROR
Notable
→
TS6803
Default catch clause variables as 'unknown' instead of 'any'.
ERROR
Notable
→
TS6804
Do not transform or elide any imports or exports not marked as type-only, ens...
ERROR
Notable
→
TS6805
Disable full type checking (only critical parse and emit errors will be repor...
ERROR
Notable
→
TS6806
Check side effect imports.
ERROR
Notable
→
TS6807
This operation can be simplified. This shift is identical to `X X X`.
ERROR
Notable
→
TS6808
Enable lib replacement.
ERROR
Notable
→
TS6809
Ensure types are ordered stably and deterministically across compilations.
ERROR
Notable
→
TS6900
one of:
ERROR
Notable
→
TS6901
one or more:
ERROR
Notable
→
TS6902
type:
ERROR
Notable
→
TS6903
default:
ERROR
Notable
→
TS6905
`true`, unless `strict` is `false`
ERROR
Notable
→
TS6906
`false`, unless `composite` is set
ERROR
Notable
→
TS6907
`["node_modules", "bower_components", "jspm_packages"]`, plus the value of `o...
ERROR
Notable
→
TS6908
`[]` if `files` is specified, otherwise `["**/*"]`
ERROR
Notable
→
TS6909
`true` if `composite`, `false` otherwise
ERROR
Notable
→
TS69010
`nodenext` if `module` is `nodenext`; `node16` if `module` is `node16` or `no...
ERROR
Notable
→
TS6911
Computed from the list of input files
ERROR
Notable
→
TS6912
Platform specific
ERROR
Notable
→
TS6913
You can learn about all of the compiler options at X
ERROR
Notable
→
TS6914
Including --watch, -w will start watching the current project for the file ch...
ERROR
Notable
→
TS6915
Using --build, -b will make tsc behave more like a build orchestrator than a ...
ERROR
Notable
→
TS6916
COMMON COMMANDS
ERROR
Notable
→
TS6917
ALL COMPILER OPTIONS
ERROR
Notable
→
TS6918
WATCH OPTIONS
ERROR
Notable
→
TS6919
BUILD OPTIONS
ERROR
Notable
→
TS6920
COMMON COMPILER OPTIONS
ERROR
Notable
→
TS6921
COMMAND LINE FLAGS
ERROR
Notable
→
TS6922
tsc: The TypeScript Compiler
ERROR
Notable
→
TS6923
Compiles the current project (tsconfig.json in the working directory.)
ERROR
Notable
→
TS6924
Ignoring tsconfig.json, compiles the specified files with default compiler op...
ERROR
Notable
→
TS6925
Build a composite project in the working directory.
ERROR
Notable
→
TS6926
Creates a tsconfig.json with the recommended settings in the working directory.
ERROR
Notable
→
TS6927
Compiles the TypeScript project located at the specified path.
ERROR
Notable
→
TS6928
An expanded version of this information, showing all possible compiler options
ERROR
Notable
→
TS6929
Compiles the current project, with additional settings.
ERROR
Notable
→
TS6930
`true` for ES2022 and above, including ESNext.
ERROR
Notable
→
TS6931
List of file name suffixes to search when resolving a module.
ERROR
Notable
→
TS6932
`false`, unless `checkJs` is set
ERROR
Notable
→
TS7005
Variable 'X' implicitly has an 'X' type.
ERROR
Notable
→
TS7008
Member 'X' implicitly has an 'X' type.
ERROR
Notable
→
TS7009
'new' expression, whose target lacks a construct signature, implicitly has an...
ERROR
Notable
→
TS7010
'X', which lacks return-type annotation, implicitly has an 'X' return type.
ERROR
Notable
→
TS7011
Function expression, which lacks return-type annotation, implicitly has an 'X...
ERROR
Notable
→
TS7012
This overload implicitly returns the type 'X' because it lacks a return type ...
ERROR
Notable
→
TS7013
Construct signature, which lacks return-type annotation, implicitly has an 'a...
ERROR
Notable
→
TS7014
Function type, which lacks return-type annotation, implicitly has an 'X' retu...
ERROR
Notable
→
TS7015
Element implicitly has an 'any' type because index expression is not of type ...
ERROR
Notable
→
TS7016
Could not find a declaration file for module 'X'. 'X' implicitly has an 'any'...
ERROR
Notable
→
TS7017
Element implicitly has an 'any' type because type 'X' has no index signature.
ERROR
Notable
→
TS7018
Object literal's property 'X' implicitly has an 'X' type.
ERROR
Notable
→
TS7019
Rest parameter 'X' implicitly has an 'any[]' type.
ERROR
Notable
→
TS7020
Call signature, which lacks return-type annotation, implicitly has an 'any' r...
ERROR
Notable
→
TS7022
'X' implicitly has type 'any' because it does not have a type annotation and ...
ERROR
Notable
→
TS7023
'X' implicitly has return type 'any' because it does not have a return type a...
ERROR
Notable
→
TS7024
Function implicitly has return type 'any' because it does not have a return t...
ERROR
Notable
→
TS7025
Generator implicitly has yield type 'X'. Consider supplying a return type ann...
ERROR
Notable
→
TS7026
JSX element implicitly has type 'any' because no interface 'JSX.X' exists.
ERROR
Notable
→
TS7027
Unreachable code detected.
ERROR
Notable
→
TS7028
Unused label.
ERROR
Notable
→
TS7029
Fallthrough case in switch.
ERROR
Notable
→
TS7030
Not all code paths return a value.
ERROR
Notable
→
TS7031
Binding element 'X' implicitly has an 'X' type.
ERROR
Notable
→
TS7032
Property 'X' implicitly has type 'any', because its set accessor lacks a para...
ERROR
Notable
→
TS7033
Property 'X' implicitly has type 'any', because its get accessor lacks a retu...
ERROR
Notable
→
TS7034
Variable 'X' implicitly has type 'X' in some locations where its type cannot ...
ERROR
Notable
→
TS7035
Try `npm i --save-dev @types/X` if it exists or add a new declaration (.d.ts)...
ERROR
Notable
→
TS7036
Dynamic import's specifier must be of type 'string', but here has type 'X'.
ERROR
Notable
→
TS7037
Enables emit interoperability between CommonJS and ES Modules via creation of...
ERROR
Notable
→
TS7038
Type originates at this import. A namespace-style import cannot be called or ...
ERROR
Notable
→
TS7039
Mapped object type implicitly has an 'any' template type.
ERROR
Notable
→
TS7040
If the 'X' package actually exposes this module, consider sending a pull requ...
ERROR
Notable
→
TS7041
The containing arrow function captures the global value of 'this'.
ERROR
Notable
→
TS7042
Module 'X' was resolved to 'X', but '--resolveJsonModule' is not used.
ERROR
Notable
→
TS7043
Variable 'X' implicitly has an 'X' type, but a better type may be inferred fr...
ERROR
Notable
→
TS7044
Parameter 'X' implicitly has an 'X' type, but a better type may be inferred f...
ERROR
Notable
→
TS7045
Member 'X' implicitly has an 'X' type, but a better type may be inferred from...
ERROR
Notable
→
TS7046
Variable 'X' implicitly has type 'X' in some locations, but a better type may...
ERROR
Notable
→
TS7047
Rest parameter 'X' implicitly has an 'any[]' type, but a better type may be i...
ERROR
Notable
→
TS7048
Property 'X' implicitly has type 'any', but a better type for its get accesso...
ERROR
Notable
→
TS7049
Property 'X' implicitly has type 'any', but a better type for its set accesso...
ERROR
Notable
→
TS7050
'X' implicitly has an 'X' return type, but a better type may be inferred from...
ERROR
Notable
→
TS7051
Parameter has a name but no type. Did you mean 'X: X'?
ERROR
Notable
→
TS7052
Element implicitly has an 'any' type because type 'X' has no index signature....
ERROR
Notable
→
TS7053
Element implicitly has an 'any' type because expression of type 'X' can't be ...
ERROR
Notable
→
TS7054
No index signature with a parameter of type 'X' was found on type 'X'.
ERROR
Notable
→
TS7055
'X', which lacks return-type annotation, implicitly has an 'X' yield type.
ERROR
Notable
→
TS7056
The inferred type of this node exceeds the maximum length the compiler will s...
ERROR
Notable
→
TS7057
'yield' expression implicitly results in an 'any' type because its containing...
ERROR
Notable
→
TS7058
If the 'X' package actually exposes this module, try adding a new declaration...
ERROR
Notable
→
TS7059
This syntax is reserved in files with the .mts or .cts extension. Use an `as`...
ERROR
Notable
→
TS7060
This syntax is reserved in files with the .mts or .cts extension. Add a trail...
ERROR
Notable
→
TS7061
A mapped type may not declare properties or methods.
ERROR
Notable
→
TS8000
You cannot rename this element.
ERROR
Notable
→
TS8001
You cannot rename elements that are defined in the standard TypeScript library.
ERROR
Notable
→
TS8002
'import ... =' can only be used in TypeScript files.
ERROR
Notable
→
TS8003
'export =' can only be used in TypeScript files.
ERROR
Notable
→
TS8004
Type parameter declarations can only be used in TypeScript files.
ERROR
Notable
→
TS8005
'implements' clauses can only be used in TypeScript files.
ERROR
Notable
→
TS8006
'X' declarations can only be used in TypeScript files.
ERROR
Notable
→
TS8008
Type aliases can only be used in TypeScript files.
ERROR
Notable
→
TS8009
The 'X' modifier can only be used in TypeScript files.
ERROR
Notable
→
TS8010
Type annotations can only be used in TypeScript files.
ERROR
Notable
→
TS8011
Type arguments can only be used in TypeScript files.
ERROR
Notable
→
TS8012
Parameter modifiers can only be used in TypeScript files.
ERROR
Notable
→
TS8013
Non-null assertions can only be used in TypeScript files.
ERROR
Notable
→
TS8016
Type assertion expressions can only be used in TypeScript files.
ERROR
Notable
→
TS8017
Signature declarations can only be used in TypeScript files.
ERROR
Notable
→
TS8019
Report errors in .js files.
ERROR
Notable
→
TS8020
JSDoc types can only be used inside documentation comments.
ERROR
Notable
→
TS8021
JSDoc '@typedef' tag should either have a type annotation or be followed by '...
ERROR
Notable
→
TS8022
JSDoc '@X' is not attached to a class.
ERROR
Notable
→
TS8023
JSDoc '@X X' does not match the 'extends X' clause.
ERROR
Notable
→
TS8024
JSDoc '@param' tag has name 'X', but there is no parameter with that name.
ERROR
Notable
→
TS8025
Class declarations cannot have more than one '@augments' or '@extends' tag.
ERROR
Notable
→
TS8026
Expected X type arguments; provide these with an '@extends' tag.
ERROR
Notable
→
TS8027
Expected X-X type arguments; provide these with an '@extends' tag.
ERROR
Notable
→
TS8028
JSDoc '...' may only appear in the last parameter of a signature.
ERROR
Notable
→
TS8029
JSDoc '@param' tag has name 'X', but there is no parameter with that name. It...
ERROR
Notable
→
TS8030
The type of a function declaration must match the function's signature.
ERROR
Notable
→
TS8031
You cannot rename a module via a global import.
ERROR
Notable
→
TS8032
Qualified name 'X' is not allowed without a leading '@param X X'.
ERROR
Notable
→
TS8033
A JSDoc '@typedef' comment may not contain multiple '@type' tags.
ERROR
Notable
→
TS8034
The tag was first specified here.
ERROR
Notable
→
TS8035
You cannot rename elements that are defined in a 'node_modules' folder.
ERROR
Notable
→
TS8036
You cannot rename elements that are defined in another 'node_modules' folder.
ERROR
Notable
→
TS8037
Type satisfaction expressions can only be used in TypeScript files.
ERROR
Notable
→
TS8038
Decorators may not appear after 'export' or 'export default' if they also app...
ERROR
Notable
→
TS8039
A JSDoc '@template' tag may not follow a '@typedef', '@callback', or '@overlo...
ERROR
Notable
→
TS9005
Declaration emit for this file requires using private name 'X'. An explicit t...
ERROR
Notable
→
TS9006
Declaration emit for this file requires using private name 'X' from module 'X...
ERROR
Notable
→
TS9007
Function must have an explicit return type annotation with --isolatedDeclarat...
ERROR
Notable
→
TS9008
Method must have an explicit return type annotation with --isolatedDeclarations.
ERROR
Notable
→
TS9009
At least one accessor must have an explicit type annotation with --isolatedDe...
ERROR
Notable
→
TS9010
Variable must have an explicit type annotation with --isolatedDeclarations.
ERROR
Notable
→
TS9011
Parameter must have an explicit type annotation with --isolatedDeclarations.
ERROR
Notable
→
TS9012
Property must have an explicit type annotation with --isolatedDeclarations.
ERROR
Notable
→
TS9013
Expression type can't be inferred with --isolatedDeclarations.
ERROR
Notable
→
TS9014
Computed properties must be number or string literals, variables or dotted ex...
ERROR
Notable
→
TS9015
Objects that contain spread assignments can't be inferred with --isolatedDecl...
ERROR
Notable
→
TS9016
Objects that contain shorthand properties can't be inferred with --isolatedDe...
ERROR
Notable
→
TS9017
Only const arrays can be inferred with --isolatedDeclarations.
ERROR
Notable
→
TS9018
Arrays with spread elements can't inferred with --isolatedDeclarations.
ERROR
Notable
→
TS9019
Binding elements can't be exported directly with --isolatedDeclarations.
ERROR
Notable
→
TS9020
Enum member initializers must be computable without references to external sy...
ERROR
Notable
→
TS9021
Extends clause can't contain an expression with --isolatedDeclarations.
ERROR
Notable
→
TS9022
Inference from class expressions is not supported with --isolatedDeclarations.
ERROR
Notable
→
TS9023
Assigning properties to functions without declaring them is not supported wit...
ERROR
Notable
→
TS9025
Declaration emit for this parameter requires implicitly adding undefined to i...
ERROR
Notable
→
TS9026
Declaration emit for this file requires preserving this import for augmentati...
ERROR
Notable
→
TS9027
Add a type annotation to the variable X.
ERROR
Notable
→
TS9028
Add a type annotation to the parameter X.
ERROR
Notable
→
TS9029
Add a type annotation to the property X.
ERROR
Notable
→
TS9030
Add a return type to the function expression.
ERROR
Notable
→
TS9031
Add a return type to the function declaration.
ERROR
Notable
→
TS9032
Add a return type to the get accessor declaration.
ERROR
Notable
→
TS9033
Add a type to parameter of the set accessor declaration.
ERROR
Notable
→
TS9034
Add a return type to the method
ERROR
Notable
→
TS9035
Add satisfies and a type assertion to this expression (satisfies T as T) to m...
ERROR
Notable
→
TS9036
Move the expression in default export to a variable and add a type annotation...
ERROR
Notable
→
TS9037
Default exports can't be inferred with --isolatedDeclarations.
ERROR
Notable
→
TS9038
Computed property names on class or object literals cannot be inferred with -...
ERROR
Notable
→
TS9039
Type containing private name 'X' can't be used with --isolatedDeclarations.
ERROR
Notable
→
TS17000
JSX attributes must only be assigned a non-empty 'expression'.
ERROR
Notable
→
TS17001
JSX elements cannot have multiple attributes with the same name.
ERROR
Notable
→
TS17002
Expected corresponding JSX closing tag for 'X'.
ERROR
Notable
→
TS17004
Cannot use JSX unless the '--jsx' flag is provided.
ERROR
Notable
→
TS17005
A constructor cannot contain a 'super' call when its class extends 'null'.
ERROR
Notable
→
TS17006
An unary expression with the 'X' operator is not allowed in the left-hand sid...
ERROR
Notable
→
TS17007
A type assertion expression is not allowed in the left-hand side of an expone...
ERROR
Notable
→
TS17008
JSX element 'X' has no corresponding closing tag.
ERROR
Notable
→
TS17009
'super' must be called before accessing 'this' in the constructor of a derive...
ERROR
Notable
→
TS17010
Unknown type acquisition option 'X'.
ERROR
Notable
→
TS17011
'super' must be called before accessing a property of 'super' in the construc...
ERROR
Notable
→
TS17012
'X' is not a valid meta-property for keyword 'X'. Did you mean 'X'?
ERROR
Notable
→
TS17013
Meta-property 'X' is only allowed in the body of a function declaration, func...
ERROR
Notable
→
TS17014
JSX fragment has no corresponding closing tag.
ERROR
Notable
→
TS17015
Expected corresponding closing tag for JSX fragment.
ERROR
Notable
→
TS17016
The 'jsxFragmentFactory' compiler option must be provided to use JSX fragment...
ERROR
Notable
→
TS17017
An @jsxFrag pragma is required when using an @jsx pragma with JSX fragments.
ERROR
Notable
→
TS17018
Unknown type acquisition option 'X'. Did you mean 'X'?
ERROR
Notable
→
TS17019
'X' at the end of a type is not valid TypeScript syntax. Did you mean to writ...
ERROR
Notable
→
TS17020
'X' at the start of a type is not valid TypeScript syntax. Did you mean to wr...
ERROR
Notable
→
TS17021
Unicode escape sequence cannot appear here.
ERROR
Notable
→
TS18000
Circularity detected while resolving configuration: X
ERROR
Notable
→
TS18002
The 'files' list in config file 'X' is empty.
ERROR
Notable
→
TS18003
No inputs were found in config file 'X'. Specified 'include' paths were 'X' a...
ERROR
Notable
→
TS80001
File is a CommonJS module; it may be converted to an ES module.
ERROR
Notable
→
TS80002
This constructor function may be converted to a class declaration.
ERROR
Notable
→
TS80003
Import may be converted to a default import.
ERROR
Notable
→
TS80004
JSDoc types may be moved to TypeScript types.
ERROR
Notable
→
TS80005
'require' call may be converted to an import.
ERROR
Notable
→
TS80006
This may be converted to an async function.
ERROR
Notable
→
TS80007
'await' has no effect on the type of this expression.
ERROR
Notable
→
TS80008
Numeric literals with absolute values equal to 2^53 or greater are too large ...
ERROR
Notable
→
TS80009
JSDoc typedef may be converted to TypeScript type.
ERROR
Notable
→
TS80010
JSDoc typedefs may be converted to TypeScript types.
ERROR
Notable
→
TS90001
Add missing 'super()' call
ERROR
Notable
→
TS90002
Make 'super()' call the first statement in the constructor
ERROR
Notable
→
TS90003
Change 'extends' to 'implements'
ERROR
Notable
→
TS90004
Remove unused declaration for: 'X'
ERROR
Notable
→
TS90005
Remove import from 'X'
ERROR
Notable
→
TS90006
Implement interface 'X'
ERROR
Notable
→
TS90007
Implement inherited abstract class
ERROR
Notable
→
TS90008
Add 'X.' to unresolved variable
ERROR
Notable
→
TS90010
Remove variable statement
ERROR
Notable
→
TS90011
Remove template tag
ERROR
Notable
→
TS90012
Remove type parameters
ERROR
Notable
→
TS90013
Import 'X' from "X"
ERROR
Notable
→
TS90014
Change 'X' to 'X'
ERROR
Notable
→
TS90016
Declare property 'X'
ERROR
Notable
→
TS90017
Add index signature for property 'X'
ERROR
Notable
→
TS90018
Disable checking for this file
ERROR
Notable
→
TS90019
Ignore this error message
ERROR
Notable
→
TS90020
Initialize property 'X' in the constructor
ERROR
Notable
→
TS90021
Initialize static property 'X'
ERROR
Notable
→
TS90022
Change spelling to 'X'
ERROR
Notable
→
TS90023
Declare method 'X'
ERROR
Notable
→
TS90024
Declare static method 'X'
ERROR
Notable
→
TS90025
Prefix 'X' with an underscore
ERROR
Notable
→
TS90026
Rewrite as the indexed access type 'X'
ERROR
Notable
→
TS90027
Declare static property 'X'
ERROR
Notable
→
TS90028
Call decorator expression
ERROR
Notable
→
TS90029
Add async modifier to containing function
ERROR
Notable
→
TS90030
Replace 'infer X' with 'unknown'
ERROR
Notable
→
TS90031
Replace all unused 'infer' with 'unknown'
ERROR
Notable
→
TS90034
Add parameter name
ERROR
Notable
→
TS90035
Declare private property 'X'
ERROR
Notable
→
TS90036
Replace 'X' with 'Promise<X>'
ERROR
Notable
→
TS90037
Fix all incorrect return type of an async functions
ERROR
Notable
→
TS90038
Declare private method 'X'
ERROR
Notable
→
TS90039
Remove unused destructuring declaration
ERROR
Notable
→
TS90041
Remove unused declarations for: 'X'
ERROR
Notable
→
TS90053
Declare a private field named 'X'.
ERROR
Notable
→
TS90054
Includes imports of types referenced by 'X'
ERROR
Notable
→
TS90055
Remove 'type' from import declaration from "X"
ERROR
Notable
→
TS90056
Remove 'type' from import of 'X' from "X"
ERROR
Notable
→
TS90057
Add import from "X"
ERROR
Notable
→
TS90058
Update import from "X"
ERROR
Notable
→
TS90059
Export 'X' from module 'X'
ERROR
Notable
→
TS90060
Export all referenced locals
ERROR
Notable
→
TS90061
Update modifiers of 'X'
ERROR
Notable
→
TS90062
Add annotation of type 'X'
ERROR
Notable
→
TS90063
Add return type 'X'
ERROR
Notable
→
TS90064
Extract base class to variable
ERROR
Notable
→
TS90065
Extract default export to variable
ERROR
Notable
→
TS90066
Extract binding expressions to variable
ERROR
Notable
→
TS90067
Add all missing type annotations
ERROR
Notable
→
TS90068
Add satisfies and an inline type assertion with 'X'
ERROR
Notable
→
TS90069
Extract to variable and replace with 'X as typeof X'
ERROR
Notable
→
TS90070
Mark array literal as const
ERROR
Notable
→
TS90071
Annotate types of properties expando function in a namespace
ERROR
Notable
→
TS95001
Convert function to an ES2015 class
ERROR
Notable
→
TS95003
Convert 'X' to 'X in X'
ERROR
Notable
→
TS95004
Extract to X in X
ERROR
Notable
→
TS95005
Extract function
ERROR
Notable
→
TS95006
Extract constant
ERROR
Notable
→
TS95007
Extract to X in enclosing scope
ERROR
Notable
→
TS95008
Extract to X in X scope
ERROR
Notable
→
TS95009
Annotate with type from JSDoc
ERROR
Notable
→
TS95011
Infer type of 'X' from usage
ERROR
Notable
→
TS95012
Infer parameter types from usage
ERROR
Notable
→
TS95013
Convert to default import
ERROR
Notable
→
TS95014
Install 'X'
ERROR
Notable
→
TS95015
Replace import with 'X'.
ERROR
Notable
→
TS95016
Use synthetic 'default' member.
ERROR
Notable
→
TS95017
Convert to ES module
ERROR
Notable
→
TS95018
Add 'undefined' type to property 'X'
ERROR
Notable
→
TS95019
Add initializer to property 'X'
ERROR
Notable
→
TS95020
Add definite assignment assertion to property 'X'
ERROR
Notable
→
TS95021
Convert all type literals to mapped type
ERROR
Notable
→
TS95022
Add all missing members
ERROR
Notable
→
TS95023
Infer all types from usage
ERROR
Notable
→
TS95024
Delete all unused declarations
ERROR
Notable
→
TS95025
Prefix all unused declarations with '_' where possible
ERROR
Notable
→
TS95026
Fix all detected spelling errors
ERROR
Notable
→
TS95027
Add initializers to all uninitialized properties
ERROR
Notable
→
TS95028
Add definite assignment assertions to all uninitialized properties
ERROR
Notable
→
TS95029
Add undefined type to all uninitialized properties
ERROR
Notable
→
TS95030
Change all jsdoc-style types to TypeScript
ERROR
Notable
→
TS95031
Change all jsdoc-style types to TypeScript (and add '| undefined' to nullable...
ERROR
Notable
→
TS95032
Implement all unimplemented interfaces
ERROR
Notable
→
TS95033
Install all missing types packages
ERROR
Notable
→
TS95034
Rewrite all as indexed access types
ERROR
Notable
→
TS95035
Convert all to default imports
ERROR
Notable
→
TS95036
Make all 'super()' calls the first statement in their constructor
ERROR
Notable
→
TS95037
Add qualifier to all unresolved variables matching a member name
ERROR
Notable
→
TS95038
Change all extended interfaces to 'implements'
ERROR
Notable
→
TS95039
Add all missing super calls
ERROR
Notable
→
TS95040
Implement all inherited abstract classes
ERROR
Notable
→
TS95041
Add all missing 'async' modifiers
ERROR
Notable
→
TS95042
Add '@ts-ignore' to all error messages
ERROR
Notable
→
TS95043
Annotate everything with types from JSDoc
ERROR
Notable
→
TS95044
Add '()' to all uncalled decorators
ERROR
Notable
→
TS95045
Convert all constructor functions to classes
ERROR
Notable
→
TS95046
Generate 'get' and 'set' accessors
ERROR
Notable
→
TS95047
Convert 'require' to 'import'
ERROR
Notable
→
TS95048
Convert all 'require' to 'import'
ERROR
Notable
→
TS95049
Move to a new file
ERROR
Notable
→
TS95050
Remove unreachable code
ERROR
Notable
→
TS95051
Remove all unreachable code
ERROR
Notable
→
TS95052
Add missing 'typeof'
ERROR
Notable
→
TS95053
Remove unused label
ERROR
Notable
→
TS95054
Remove all unused labels
ERROR
Notable
→
TS95055
Convert 'X' to mapped object type
ERROR
Notable
→
TS95056
Convert namespace import to named imports
ERROR
Notable
→
TS95057
Convert named imports to namespace import
ERROR
Notable
→
TS95058
Add or remove braces in an arrow function
ERROR
Notable
→
TS95059
Add braces to arrow function
ERROR
Notable
→
TS95060
Remove braces from arrow function
ERROR
Notable
→
TS95061
Convert default export to named export
ERROR
Notable
→
TS95062
Convert named export to default export
ERROR
Notable
→
TS95063
Add missing enum member 'X'
ERROR
Notable
→
TS95064
Add all missing imports
ERROR
Notable
→
TS95065
Convert to async function
ERROR
Notable
→
TS95066
Convert all to async functions
ERROR
Notable
→
TS95067
Add missing call parentheses
ERROR
Notable
→
TS95068
Add all missing call parentheses
ERROR
Notable
→
TS95069
Add 'unknown' conversion for non-overlapping types
ERROR
Notable
→
TS95070
Add 'unknown' to all conversions of non-overlapping types
ERROR
Notable
→
TS95071
Add missing 'new' operator to call
ERROR
Notable
→
TS95072
Add missing 'new' operator to all calls
ERROR
Notable
→
TS95073
Add names to all parameters without names
ERROR
Notable
→
TS95074
Enable the 'experimentalDecorators' option in your configuration file
ERROR
Notable
→
TS95075
Convert parameters to destructured object
ERROR
Notable
→
TS95077
Extract type
ERROR
Notable
→
TS95078
Extract to type alias
ERROR
Notable
→
TS95079
Extract to typedef
ERROR
Notable
→
TS95080
Infer 'this' type of 'X' from usage
ERROR
Notable
→
TS95081
Add 'const' to unresolved variable
ERROR
Notable
→
TS95082
Add 'const' to all unresolved variables
ERROR
Notable
→
TS95083
Add 'await'
ERROR
Notable
→
TS95084
Add 'await' to initializer for 'X'
ERROR
Notable
→
TS95085
Fix all expressions possibly missing 'await'
ERROR
Notable
→
TS95086
Remove unnecessary 'await'
ERROR
Notable
→
TS95087
Remove all unnecessary uses of 'await'
ERROR
Notable
→
TS95088
Enable the '--jsx' flag in your configuration file
ERROR
Notable
→
TS95089
Add 'await' to initializers
ERROR
Notable
→
TS95090
Extract to interface
ERROR
Notable
→
TS95091
Convert to a bigint numeric literal
ERROR
Notable
→
TS95092
Convert all to bigint numeric literals
ERROR
Notable
→
TS95093
Convert 'const' to 'let'
ERROR
Notable
→
TS95094
Prefix with 'declare'
ERROR
Notable
→
TS95095
Prefix all incorrect property declarations with 'declare'
ERROR
Notable
→
TS95096
Convert to template string
ERROR
Notable
→
TS95097
Add 'export {}' to make this file into a module
ERROR
Notable
→
TS95098
Set the 'target' option in your configuration file to 'X'
ERROR
Notable
→
TS95099
Set the 'module' option in your configuration file to 'X'
ERROR
Notable
→
TS95100
Convert invalid character to its html entity code
ERROR
Notable
→
TS95101
Convert all invalid characters to HTML entity code
ERROR
Notable
→
TS95102
Convert all 'const' to 'let'
ERROR
Notable
→
TS95105
Convert function expression 'X' to arrow function
ERROR
Notable
→
TS95106
Convert function declaration 'X' to arrow function
ERROR
Notable
→
TS95107
Fix all implicit-'this' errors
ERROR
Notable
→
TS95108
Wrap invalid character in an expression container
ERROR
Notable
→
TS95109
Wrap all invalid characters in an expression container
ERROR
Notable
→
TS95110
Visit https://aka.ms/tsconfig to read more about this file
ERROR
Notable
→
TS95111
Add a return statement
ERROR
Notable
→
TS95112
Remove braces from arrow function body
ERROR
Notable
→
TS95113
Wrap the following body with parentheses which should be an object literal
ERROR
Notable
→
TS95114
Add all missing return statement
ERROR
Notable
→
TS95115
Remove braces from all arrow function bodies with relevant issues
ERROR
Notable
→
TS95116
Wrap all object literal with parentheses
ERROR
Notable
→
TS95117
Move labeled tuple element modifiers to labels
ERROR
Notable
→
TS95118
Convert overload list to single signature
ERROR
Notable
→
TS95119
Generate 'get' and 'set' accessors for all overriding properties
ERROR
Notable
→
TS95120
Wrap in JSX fragment
ERROR
Notable
→
TS95121
Wrap all unparented JSX in JSX fragment
ERROR
Notable
→
TS95122
Convert arrow function or function expression
ERROR
Notable
→
TS95123
Convert to anonymous function
ERROR
Notable
→
TS95124
Convert to named function
ERROR
Notable
→
TS95125
Convert to arrow function
ERROR
Notable
→
TS95126
Remove parentheses
ERROR
Notable
→
TS95127
Could not find a containing arrow function
ERROR
Notable
→
TS95128
Containing function is not an arrow function
ERROR
Notable
→
TS95129
Could not find export statement
ERROR
Notable
→
TS95130
This file already has a default export
ERROR
Notable
→
TS95131
Could not find import clause
ERROR
Notable
→
TS95132
Could not find namespace import or named imports
ERROR
Notable
→
TS95133
Selection is not a valid type node
ERROR
Notable
→
TS95134
No type could be extracted from this type node
ERROR
Notable
→
TS95135
Could not find property for which to generate accessor
ERROR
Notable
→
TS95136
Name is not valid
ERROR
Notable
→
TS95137
Can only convert property with modifier
ERROR
Notable
→
TS95138
Switch each misused 'X' to 'X'
ERROR
Notable
→
TS95139
Convert to optional chain expression
ERROR
Notable
→
TS95140
Could not find convertible access expression
ERROR
Notable
→
TS95141
Could not find matching access expressions
ERROR
Notable
→
TS95142
Can only convert logical AND access chains
ERROR
Notable
→
TS95143
Add 'void' to Promise resolved without a value
ERROR
Notable
→
TS95144
Add 'void' to all Promises resolved without a value
ERROR
Notable
→
TS95145
Use element access for 'X'
ERROR
Notable
→
TS95146
Use element access for all undeclared properties.
ERROR
Notable
→
TS95147
Delete all unused imports
ERROR
Notable
→
TS95148
Infer function return type
ERROR
Notable
→
TS95149
Return type must be inferred from a function
ERROR
Notable
→
TS95150
Could not determine function return type
ERROR
Notable
→
TS95151
Could not convert to arrow function
ERROR
Notable
→
TS95152
Could not convert to named function
ERROR
Notable
→
TS95153
Could not convert to anonymous function
ERROR
Notable
→
TS95154
Can only convert string concatenations and string literals
ERROR
Notable
→
TS95155
Selection is not a valid statement or statements
ERROR
Notable
→
TS95156
Add missing function declaration 'X'
ERROR
Notable
→
TS95157
Add all missing function declarations
ERROR
Notable
→
TS95158
Method not implemented.
ERROR
Notable
→
TS95159
Function not implemented.
ERROR
Notable
→
TS95160
Add 'override' modifier
ERROR
Notable
→
TS95161
Remove 'override' modifier
ERROR
Notable
→
TS95162
Add all missing 'override' modifiers
ERROR
Notable
→
TS95163
Remove all unnecessary 'override' modifiers
ERROR
Notable
→
TS95164
Can only convert named export
ERROR
Notable
→
TS95165
Add missing properties
ERROR
Notable
→
TS95166
Add all missing properties
ERROR
Notable
→
TS95167
Add missing attributes
ERROR
Notable
→
TS95168
Add all missing attributes
ERROR
Notable
→
TS95169
Add 'undefined' to optional property type
ERROR
Notable
→
TS95170
Convert named imports to default import
ERROR
Notable
→
TS95171
Delete unused '@param' tag 'X'
ERROR
Notable
→
TS95172
Delete all unused '@param' tags
ERROR
Notable
→
TS95173
Rename '@param' tag name 'X' to 'X'
ERROR
Notable
→
TS95174
Use `X`.
ERROR
Notable
→
TS95175
Use `Number.isNaN` in all conditions.
ERROR
Notable
→
TS95176
Convert typedef to TypeScript type.
ERROR
Notable
→
TS95177
Convert all typedef to TypeScript types.
ERROR
Notable
→
TS95178
Move to file
ERROR
Notable
→
TS95179
Cannot move to file, selected file is invalid
ERROR
Notable
→
TS95180
Use 'import type'
ERROR
Notable
→
TS95181
Use 'type X'
ERROR
Notable
→
TS95182
Fix all with type-only imports
ERROR
Notable
→
TS95183
Cannot move statements to the selected file
ERROR
Notable
→
TS95184
Inline variable
ERROR
Notable
→
TS95185
Could not find variable to inline.
ERROR
Notable
→
TS95186
Variables with multiple declarations cannot be inlined.
ERROR
Notable
→
TS95187
Add missing comma for object member completion 'X'.
ERROR
Notable
→
TS95188
Add missing parameter to 'X'
ERROR
Notable
→
TS95189
Add missing parameters to 'X'
ERROR
Notable
→
TS95190
Add all missing parameters
ERROR
Notable
→
TS95191
Add optional parameter to 'X'
ERROR
Notable
→
TS95192
Add optional parameters to 'X'
ERROR
Notable
→
TS95193
Add all optional parameters
ERROR
Notable
→
TS95194
Wrap in parentheses
ERROR
Notable
→
TS95195
Wrap all invalid decorator expressions in parentheses
ERROR
Notable
→
TS95196
Add 'resolution-mode' import attribute
ERROR
Notable
→
TS95197
Add 'resolution-mode' import attribute to all type-only imports that need it
ERROR
Notable
→
TS18004
No value exists in scope for the shorthand property 'X'. Either declare one o...
ERROR
Notable
→
TS18006
Classes may not have a field named 'constructor'.
ERROR
Notable
→
TS18007
JSX expressions may not use the comma operator. Did you mean to write an array?
ERROR
Notable
→
TS18009
Private identifiers cannot be used as parameters.
ERROR
Notable
→
TS18010
An accessibility modifier cannot be used with a private identifier.
ERROR
Notable
→
TS18011
The operand of a 'delete' operator cannot be a private identifier.
ERROR
Notable
→
TS18012
'#constructor' is a reserved word.
ERROR
Notable
→
TS18013
Property 'X' is not accessible outside class 'X' because it has a private ide...
ERROR
Notable
→
TS18014
The property 'X' cannot be accessed on type 'X' within this class because it ...
ERROR
Notable
→
TS18015
Property 'X' in type 'X' refers to a different member that cannot be accessed...
ERROR
Notable
→
TS18016
Private identifiers are not allowed outside class bodies.
ERROR
Notable
→
TS18017
The shadowing declaration of 'X' is defined here
ERROR
Notable
→
TS18018
The declaration of 'X' that you probably intended to use is defined here
ERROR
Notable
→
TS18019
'X' modifier cannot be used with a private identifier.
ERROR
Notable
→
TS18024
An enum member cannot be named with a private identifier.
ERROR
Notable
→
TS18026
'#!' can only be used at the start of a file.
ERROR
Notable
→
TS18027
Compiler reserves name 'X' when emitting private identifier downlevel.
ERROR
Notable
→
TS18028
Private identifiers are only available when targeting ECMAScript 2015 and hig...
ERROR
Notable
→
TS18029
Private identifiers are not allowed in variable declarations.
ERROR
Notable
→
TS18030
An optional chain cannot contain private identifiers.
ERROR
Notable
→
TS18031
The intersection 'X' was reduced to 'never' because property 'X' has conflict...
ERROR
Notable
→
TS18032
The intersection 'X' was reduced to 'never' because property 'X' exists in mu...
ERROR
Notable
→
TS18033
Type 'X' is not assignable to type 'X' as required for computed enum member v...
ERROR
Notable
→
TS18034
Specify the JSX fragment factory function to use when targeting 'react' JSX e...
ERROR
Notable
→
TS18035
Invalid value for 'jsxFragmentFactory'. 'X' is not a valid identifier or qual...
ERROR
Notable
→
TS18036
Class decorators can't be used with static private identifier. Consider remov...
ERROR
Notable
→
TS18037
'await' expression cannot be used inside a class static block.
ERROR
Notable
→
TS18038
'for await' loops cannot be used inside a class static block.
ERROR
Notable
→
TS18039
Invalid use of 'X'. It cannot be used inside a class static block.
ERROR
Notable
→
TS18041
A 'return' statement cannot be used inside a class static block.
ERROR
Notable
→
TS18042
'X' is a type and cannot be imported in JavaScript files. Use 'X' in a JSDoc ...
ERROR
Notable
→
TS18043
Types cannot appear in export declarations in JavaScript files.
ERROR
Notable
→
TS18044
'X' is automatically exported here.
ERROR
Notable
→
TS18045
Properties with the 'accessor' modifier are only available when targeting ECM...
ERROR
Notable
→
TS18046
'X' is of type 'unknown'.
ERROR
Notable
→
TS18047
'X' is possibly 'null'.
ERROR
Notable
→
TS18048
'X' is possibly 'undefined'.
ERROR
Notable
→
TS18049
'X' is possibly 'null' or 'undefined'.
ERROR
Notable
→
TS18050
The value 'X' cannot be used here.
ERROR
Notable
→
TS18051
Compiler option 'X' cannot be given an empty string.
ERROR
Notable
→
TS18053
Its type 'X' is not a valid JSX element type.
ERROR
Notable
→
TS18054
'await using' statements cannot be used inside a class static block.
ERROR
Notable
→
TS18055
'X' has a string type, but must have syntactically recognizable string syntax...
ERROR
Notable
→
TS18056
Enum member following a non-literal numeric member must have an initializer w...
ERROR
Notable
→
TS18057
String literal import and export names are not supported when the '--module' ...
ERROR
Notable
→
TS18058
Default imports are not allowed in a deferred import.
ERROR
Notable
→
TS18059
Named imports are not allowed in a deferred import.
ERROR
Notable
→
TS18060
Deferred imports are only supported when the '--module' flag is set to 'esnex...
ERROR
Notable
→
TS18061
'X' is not a valid meta-property for keyword 'import'. Did you mean 'meta' or...
ERROR
Notable
→