TS

TypeScript Diagnostic Codes

TS 5.x2,130 codes

All 2130 TypeScript compiler diagnostic codes

Showing 2,130 of 2,130 errors
CodeMessage
TS2322Type is not assignable to type
TS2300Duplicate identifier
TS2304Cannot find name
TS2305Member does not exist on type
TS2307Cannot find module
TS2314Generic type requires type arguments
TS2324Property is private
TS2339Property does not exist on type
TS2341Property is private
TS2345Argument of type is not assignable to parameter of type
TS2355'this' implicitly has type 'any'
TS2366Function lacks ending return statement and return type does not include 'undefined'.
TS2367This comparison appears to be a mistake
TS2377A 'return' statement can only be used within a function body.
TS2415Class incorrectly implements interface
TS2420Class incorrectly extends base class
TS2448Block-scoped variable cannot be re-declared
TS2451Cannot redeclare block-scoped variable
TS2454Variable is used before being assigned
TS2511Cannot find namespace
TS2531Object is possibly 'null'
TS2532Object is possibly 'undefined'
TS2540Cannot assign to property because it is a read-only property
TS5023Unknown compiler option
TS7006Parameter implicitly has an 'any' type
TS1002Unterminated string literal.
TS1003Identifier expected.
TS1005'X' expected.
TS1006A file cannot have a reference to itself.
TS1007The parser expected to find a 'X' to match the 'X' token here.
TS1009Trailing comma not allowed.
TS1010'*/' expected.
TS1011An element access expression should take an argument.
TS1012Unexpected token.
TS1013A rest parameter or binding pattern may not have a trailing comma.
TS1014A rest parameter must be last in a parameter list.
TS1015Parameter cannot have question mark and initializer.
TS1016A required parameter cannot follow an optional parameter.
TS1017An index signature cannot have a rest parameter.
TS1018An index signature parameter cannot have an accessibility modifier.
TS1019An index signature parameter cannot have a question mark.
TS1020An index signature parameter cannot have an initializer.
TS1021An index signature must have a type annotation.
TS1022An index signature parameter must have a type annotation.
TS1024'readonly' modifier can only appear on a property declaration or index signat...
TS1025An index signature cannot have a trailing comma.
TS1028Accessibility modifier already seen.
TS1029'X' modifier must precede 'X' modifier.
TS1030'X' modifier already seen.
TS1031'X' modifier cannot appear on class elements of this kind.
TS1034'super' must be followed by an argument list or member access.
TS1035Only ambient modules can use quoted names.
TS1036Statements are not allowed in ambient contexts.
TS1038A 'declare' modifier cannot be used in an already ambient context.
TS1039Initializers are not allowed in ambient contexts.
TS1040'X' modifier cannot be used in an ambient context.
TS1042'X' modifier cannot be used here.
TS1044'X' modifier cannot appear on a module or namespace element.
TS1046Top-level declarations in .d.ts files must start with either a 'declare' or '...
TS1047A rest parameter cannot be optional.
TS1048A rest parameter cannot have an initializer.
TS1049A 'set' accessor must have exactly one parameter.
TS1051A 'set' accessor cannot have an optional parameter.
TS1052A 'set' accessor parameter cannot have an initializer.
TS1053A 'set' accessor cannot have rest parameter.
TS1054A 'get' accessor cannot have parameters.
TS1055Type 'X' is not a valid async function return type in ES5 because it does not...
TS1056Accessors are only available when targeting ECMAScript 5 and higher.
TS1058The return type of an async function must either be a valid promise or must n...
TS1059A promise must have a 'then' method.
TS1060The first parameter of the 'then' method of a promise must be a callback.
TS1061Enum member must have initializer.
TS1062Type is referenced directly or indirectly in the fulfillment callback of its ...
TS1063An export assignment cannot be used in a namespace.
TS1064The return type of an async function or method must be the global Promise<T> ...
TS1065The return type of an async function or method must be the global Promise<T> ...
TS1066In ambient enum declarations member initializer must be constant expression.
TS1068Unexpected token. A constructor, method, accessor, or property was expected.
TS1069Unexpected token. A type parameter name was expected without curly braces.
TS1070'X' modifier cannot appear on a type member.
TS1071'X' modifier cannot appear on an index signature.
TS1079A 'X' modifier cannot be used with an import declaration.
TS1084Invalid 'reference' directive syntax.
TS1089'X' modifier cannot appear on a constructor declaration.
TS1090'X' modifier cannot appear on a parameter.
TS1091Only a single variable declaration is allowed in a 'for...in' statement.
TS1092Type parameters cannot appear on a constructor declaration.
TS1093Type annotation cannot appear on a constructor declaration.
TS1094An accessor cannot have type parameters.
TS1095A 'set' accessor cannot have a return type annotation.
TS1096An index signature must have exactly one parameter.
TS1097'X' list cannot be empty.
TS1098Type parameter list cannot be empty.
TS1099Type argument list cannot be empty.
TS1100Invalid use of 'X' in strict mode.
TS1101'with' statements are not allowed in strict mode.
TS1102'delete' cannot be called on an identifier in strict mode.
TS1103'for await' loops are only allowed within async functions and at the top leve...
TS1104A 'continue' statement can only be used within an enclosing iteration statement.
TS1105A 'break' statement can only be used within an enclosing iteration or switch ...
TS1106The left-hand side of a 'for...of' statement may not be 'async'.
TS1107Jump target cannot cross function boundary.
TS1108A 'return' statement can only be used within a function body.
TS1109Expression expected.
TS1110Type expected.
TS1111Private field 'X' must be declared in an enclosing class.
TS1113A 'default' clause cannot appear more than once in a 'switch' statement.
TS1114Duplicate label 'X'.
TS1115A 'continue' statement can only jump to a label of an enclosing iteration sta...
TS1116A 'break' statement can only jump to a label of an enclosing statement.
TS1117An object literal cannot have multiple properties with the same name.
TS1118An object literal cannot have multiple get/set accessors with the same name.
TS1119An object literal cannot have property and accessor with the same name.
TS1120An export assignment cannot have modifiers.
TS1121Octal literals are not allowed. Use the syntax 'X'.
TS1123Variable declaration list cannot be empty.
TS1124Digit expected.
TS1125Hexadecimal digit expected.
TS1126Unexpected end of text.
TS1127Invalid character.
TS1128Declaration or statement expected.
TS1129Statement expected.
TS1130'case' or 'default' expected.
TS1131Property or signature expected.
TS1132Enum member expected.
TS1134Variable declaration expected.
TS1135Argument expression expected.
TS1136Property assignment expected.
TS1137Expression or comma expected.
TS1138Parameter declaration expected.
TS1139Type parameter declaration expected.
TS1140Type argument expected.
TS1141String literal expected.
TS1142Line break not permitted here.
TS1144'{' or ';' expected.
TS1145'{' or JSX element expected.
TS1146Declaration expected.
TS1147Import declarations in a namespace cannot reference a module.
TS1148Cannot use imports, exports, or module augmentations when '--module' is 'none'.
TS1149File name 'X' differs from already included file name 'X' only in casing.
TS1155'X' declarations must be initialized.
TS1156'X' declarations can only be declared inside a block.
TS1160Unterminated template literal.
TS1161Unterminated regular expression literal.
TS1162An object member cannot be declared optional.
TS1163A 'yield' expression is only allowed in a generator body.
TS1164Computed property names are not allowed in enums.
TS1165A computed property name in an ambient context must refer to an expression wh...
TS1166A computed property name in a class property declaration must have a simple l...
TS1168A computed property name in a method overload must refer to an expression who...
TS1169A computed property name in an interface must refer to an expression whose ty...
TS1170A computed property name in a type literal must refer to an expression whose ...
TS1171A comma expression is not allowed in a computed property name.
TS1172'extends' clause already seen.
TS1173'extends' clause must precede 'implements' clause.
TS1174Classes can only extend a single class.
TS1175'implements' clause already seen.
TS1176Interface declaration cannot have 'implements' clause.
TS1177Binary digit expected.
TS1178Octal digit expected.
TS1179Unexpected token. '{' expected.
TS1180Property destructuring pattern expected.
TS1181Array element destructuring pattern expected.
TS1182A destructuring declaration must have an initializer.
TS1183An implementation cannot be declared in ambient contexts.
TS1184Modifiers cannot appear here.
TS1185Merge conflict marker encountered.
TS1186A rest element cannot have an initializer.
TS1187A parameter property may not be declared using a binding pattern.
TS1188Only a single variable declaration is allowed in a 'for...of' statement.
TS1189The variable declaration of a 'for...in' statement cannot have an initializer.
TS1190The variable declaration of a 'for...of' statement cannot have an initializer.
TS1191An import declaration cannot have modifiers.
TS1192Module 'X' has no default export.
TS1193An export declaration cannot have modifiers.
TS1194Export declarations are not permitted in a namespace.
TS1195'export *' does not re-export a default.
TS1196Catch clause variable type annotation must be 'any' or 'unknown' if specified.
TS1197Catch clause variable cannot have an initializer.
TS1198An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive.
TS1199Unterminated Unicode escape sequence.
TS1200Line terminator not permitted before arrow.
TS1202Import assignment cannot be used when targeting ECMAScript modules. Consider ...
TS1203Export assignment cannot be used when targeting ECMAScript modules. Consider ...
TS1205Re-exporting a type when 'X' is enabled requires using 'export type'.
TS1206Decorators are not valid here.
TS1207Decorators cannot be applied to multiple get/set accessors of the same name.
TS1209Invalid optional chain from new expression. Did you mean to call 'X()'?
TS1210Code contained in a class is evaluated in JavaScript's strict mode which does...
TS1211A class declaration without the 'default' modifier must have a name.
TS1212Identifier expected. 'X' is a reserved word in strict mode.
TS1213Identifier expected. 'X' is a reserved word in strict mode. Class definitions...
TS1214Identifier expected. 'X' is a reserved word in strict mode. Modules are autom...
TS1215Invalid use of 'X'. Modules are automatically in strict mode.
TS1216Identifier expected. '__esModule' is reserved as an exported marker when tran...
TS1218Export assignment is not supported when '--module' flag is 'system'.
TS1221Generators are not allowed in an ambient context.
TS1222An overload signature cannot be declared as a generator.
TS1223'X' tag already specified.
TS1224Signature 'X' must be a type predicate.
TS1225Cannot find parameter 'X'.
TS1226Type predicate 'X' is not assignable to 'X'.
TS1227Parameter 'X' is not in the same position as parameter 'X'.
TS1228A type predicate is only allowed in return type position for functions and me...
TS1229A type predicate cannot reference a rest parameter.
TS1230A type predicate cannot reference element 'X' in a binding pattern.
TS1231An export assignment must be at the top level of a file or module declaration.
TS1232An import declaration can only be used at the top level of a namespace or mod...
TS1233An export declaration can only be used at the top level of a namespace or mod...
TS1234An ambient module declaration is only allowed at the top level in a file.
TS1235A namespace declaration is only allowed at the top level of a namespace or mo...
TS1236The return type of a property decorator function must be either 'void' or 'any'.
TS1237The return type of a parameter decorator function must be either 'void' or 'a...
TS1238Unable to resolve signature of class decorator when called as an expression.
TS1239Unable to resolve signature of parameter decorator when called as an expression.
TS1240Unable to resolve signature of property decorator when called as an expression.
TS1241Unable to resolve signature of method decorator when called as an expression.
TS1242'abstract' modifier can only appear on a class, method, or property declaration.
TS1243'X' modifier cannot be used with 'X' modifier.
TS1244Abstract methods can only appear within an abstract class.
TS1245Method 'X' cannot have an implementation because it is marked abstract.
TS1246An interface property cannot have an initializer.
TS1247A type literal property cannot have an initializer.
TS1248A class member cannot have the 'X' keyword.
TS1249A decorator can only decorate a method implementation, not an overload.
TS1250Function declarations are not allowed inside blocks in strict mode when targe...
TS1251Function declarations are not allowed inside blocks in strict mode when targe...
TS1252Function declarations are not allowed inside blocks in strict mode when targe...
TS1253Abstract properties can only appear within an abstract class.
TS1254A 'const' initializer in an ambient context must be a string or numeric liter...
TS1255A definite assignment assertion '!' is not permitted in this context.
TS1257A required element cannot follow an optional element.
TS1258A default export must be at the top level of a file or module declaration.
TS1259Module 'X' can only be default-imported using the 'X' flag
TS1260Keywords cannot contain escape characters.
TS1261Already included file name 'X' differs from file name 'X' only in casing.
TS1262Identifier expected. 'X' is a reserved word at the top-level of a module.
TS1263Declarations with initializers cannot also have definite assignment assertions.
TS1264Declarations with definite assignment assertions must also have type annotati...
TS1265A rest element cannot follow another rest element.
TS1266An optional element cannot follow a rest element.
TS1267Property 'X' cannot have an initializer because it is marked abstract.
TS1268An index signature parameter type must be 'string', 'number', 'symbol', or a ...
TS1269Cannot use 'export import' on a type or type-only namespace when 'X' is enabled.
TS1270Decorator function return type 'X' is not assignable to type 'X'.
TS1271Decorator function return type is 'X' but is expected to be 'void' or 'any'.
TS1272A type referenced in a decorated signature must be imported with 'import type...
TS1273'X' modifier cannot appear on a type parameter
TS1274'X' modifier can only appear on a type parameter of a class, interface or typ...
TS1275'accessor' modifier can only appear on a property declaration.
TS1276An 'accessor' property cannot be declared optional.
TS1277'X' modifier can only appear on a type parameter of a function, method or class
TS1278The runtime will invoke the decorator with X arguments, but the decorator exp...
TS1279The runtime will invoke the decorator with X arguments, but the decorator exp...
TS1280Namespaces are not allowed in global script files when 'X' is enabled. If thi...
TS1281Cannot access 'X' from another file without qualification when 'X' is enabled...
TS1282An 'export =' declaration must reference a value when 'verbatimModuleSyntax' ...
TS1283An 'export =' declaration must reference a real value when 'verbatimModuleSyn...
TS1284An 'export default' must reference a value when 'verbatimModuleSyntax' is ena...
TS1285An 'export default' must reference a real value when 'verbatimModuleSyntax' i...
TS1286ECMAScript imports and exports cannot be written in a CommonJS file under 've...
TS1287A top-level 'export' modifier cannot be used on value declarations in a Commo...
TS1288An import alias cannot resolve to a type or type-only declaration when 'verba...
TS1289'X' resolves to a type-only declaration and must be marked type-only in this ...
TS1290'X' resolves to a type-only declaration and must be marked type-only in this ...
TS1291'X' resolves to a type and must be marked type-only in this file before re-ex...
TS1292'X' resolves to a type and must be marked type-only in this file before re-ex...
TS1293ECMAScript module syntax is not allowed in a CommonJS module when 'module' is...
TS1294This syntax is not allowed when 'erasableSyntaxOnly' is enabled.
TS1295ECMAScript imports and exports cannot be written in a CommonJS file under 've...
TS1300'with' statements are not allowed in an async function block.
TS1308'await' expressions are only allowed within async functions and at the top le...
TS1309The current file is a CommonJS module and cannot use 'await' at the top level.
TS1312Did you mean to use a ':'? An '=' can only follow a property name when the co...
TS1313The body of an 'if' statement cannot be the empty statement.
TS1314Global module exports may only appear in module files.
TS1315Global module exports may only appear in declaration files.
TS1316Global module exports may only appear at top level.
TS1317A parameter property cannot be declared using a rest parameter.
TS1318An abstract accessor cannot have an implementation.
TS1319A default export can only be used in an ECMAScript-style module.
TS1320Type of 'await' operand must either be a valid promise or must not contain a ...
TS1321Type of 'yield' operand in an async generator must either be a valid promise ...
TS1322Type of iterated elements of a 'yield*' operand must either be a valid promis...
TS1323Dynamic imports are only supported when the '--module' flag is set to 'es2020...
TS1324Dynamic imports only support a second argument when the '--module' option is ...
TS1325Argument of dynamic import cannot be spread element.
TS1326This use of 'import' is invalid. 'import()' calls can be written, but they mu...
TS1327String literal with double quotes expected.
TS1328Property value can only be string literal, numeric literal, 'true', 'false', ...
TS1329'X' accepts too few arguments to be used as a decorator here. Did you mean to...
TS1330A property of an interface or type literal whose type is a 'unique symbol' ty...
TS1331A property of a class whose type is a 'unique symbol' type must be both 'stat...
TS1332A variable whose type is a 'unique symbol' type must be 'const'.
TS1333'unique symbol' types may not be used on a variable declaration with a bindin...
TS1334'unique symbol' types are only allowed on variables in a variable statement.
TS1335'unique symbol' types are not allowed here.
TS1337An index signature parameter type cannot be a literal type or generic type. C...
TS1338'infer' declarations are only permitted in the 'extends' clause of a conditio...
TS1339Module 'X' does not refer to a value, but is used as a value here.
TS1340Module 'X' does not refer to a type, but is used as a type here. Did you mean...
TS1341Class constructor may not be an accessor.
TS1343The 'import.meta' meta-property is only allowed when the '--module' option is...
TS1344'A label is not allowed here.
TS1345An expression of type 'void' cannot be tested for truthiness.
TS1346This parameter is not allowed with 'use strict' directive.
TS1347'use strict' directive cannot be used with non-simple parameter list.
TS1348Non-simple parameter declared here.
TS1349'use strict' directive used here.
TS1350Print the final configuration instead of building.
TS1351An identifier or keyword cannot immediately follow a numeric literal.
TS1352A bigint literal cannot use exponential notation.
TS1353A bigint literal must be an integer.
TS1354'readonly' type modifier is only permitted on array and tuple literal types.
TS1355A 'const' assertion can only be applied to references to enum members, or str...
TS1356Did you mean to mark this function as 'async'?
TS1357An enum member name must be followed by a ',', '=', or '}'.
TS1358Tagged template expressions are not permitted in an optional chain.
TS1359Identifier expected. 'X' is a reserved word that cannot be used here.
TS1360Type 'X' does not satisfy the expected type 'X'.
TS1361'X' cannot be used as a value because it was imported using 'import type'.
TS1362'X' cannot be used as a value because it was exported using 'export type'.
TS1363A type-only import can specify a default import or named bindings, but not both.
TS1364Convert to type-only export
TS1365Convert all re-exported types to type-only exports
TS1366Split into two separate import declarations
TS1367Split all invalid type-only imports
TS1368Class constructor may not be a generator.
TS1369Did you mean 'X'?
TS1375'await' expressions are only allowed at the top level of a file when that fil...
TS1376'X' was imported here.
TS1377'X' was exported here.
TS1378Top-level 'await' expressions are only allowed when the 'module' option is se...
TS1379An import alias cannot reference a declaration that was exported using 'expor...
TS1380An import alias cannot reference a declaration that was imported using 'impor...
TS1381Unexpected token. Did you mean `X'}` or `&rbrace;`?
TS1382Unexpected token. Did you mean `X` or `&gt;`?
TS1385Function type notation must be parenthesized when used in a union type.
TS1386Constructor type notation must be parenthesized when used in a union type.
TS1387Function type notation must be parenthesized when used in an intersection type.
TS1388Constructor type notation must be parenthesized when used in an intersection ...
TS1389'X' is not allowed as a variable declaration name.
TS1390'X' is not allowed as a parameter name.
TS1392An import alias cannot use 'import type'
TS1393Imported via X from file 'X'
TS1394Imported via X from file 'X' with packageId 'X'
TS1395Imported via X from file 'X' to import 'importHelpers' as specified in compil...
TS1396Imported via X from file 'X' with packageId 'X' to import 'importHelpers' as ...
TS1397Imported via X from file 'X' to import 'jsx' and 'jsxs' factory functions
TS1398Imported via X from file 'X' with packageId 'X' to import 'jsx' and 'jsxs' fa...
TS1399File is included via import here.
TS1400Referenced via 'X' from file 'X'
TS1401File is included via reference here.
TS1402Type library referenced via 'X' from file 'X'
TS1403Type library referenced via 'X' from file 'X' with packageId 'X'
TS1404File is included via type library reference here.
TS1405Library referenced via 'X' from file 'X'
TS1406File is included via library reference here.
TS1407Matched by include pattern 'X' in 'X'
TS1408File is matched by include pattern specified here.
TS1409Part of 'files' list in tsconfig.json
TS1410File is matched by 'files' list specified here.
TS1411Output from referenced project 'X' included because 'X' specified
TS1412Output from referenced project 'X' included because '--module' is specified a...
TS1413File is output from referenced project specified here.
TS1414Source from referenced project 'X' included because 'X' specified
TS1415Source from referenced project 'X' included because '--module' is specified a...
TS1416File is source from referenced project specified here.
TS1417Entry point of type library 'X' specified in compilerOptions
TS1418Entry point of type library 'X' specified in compilerOptions with packageId 'X'
TS1419File is entry point of type library specified here.
TS1420Entry point for implicit type library 'X'
TS1421Entry point for implicit type library 'X' with packageId 'X'
TS1422Library 'X' specified in compilerOptions
TS1423File is library specified here.
TS1424Default library
TS1425Default library for target 'X'
TS1426File is default library for target specified here.
TS1427Root file specified for compilation
TS1428File is output of project reference source 'X'
TS1429File redirects to file 'X'
TS1430The file is in the program because:
TS1431'for await' loops are only allowed at the top level of a file when that file ...
TS1432Top-level 'for await' loops are only allowed when the 'module' option is set ...
TS1433Neither decorators nor modifiers may be applied to 'this' parameters.
TS1434Unexpected keyword or identifier.
TS1435Unknown keyword or identifier. Did you mean 'X'?
TS1436Decorators must precede the name and all keywords of property declarations.
TS1437Namespace must be given a name.
TS1438Interface must be given a name.
TS1439Type alias must be given a name.
TS1440Variable declaration not allowed at this location.
TS1441Cannot start a function call in a type annotation.
TS1442Expected '=' for property initializer.
TS1443Module declaration names may only use ' or " quoted strings.
TS1448'X' resolves to a type-only declaration and must be re-exported using a type-...
TS1449Preserve unused imported values in the JavaScript output that would otherwise...
TS1450Dynamic imports can only accept a module specifier and an optional set of att...
TS1451Private identifiers are only allowed in class bodies and may only be used as ...
TS1453`resolution-mode` should be either `require` or `import`.
TS1454`resolution-mode` can only be set for type-only imports.
TS1455`resolution-mode` is the only valid key for type import assertions.
TS1456Type import assertions should have exactly one key - `resolution-mode` - with...
TS1457Matched by default include pattern '**/*'
TS1458File is ECMAScript module because 'X' has field "type" with value "module"
TS1459File is CommonJS module because 'X' has field "type" whose value is not "module"
TS1460File is CommonJS module because 'X' does not have field "type"
TS1461File is CommonJS module because 'package.json' was not found
TS1463'resolution-mode' is the only valid key for type import attributes.
TS1464Type import attributes should have exactly one key - 'resolution-mode' - with...
TS1470The 'import.meta' meta-property is not allowed in files which will build into...
TS1471Module 'X' cannot be imported using this construct. The specifier only resolv...
TS1472'catch' or 'finally' expected.
TS1473An import declaration can only be used at the top level of a module.
TS1474An export declaration can only be used at the top level of a module.
TS1475Control what method is used to detect module-format JS files.
TS1476"auto": Treat files with imports, exports, import.meta, jsx (with jsx: react-...
TS1477An instantiation expression cannot be followed by a property access.
TS1478Identifier or string literal expected.
TS1479The current file is a CommonJS module whose imports will produce 'require' ca...
TS1480To convert this file to an ECMAScript module, change its file extension to 'X...
TS1481To convert this file to an ECMAScript module, change its file extension to 'X...
TS1482To convert this file to an ECMAScript module, add the field `"type": "module"...
TS1483To convert this file to an ECMAScript module, create a local package.json fil...
TS1484'X' is a type and must be imported using a type-only import when 'verbatimMod...
TS1485'X' resolves to a type-only declaration and must be imported using a type-onl...
TS1486Decorator used before 'export' here.
TS1487Octal escape sequences are not allowed. Use the syntax 'X'.
TS1488Escape sequence 'X' is not allowed.
TS1489Decimals with leading zeros are not allowed.
TS1490File appears to be binary.
TS1491'X' modifier cannot appear on a 'using' declaration.
TS1492'X' declarations may not have binding patterns.
TS1493The left-hand side of a 'for...in' statement cannot be a 'using' declaration.
TS1494The left-hand side of a 'for...in' statement cannot be an 'await using' decla...
TS1495'X' modifier cannot appear on an 'await using' declaration.
TS1496Identifier, string literal, or number literal expected.
TS1497Expression must be enclosed in parentheses to be used as a decorator.
TS1498Invalid syntax in decorator.
TS1499Unknown regular expression flag.
TS1500Duplicate regular expression flag.
TS1501This regular expression flag is only available when targeting 'X' or later.
TS1502The Unicode (u) flag and the Unicode Sets (v) flag cannot be set simultaneously.
TS1503Named capturing groups are only available when targeting 'ES2018' or later.
TS1504Subpattern flags must be present when there is a minus sign.
TS1505Incomplete quantifier. Digit expected.
TS1506Numbers out of order in quantifier.
TS1507There is nothing available for repetition.
TS1508Unexpected 'X'. Did you mean to escape it with backslash?
TS1509This regular expression flag cannot be toggled within a subpattern.
TS1510'\k' must be followed by a capturing group name enclosed in angle brackets.
TS1511'\q' is only available inside character class.
TS1512'\c' must be followed by an ASCII letter.
TS1513Undetermined character escape.
TS1514Expected a capturing group name.
TS1515Named capturing groups with the same name must be mutually exclusive to each ...
TS1516A character class range must not be bounded by another character class.
TS1517Range out of order in character class.
TS1518Anything that would possibly match more than a single character is invalid in...
TS1519Operators must not be mixed within a character class. Wrap it in a nested cla...
TS1520Expected a class set operand.
TS1521'\q' must be followed by string alternatives enclosed in braces.
TS1522A character class must not contain a reserved double punctuator. Did you mean...
TS1523Expected a Unicode property name.
TS1524Unknown Unicode property name.
TS1525Expected a Unicode property value.
TS1526Unknown Unicode property value.
TS1527Expected a Unicode property name or value.
TS1528Any Unicode property that would possibly match more than a single character i...
TS1529Unknown Unicode property name or value.
TS1530Unicode property value expressions are only available when the Unicode (u) fl...
TS1531'\X' must be followed by a Unicode property value expression enclosed in braces.
TS1532There is no capturing group named 'X' in this regular expression.
TS1533This backreference refers to a group that does not exist. There are only X ca...
TS1534This backreference refers to a group that does not exist. There are no captur...
TS1535This character cannot be escaped in a regular expression.
TS1536Octal escape sequences and backreferences are not allowed in a character clas...
TS1537Decimal escape sequences and backreferences are not allowed in a character cl...
TS1538Unicode escape sequences are only available when the Unicode (u) flag or the ...
TS1539A 'bigint' literal cannot be used as a property name.
TS1540A 'namespace' declaration should not be declared using the 'module' keyword. ...
TS1541Type-only import of an ECMAScript module from a CommonJS module must have a '...
TS1542Type import of an ECMAScript module from a CommonJS module must have a 'resol...
TS1543Importing a JSON file into an ECMAScript module requires a 'type: "json"' imp...
TS1544Named imports from a JSON file into an ECMAScript module are not allowed when...
TS1545'using' declarations are not allowed in ambient contexts.
TS1546'await using' declarations are not allowed in ambient contexts.
TS1547'using' declarations are not allowed in 'case' or 'default' clauses unless co...
TS1548'await using' declarations are not allowed in 'case' or 'default' clauses unl...
TS1549Ignore the tsconfig found and build with commandline options and files.
TS2200The types of 'X' are incompatible between these types.
TS2201The types returned by 'X' are incompatible between these types.
TS2202Call signature return types 'X' and 'X' are incompatible.
TS2203Construct signature return types 'X' and 'X' are incompatible.
TS2204Call signatures with no arguments have incompatible return types 'X' and 'X'.
TS2205Construct signatures with no arguments have incompatible return types 'X' and...
TS2206The 'type' modifier cannot be used on a named import when 'import type' is us...
TS2207The 'type' modifier cannot be used on a named export when 'export type' is us...
TS2208This type parameter might need an `extends X` constraint.
TS2209The project root is ambiguous, but is required to resolve export map entry 'X...
TS2210The project root is ambiguous, but is required to resolve import map entry 'X...
TS2211Add `extends` constraint.
TS2212Add `extends` constraint to all type parameters
TS2301Initializer of instance member variable 'X' cannot reference identifier 'X' d...
TS2302Static members cannot reference class type parameters.
TS2303Circular definition of import alias 'X'.
TS2306File 'X' is not a module.
TS2308Module X has already exported a member named 'X'. Consider explicitly re-expo...
TS2309An export assignment cannot be used in a module with other exported elements.
TS2310Type 'X' recursively references itself as a base type.
TS2311Cannot find name 'X'. Did you mean to write this in an async function?
TS2312An interface can only extend an object type or intersection of object types w...
TS2313Type parameter 'X' has a circular constraint.
TS2315Type 'X' is not generic.
TS2316Global type 'X' must be a class or interface type.
TS2317Global type 'X' must have X type parameter(s).
TS2318Cannot find global type 'X'.
TS2319Named property 'X' of types 'X' and 'X' are not identical.
TS2320Interface 'X' cannot simultaneously extend types 'X' and 'X'.
TS2321Excessive stack depth comparing types 'X' and 'X'.
TS2323Cannot redeclare exported variable 'X'.
TS2325Property 'X' is private in type 'X' but not in type 'X'.
TS2326Types of property 'X' are incompatible.
TS2327Property 'X' is optional in type 'X' but required in type 'X'.
TS2328Types of parameters 'X' and 'X' are incompatible.
TS2329Index signature for type 'X' is missing in type 'X'.
TS2330'X' and 'X' index signatures are incompatible.
TS2331'this' cannot be referenced in a module or namespace body.
TS2332'this' cannot be referenced in current location.
TS2334'this' cannot be referenced in a static property initializer.
TS2335'super' can only be referenced in a derived class.
TS2336'super' cannot be referenced in constructor arguments.
TS2337Super calls are not permitted outside constructors or in nested functions ins...
TS2338'super' property access is permitted only in a constructor, member function, ...
TS2340Only public and protected methods of the base class are accessible via the 's...
TS2343This syntax requires an imported helper named 'X' which does not exist in 'X'...
TS2344Type 'X' does not satisfy the constraint 'X'.
TS2346Call target does not contain any signatures.
TS2347Untyped function calls may not accept type arguments.
TS2348Value of type 'X' is not callable. Did you mean to include 'new'?
TS2349This expression is not callable.
TS2350Only a void function can be called with the 'new' keyword.
TS2351This expression is not constructable.
TS2352Conversion of type 'X' to type 'X' may be a mistake because neither type suff...
TS2353Object literal may only specify known properties, and 'X' does not exist in t...
TS2354This syntax requires an imported helper but module 'X' cannot be found.
TS2356An arithmetic operand must be of type 'any', 'number', 'bigint' or an enum type.
TS2357The operand of an increment or decrement operator must be a variable or a pro...
TS2358The left-hand side of an 'instanceof' expression must be of type 'any', an ob...
TS2359The right-hand side of an 'instanceof' expression must be either of type 'any...
TS2362The left-hand side of an arithmetic operation must be of type 'any', 'number'...
TS2363The right-hand side of an arithmetic operation must be of type 'any', 'number...
TS2364The left-hand side of an assignment expression must be a variable or a proper...
TS2365Operator 'X' cannot be applied to types 'X' and 'X'.
TS2368Type parameter name cannot be 'X'.
TS2369A parameter property is only allowed in a constructor implementation.
TS2370A rest parameter must be of an array type.
TS2371A parameter initializer is only allowed in a function or constructor implemen...
TS2372Parameter 'X' cannot reference itself.
TS2373Parameter 'X' cannot reference identifier 'X' declared after it.
TS2374Duplicate index signature for type 'X'.
TS2375Type 'X' is not assignable to type 'X' with 'exactOptionalPropertyTypes: true...
TS2376A 'super' call must be the first statement in the constructor to refer to 'su...
TS2378A 'get' accessor must return a value.
TS2379Argument of type 'X' is not assignable to parameter of type 'X' with 'exactOp...
TS2383Overload signatures must all be exported or non-exported.
TS2384Overload signatures must all be ambient or non-ambient.
TS2385Overload signatures must all be public, private or protected.
TS2386Overload signatures must all be optional or required.
TS2387Function overload must be static.
TS2388Function overload must not be static.
TS2389Function implementation name must be 'X'.
TS2390Constructor implementation is missing.
TS2391Function implementation is missing or not immediately following the declaration.
TS2392Multiple constructor implementations are not allowed.
TS2393Duplicate function implementation.
TS2394This overload signature is not compatible with its implementation signature.
TS2395Individual declarations in merged declaration 'X' must be all exported or all...
TS2396Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize res...
TS2397Declaration name conflicts with built-in global identifier 'X'.
TS2398'constructor' cannot be used as a parameter property name.
TS2399Duplicate identifier '_this'. Compiler uses variable declaration '_this' to c...
TS2400Expression resolves to variable declaration '_this' that compiler uses to cap...
TS2401A 'super' call must be a root-level statement within a constructor of a deriv...
TS2402Expression resolves to '_super' that compiler uses to capture base class refe...
TS2403Subsequent variable declarations must have the same type. Variable 'X' must ...
TS2404The left-hand side of a 'for...in' statement cannot use a type annotation.
TS2405The left-hand side of a 'for...in' statement must be of type 'string' or 'any'.
TS2406The left-hand side of a 'for...in' statement must be a variable or a property...
TS2407The right-hand side of a 'for...in' statement must be of type 'any', an objec...
TS2408Setters cannot return a value.
TS2409Return type of constructor signature must be assignable to the instance type ...
TS2410The 'with' statement is not supported. All symbols in a 'with' block will hav...
TS2412Type 'X' is not assignable to type 'X' with 'exactOptionalPropertyTypes: true...
TS2411Property 'X' of type 'X' is not assignable to 'X' index type 'X'.
TS2413'X' index type 'X' is not assignable to 'X' index type 'X'.
TS2414Class name cannot be 'X'.
TS2416Property 'X' in type 'X' is not assignable to the same property in base type ...
TS2417Class static side 'X' incorrectly extends base class static side 'X'.
TS2418Type of computed property's value is 'X', which is not assignable to type 'X'.
TS2419Types of construct signatures are incompatible.
TS2422A class can only implement an object type or intersection of object types wit...
TS2423Class 'X' defines instance member function 'X', but extended class 'X' define...
TS2425Class 'X' defines instance member property 'X', but extended class 'X' define...
TS2426Class 'X' defines instance member accessor 'X', but extended class 'X' define...
TS2427Interface name cannot be 'X'.
TS2428All declarations of 'X' must have identical type parameters.
TS2430Interface 'X' incorrectly extends interface 'X'.
TS2431Enum name cannot be 'X'.
TS2432In an enum with multiple declarations, only one declaration can omit an initi...
TS2433A namespace declaration cannot be in a different file from a class or functio...
TS2434A namespace declaration cannot be located prior to a class or function with w...
TS2435Ambient modules cannot be nested in other modules or namespaces.
TS2436Ambient module declaration cannot specify relative module name.
TS2437Module 'X' is hidden by a local declaration with the same name.
TS2438Import name cannot be 'X'.
TS2439Import or export declaration in an ambient module declaration cannot referenc...
TS2440Import declaration conflicts with local declaration of 'X'.
TS2441Duplicate identifier 'X'. Compiler reserves name 'X' in top level scope of a ...
TS2442Types have separate declarations of a private property 'X'.
TS2443Property 'X' is protected but type 'X' is not a class derived from 'X'.
TS2444Property 'X' is protected in type 'X' but public in type 'X'.
TS2445Property 'X' is protected and only accessible within class 'X' and its subcla...
TS2446Property 'X' is protected and only accessible through an instance of class 'X...
TS2447The 'X' operator is not allowed for boolean types. Consider using 'X' instead.
TS2449Class 'X' used before its declaration.
TS2450Enum 'X' used before its declaration.
TS2452An enum member cannot have a numeric name.
TS2456Type alias 'X' circularly references itself.
TS2457Type alias name cannot be 'X'.
TS2458An AMD module cannot have multiple name assignments.
TS2459Module 'X' declares 'X' locally, but it is not exported.
TS2460Module 'X' declares 'X' locally, but it is exported as 'X'.
TS2461Type 'X' is not an array type.
TS2462A rest element must be last in a destructuring pattern.
TS2463A binding pattern parameter cannot be optional in an implementation signature.
TS2464A computed property name must be of type 'string', 'number', 'symbol', or 'any'.
TS2465'this' cannot be referenced in a computed property name.
TS2466'super' cannot be referenced in a computed property name.
TS2467A computed property name cannot reference a type parameter from its containin...
TS2468Cannot find global value 'X'.
TS2469The 'X' operator cannot be applied to type 'symbol'.
TS2472Spread operator in 'new' expressions is only available when targeting ECMAScr...
TS2473Enum declarations must all be const or non-const.
TS2474const enum member initializers must be constant expressions.
TS2475'const' enums can only be used in property or index access expressions or the...
TS2476A const enum member can only be accessed using a string literal.
TS2477'const' enum member initializer was evaluated to a non-finite value.
TS2478'const' enum member initializer was evaluated to disallowed value 'NaN'.
TS2480'let' is not allowed to be used as a name in 'let' or 'const' declarations.
TS2481Cannot initialize outer scoped variable 'X' in the same scope as block scoped...
TS2483The left-hand side of a 'for...of' statement cannot use a type annotation.
TS2484Export declaration conflicts with exported declaration of 'X'.
TS2487The left-hand side of a 'for...of' statement must be a variable or a property...
TS2488Type 'X' must have a '[Symbol.iterator]()' method that returns an iterator.
TS2489An iterator must have a 'next()' method.
TS2490The type returned by the 'X()' method of an iterator must have a 'value' prop...
TS2491The left-hand side of a 'for...in' statement cannot be a destructuring pattern.
TS2492Cannot redeclare identifier 'X' in catch clause.
TS2493Tuple type 'X' of length 'X' has no element at index 'X'.
TS2494Using a string in a 'for...of' statement is only supported in ECMAScript 5 an...
TS2495Type 'X' is not an array type or a string type.
TS2496The 'arguments' object cannot be referenced in an arrow function in ES5. Cons...
TS2497This module can only be referenced with ECMAScript imports/exports by turning...
TS2498Module 'X' uses 'export =' and cannot be used with 'export *'.
TS2499An interface can only extend an identifier/qualified-name with optional type ...
TS2500A class can only implement an identifier/qualified-name with optional type ar...
TS2501A rest element cannot contain a binding pattern.
TS2502'X' is referenced directly or indirectly in its own type annotation.
TS2503Cannot find namespace 'X'.
TS2504Type 'X' must have a '[Symbol.asyncIterator]()' method that returns an async ...
TS2505A generator cannot have a 'void' type annotation.
TS2506'X' is referenced directly or indirectly in its own base expression.
TS2507Type 'X' is not a constructor function type.
TS2508No base constructor has the specified number of type arguments.
TS2509Base constructor return type 'X' is not an object type or intersection of obj...
TS2510Base constructors must all have the same return type.
TS2512Overload signatures must all be abstract or non-abstract.
TS2513Abstract method 'X' in class 'X' cannot be accessed via super expression.
TS2514A tuple type cannot be indexed with a negative value.
TS2515Non-abstract class 'X' does not implement inherited abstract member X from cl...
TS2516All declarations of an abstract method must be consecutive.
TS2517Cannot assign an abstract constructor type to a non-abstract constructor type.
TS2518A 'this'-based type guard is not compatible with a parameter-based type guard.
TS2519An async iterator must have a 'next()' method.
TS2520Duplicate identifier 'X'. Compiler uses declaration 'X' to support async func...
TS2522The 'arguments' object cannot be referenced in an async function or method in...
TS2523'yield' expressions cannot be used in a parameter initializer.
TS2524'await' expressions cannot be used in a parameter initializer.
TS2526A 'this' type is available only in a non-static member of a class or interface.
TS2527The inferred type of 'X' references an inaccessible 'X' type. A type annotati...
TS2528A module cannot have multiple default exports.
TS2529Duplicate identifier 'X'. Compiler reserves name 'X' in top level scope of a ...
TS2530Property 'X' is incompatible with index signature.
TS2533Object is possibly 'null' or 'undefined'.
TS2534A function returning 'never' cannot have a reachable end point.
TS2536Type 'X' cannot be used to index type 'X'.
TS2537Type 'X' has no matching index signature for type 'X'.
TS2538Type 'X' cannot be used as an index type.
TS2539Cannot assign to 'X' because it is not a variable.
TS2542Index signature in type 'X' only permits reading.
TS2543Duplicate identifier '_newTarget'. Compiler uses variable declaration '_newTa...
TS2544Expression resolves to variable declaration '_newTarget' that compiler uses t...
TS2545A mixin class must have a constructor with a single rest parameter of type 'a...
TS2547The type returned by the 'X()' method of an async iterator must be a promise ...
TS2548Type 'X' is not an array type or does not have a '[Symbol.iterator]()' method...
TS2549Type 'X' is not an array type or a string type or does not have a '[Symbol.it...
TS2550Property 'X' does not exist on type 'X'. Do you need to change your target li...
TS2551Property 'X' does not exist on type 'X'. Did you mean 'X'?
TS2552Cannot find name 'X'. Did you mean 'X'?
TS2553Computed values are not permitted in an enum with string valued members.
TS2554Expected X arguments, but got X.
TS2555Expected at least X arguments, but got X.
TS2556A spread argument must either have a tuple type or be passed to a rest parame...
TS2558Expected X type arguments, but got X.
TS2559Type 'X' has no properties in common with type 'X'.
TS2560Value of type 'X' has no properties in common with type 'X'. Did you mean to ...
TS2561Object literal may only specify known properties, but 'X' does not exist in t...
TS2562Base class expressions cannot reference class type parameters.
TS2563The containing function or module body is too large for control flow analysis.
TS2564Property 'X' has no initializer and is not definitely assigned in the constru...
TS2565Property 'X' is used before being assigned.
TS2566A rest element cannot have a property name.
TS2567Enum declarations can only merge with namespace or other enum declarations.
TS2568Property 'X' may not exist on type 'X'. Did you mean 'X'?
TS2570Could not find name 'X'. Did you mean 'X'?
TS2571Object is of type 'unknown'.
TS2574A rest element type must be an array type.
TS2575No overload expects X arguments, but overloads do exist that expect either X ...
TS2576Property 'X' does not exist on type 'X'. Did you mean to access the static me...
TS2577Return type annotation circularly references itself.
TS2578Unused '@ts-expect-error' directive.
TS2580Cannot find name 'X'. Do you need to install type definitions for node? Try `...
TS2581Cannot find name 'X'. Do you need to install type definitions for jQuery? Try...
TS2582Cannot find name 'X'. Do you need to install type definitions for a test runn...
TS2583Cannot find name 'X'. Do you need to change your target library? Try changing...
TS2584Cannot find name 'X'. Do you need to change your target library? Try changing...
TS2585'X' only refers to a type, but is being used as a value here. Do you need to ...
TS2588Cannot assign to 'X' because it is a constant.
TS2589Type instantiation is excessively deep and possibly infinite.
TS2590Expression produces a union type that is too complex to represent.
TS2591Cannot find name 'X'. Do you need to install type definitions for node? Try `...
TS2592Cannot find name 'X'. Do you need to install type definitions for jQuery? Try...
TS2593Cannot find name 'X'. Do you need to install type definitions for a test runn...
TS2594This module is declared with 'export =', and can only be used with a default ...
TS2595'X' can only be imported by using a default import.
TS2596'X' can only be imported by turning on the 'esModuleInterop' flag and using a...
TS2597'X' can only be imported by using a 'require' call or by using a default import.
TS2598'X' can only be imported by using a 'require' call or by turning on the 'esMo...
TS2602JSX element implicitly has type 'any' because the global type 'JSX.Element' d...
TS2603Property 'X' in type 'X' is not assignable to type 'X'.
TS2604JSX element type 'X' does not have any construct or call signatures.
TS2606Property 'X' of JSX spread attribute is not assignable to target property.
TS2607JSX element class does not support attributes because it does not have a 'X' ...
TS2608The global type 'JSX.X' may not have more than one property.
TS2609JSX spread child must be an array type.
TS2610'X' is defined as an accessor in class 'X', but is overridden here in 'X' as ...
TS2611'X' is defined as a property in class 'X', but is overridden here in 'X' as a...
TS2612Property 'X' will overwrite the base property in 'X'. If this is intentional,...
TS2613Module 'X' has no default export. Did you mean to use 'import X } from X' ins...
TS2614Module 'X' has no exported member 'X'. Did you mean to use 'import X from X' ...
TS2615Type of property 'X' circularly references itself in mapped type 'X'.
TS2616'X' can only be imported by using 'import X = require(X)' or a default import.
TS2617'X' can only be imported by using 'import X = require(X)' or by turning on th...
TS2618Source has X element(s) but target requires X.
TS2619Source has X element(s) but target allows only X.
TS2620Target requires X element(s) but source may have fewer.
TS2621Target allows only X element(s) but source may have more.
TS2623Source provides no match for required element at position X in target.
TS2624Source provides no match for variadic element at position X in target.
TS2625Variadic element at position X in source does not match element at position X...
TS2626Type at position X in source is not compatible with type at position X in tar...
TS2627Type at positions X through X in source is not compatible with type at positi...
TS2628Cannot assign to 'X' because it is an enum.
TS2629Cannot assign to 'X' because it is a class.
TS2630Cannot assign to 'X' because it is a function.
TS2631Cannot assign to 'X' because it is a namespace.
TS2632Cannot assign to 'X' because it is an import.
TS2633JSX property access expressions cannot include JSX namespace names
TS2634'X' index signatures are incompatible.
TS2635Type 'X' has no signatures for which the type argument list is applicable.
TS2636Type 'X' is not assignable to type 'X' as implied by variance annotation.
TS2637Variance annotations are only supported in type aliases for object, function,...
TS2638Type 'X' may represent a primitive value, which is not permitted as the right...
TS2639React components cannot include JSX namespace names
TS2649Cannot augment module 'X' with value exports because it resolves to a non-mod...
TS2650Non-abstract class expression is missing implementations for the following me...
TS2651A member initializer in a enum declaration cannot reference members declared ...
TS2652Merged declaration 'X' cannot include a default export declaration. Consider ...
TS2653Non-abstract class expression does not implement inherited abstract member 'X...
TS2654Non-abstract class 'X' is missing implementations for the following members o...
TS2655Non-abstract class 'X' is missing implementations for the following members o...
TS2656Non-abstract class expression is missing implementations for the following me...
TS2657JSX expressions must have one parent element.
TS2658Type 'X' provides no match for the signature 'X'.
TS2659'super' is only allowed in members of object literal expressions when option ...
TS2660'super' can only be referenced in members of derived classes or object litera...
TS2661Cannot export 'X'. Only local declarations can be exported from a module.
TS2662Cannot find name 'X'. Did you mean the static member 'X.X'?
TS2663Cannot find name 'X'. Did you mean the instance member 'this.X'?
TS2664Invalid module name in augmentation, module 'X' cannot be found.
TS2665Invalid module name in augmentation. Module 'X' resolves to an untyped module...
TS2666Exports and export assignments are not permitted in module augmentations.
TS2667Imports are not permitted in module augmentations. Consider moving them to th...
TS2668'export' modifier cannot be applied to ambient modules and module augmentatio...
TS2669Augmentations for the global scope can only be directly nested in external mo...
TS2670Augmentations for the global scope should have 'declare' modifier unless they...
TS2671Cannot augment module 'X' because it resolves to a non-module entity.
TS2672Cannot assign a 'X' constructor type to a 'X' constructor type.
TS2673Constructor of class 'X' is private and only accessible within the class decl...
TS2674Constructor of class 'X' is protected and only accessible within the class de...
TS2675Cannot extend a class 'X'. Class constructor is marked as private.
TS2676Accessors must both be abstract or non-abstract.
TS2677A type predicate's type must be assignable to its parameter's type.
TS2678Type 'X' is not comparable to type 'X'.
TS2679A function that is called with the 'new' keyword cannot have a 'this' type th...
TS2680A 'X' parameter must be the first parameter.
TS2681A constructor cannot have a 'this' parameter.
TS2683'this' implicitly has type 'any' because it does not have a type annotation.
TS2684The 'this' context of type 'X' is not assignable to method's 'this' of type 'X'.
TS2685The 'this' types of each signature are incompatible.
TS2686'X' refers to a UMD global, but the current file is a module. Consider adding...
TS2687All declarations of 'X' must have identical modifiers.
TS2688Cannot find type definition file for 'X'.
TS2689Cannot extend an interface 'X'. Did you mean 'implements'?
TS2690'X' only refers to a type, but is being used as a value here. Did you mean to...
TS2692'X' is a primitive, but 'X' is a wrapper object. Prefer using 'X' when possible.
TS2693'X' only refers to a type, but is being used as a value here.
TS2694Namespace 'X' has no exported member 'X'.
TS2695Left side of comma operator is unused and has no side effects.
TS2696The 'Object' type is assignable to very few other types. Did you mean to use ...
TS2697An async function or method must return a 'Promise'. Make sure you have a dec...
TS2698Spread types may only be created from object types.
TS2699Static property 'X' conflicts with built-in property 'Function.X' of construc...
TS2700Rest types may only be created from object types.
TS2701The target of an object rest assignment must be a variable or a property access.
TS2702'X' only refers to a type, but is being used as a namespace here.
TS2703The operand of a 'delete' operator must be a property reference.
TS2704The operand of a 'delete' operator cannot be a read-only property.
TS2705An async function or method in ES5 requires the 'Promise' constructor. Make ...
TS2706Required type parameters may not follow optional type parameters.
TS2707Generic type 'X' requires between X and X type arguments.
TS2708Cannot use namespace 'X' as a value.
TS2709Cannot use namespace 'X' as a type.
TS2710'X' are specified twice. The attribute named 'X' will be overwritten.
TS2711A dynamic import call returns a 'Promise'. Make sure you have a declaration f...
TS2712A dynamic import call in ES5 requires the 'Promise' constructor. Make sure y...
TS2713Cannot access 'X.X' because 'X' is a type, but not a namespace. Did you mean ...
TS2714The expression of an export assignment must be an identifier or qualified nam...
TS2715Abstract property 'X' in class 'X' cannot be accessed in the constructor.
TS2716Type parameter 'X' has a circular default.
TS2717Subsequent property declarations must have the same type. Property 'X' must ...
TS2718Duplicate property 'X'.
TS2719Type 'X' is not assignable to type 'X'. Two different types with this name ex...
TS2720Class 'X' incorrectly implements class 'X'. Did you mean to extend 'X' and in...
TS2721Cannot invoke an object which is possibly 'null'.
TS2722Cannot invoke an object which is possibly 'undefined'.
TS2723Cannot invoke an object which is possibly 'null' or 'undefined'.
TS2724'X' has no exported member named 'X'. Did you mean 'X'?
TS2725Class name cannot be 'Object' when targeting ES5 and above with module X.
TS2726Cannot find lib definition for 'X'.
TS2727Cannot find lib definition for 'X'. Did you mean 'X'?
TS2728'X' is declared here.
TS2729Property 'X' is used before its initialization.
TS2730An arrow function cannot have a 'this' parameter.
TS2731Implicit conversion of a 'symbol' to a 'string' will fail at runtime. Conside...
TS2732Cannot find module 'X'. Consider using '--resolveJsonModule' to import module...
TS2733Property 'X' was also declared here.
TS2734Are you missing a semicolon?
TS2735Did you mean for 'X' to be constrained to type 'new (...args: any[]) => X'?
TS2736Operator 'X' cannot be applied to type 'X'.
TS2737BigInt literals are not available when targeting lower than ES2020.
TS2738An outer value of 'this' is shadowed by this container.
TS2739Type 'X' is missing the following properties from type 'X': X
TS2740Type 'X' is missing the following properties from type 'X': X, and X more.
TS2741Property 'X' is missing in type 'X' but required in type 'X'.
TS2742The inferred type of 'X' cannot be named without a reference to 'X'. This is ...
TS2743No overload expects X type arguments, but overloads do exist that expect eith...
TS2744Type parameter defaults can only reference previously declared type parameters.
TS2745This JSX tag's 'X' prop expects type 'X' which requires multiple children, bu...
TS2746This JSX tag's 'X' prop expects a single child of type 'X', but multiple chil...
TS2747'X' components don't accept text as child elements. Text in JSX has the type ...
TS2748Cannot access ambient const enums when 'X' is enabled.
TS2749'X' refers to a value, but is being used as a type here. Did you mean 'typeof...
TS2750The implementation signature is declared here.
TS2751Circularity originates in type at this location.
TS2752The first export default is here.
TS2753Another export default is here.
TS2754'super' may not use type arguments.
TS2755No constituent of type 'X' is callable.
TS2756Not all constituents of type 'X' are callable.
TS2757Type 'X' has no call signatures.
TS2758Each member of the union type 'X' has signatures, but none of those signature...
TS2759No constituent of type 'X' is constructable.
TS2760Not all constituents of type 'X' are constructable.
TS2761Type 'X' has no construct signatures.
TS2762Each member of the union type 'X' has construct signatures, but none of those...
TS2763Cannot iterate value because the 'next' method of its iterator expects type '...
TS2764Cannot iterate value because the 'next' method of its iterator expects type '...
TS2765Cannot iterate value because the 'next' method of its iterator expects type '...
TS2766Cannot delegate iteration to value because the 'next' method of its iterator ...
TS2767The 'X' property of an iterator must be a method.
TS2768The 'X' property of an async iterator must be a method.
TS2769No overload matches this call.
TS2770The last overload gave the following error.
TS2771The last overload is declared here.
TS2772Overload X of X, 'X', gave the following error.
TS2773Did you forget to use 'await'?
TS2774This condition will always return true since this function is always defined....
TS2775Assertions require every name in the call target to be declared with an expli...
TS2776Assertions require the call target to be an identifier or qualified name.
TS2777The operand of an increment or decrement operator may not be an optional prop...
TS2778The target of an object rest assignment may not be an optional property access.
TS2779The left-hand side of an assignment expression may not be an optional propert...
TS2780The left-hand side of a 'for...in' statement may not be an optional property ...
TS2781The left-hand side of a 'for...of' statement may not be an optional property ...
TS2782'X' needs an explicit type annotation.
TS2783'X' is specified more than once, so this usage will be overwritten.
TS2784'get' and 'set' accessors cannot declare 'this' parameters.
TS2785This spread always overwrites this property.
TS2786'X' cannot be used as a JSX component.
TS2787Its return type 'X' is not a valid JSX element.
TS2788Its instance type 'X' is not a valid JSX element.
TS2789Its element type 'X' is not a valid JSX element.
TS2790The operand of a 'delete' operator must be optional.
TS2791Exponentiation cannot be performed on 'bigint' values unless the 'target' opt...
TS2792Cannot find module 'X'. Did you mean to set the 'moduleResolution' option to ...
TS2793The call would have succeeded against this implementation, but implementation...
TS2794Expected X arguments, but got X. Did you forget to include 'void' in your typ...
TS2795The 'intrinsic' keyword can only be used to declare compiler provided intrins...
TS2796It is likely that you are missing a comma to separate these two template expr...
TS2797A mixin class that extends from a type variable containing an abstract constr...
TS2798The declaration was marked as deprecated here.
TS2799Type produces a tuple type that is too large to represent.
TS2800Expression produces a tuple type that is too large to represent.
TS2801This condition will always return true since this 'X' is always defined.
TS2802Type 'X' can only be iterated through when using the '--downlevelIteration' f...
TS2803Cannot assign to private method 'X'. Private methods are not writable.
TS2804Duplicate identifier 'X'. Static and instance elements cannot share the same ...
TS2806Private accessor was defined without a getter.
TS2807This syntax requires an imported helper named 'X' with X parameters, which is...
TS2808A get accessor must be at least as accessible as the setter
TS2809Declaration or statement expected. This '=' follows a block of statements, so...
TS2810Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce...
TS2811Initializer for property 'X'
TS2812Property 'X' does not exist on type 'X'. Try changing the 'lib' compiler opti...
TS2813Class declaration cannot implement overload list for 'X'.
TS2814Function with bodies can only merge with classes that are ambient.
TS2815'arguments' cannot be referenced in property initializers or class static ini...
TS2816Cannot use 'this' in a static property initializer of a decorated class.
TS2817Property 'X' has no initializer and is not definitely assigned in a class sta...
TS2818Duplicate identifier 'X'. Compiler reserves name 'X' when emitting 'super' re...
TS2819Namespace name cannot be 'X'.
TS2820Type 'X' is not assignable to type 'X'. Did you mean 'X'?
TS2821Import assertions are only supported when the '--module' option is set to 'es...
TS2822Import assertions cannot be used with type-only imports or exports.
TS2823Import attributes are only supported when the '--module' option is set to 'es...
TS2833Cannot find namespace 'X'. Did you mean 'X'?
TS2834Relative import paths need explicit file extensions in ECMAScript imports whe...
TS2835Relative import paths need explicit file extensions in ECMAScript imports whe...
TS2836Import assertions are not allowed on statements that compile to CommonJS 'req...
TS2837Import assertion values must be string literal expressions.
TS2838All declarations of 'X' must have identical constraints.
TS2839This condition will always return 'X' since JavaScript compares objects by re...
TS2840An interface cannot extend a primitive type like 'X'. It can only extend othe...
TS2842'X' is an unused renaming of 'X'. Did you intend to use it as a type annotation?
TS2843We can only write a type for 'X' by adding a type for the entire parameter here.
TS2844Type of instance member variable 'X' cannot reference identifier 'X' declared...
TS2845This condition will always return 'X'.
TS2846A declaration file cannot be imported without 'import type'. Did you mean to ...
TS2848The right-hand side of an 'instanceof' expression must not be an instantiatio...
TS2849Target signature provides too few arguments. Expected X or more, but got X.
TS2850The initializer of a 'using' declaration must be either an object with a '[Sy...
TS2851The initializer of an 'await using' declaration must be either an object with...
TS2852'await using' statements are only allowed within async functions and at the t...
TS2853'await using' statements are only allowed at the top level of a file when tha...
TS2854Top-level 'await using' statements are only allowed when the 'module' option ...
TS2855Class field 'X' defined by the parent class is not accessible in the child cl...
TS2856Import attributes are not allowed on statements that compile to CommonJS 'req...
TS2857Import attributes cannot be used with type-only imports or exports.
TS2858Import attribute values must be string literal expressions.
TS2859Excessive complexity comparing types 'X' and 'X'.
TS2860The left-hand side of an 'instanceof' expression must be assignable to the fi...
TS2861An object's '[Symbol.hasInstance]' method must return a boolean value for it ...
TS2862Type 'X' is generic and can only be indexed for reading.
TS2863A class cannot extend a primitive type like 'X'. Classes can only extend cons...
TS2864A class cannot implement a primitive type like 'X'. It can only implement oth...
TS2865Import 'X' conflicts with local value, so must be declared with a type-only i...
TS2866Import 'X' conflicts with global value used in this file, so must be declared...
TS2867Cannot find name 'X'. Do you need to install type definitions for Bun? Try `n...
TS2868Cannot find name 'X'. Do you need to install type definitions for Bun? Try `n...
TS2869Right operand of ?? is unreachable because the left operand is never nullish.
TS2870This binary expression is never nullish. Are you missing parentheses?
TS2871This expression is always nullish.
TS2872This kind of expression is always truthy.
TS2873This kind of expression is always falsy.
TS2874This JSX tag requires 'X' to be in scope, but it could not be found.
TS2875This JSX tag requires the module path 'X' to exist, but none could be found. ...
TS2876This relative import path is unsafe to rewrite because it looks like a file n...
TS2877This import uses a 'X' extension to resolve to an input TypeScript file, but ...
TS2878This import path is unsafe to rewrite because it resolves to another project,...
TS2879Using JSX fragments requires fragment factory 'X' to be in scope, but it coul...
TS2880Import assertions have been replaced by import attributes. Use 'with' instead...
TS2881This expression is never nullish.
TS2882Cannot find module or type declarations for side-effect import of 'X'.
TS2883The inferred type of 'X' cannot be named without a reference to 'X' from 'X'....
TS4000Import declaration 'X' is using private name 'X'.
TS4002Type parameter 'X' of exported class has or is using private name 'X'.
TS4004Type parameter 'X' of exported interface has or is using private name 'X'.
TS4006Type parameter 'X' of constructor signature from exported interface has or is...
TS4008Type parameter 'X' of call signature from exported interface has or is using ...
TS4010Type parameter 'X' of public static method from exported class has or is usin...
TS4012Type parameter 'X' of public method from exported class has or is using priva...
TS4014Type parameter 'X' of method from exported interface has or is using private ...
TS4016Type parameter 'X' of exported function has or is using private name 'X'.
TS4019Implements clause of exported class 'X' has or is using private name 'X'.
TS4020'extends' clause of exported class 'X' has or is using private name 'X'.
TS4021'extends' clause of exported class has or is using private name 'X'.
TS4022'extends' clause of exported interface 'X' has or is using private name 'X'.
TS4023Exported variable 'X' has or is using name 'X' from external module X but can...
TS4024Exported variable 'X' has or is using name 'X' from private module 'X'.
TS4025Exported variable 'X' has or is using private name 'X'.
TS4026Public static property 'X' of exported class has or is using name 'X' from ex...
TS4027Public static property 'X' of exported class has or is using name 'X' from pr...
TS4028Public static property 'X' of exported class has or is using private name 'X'.
TS4029Public property 'X' of exported class has or is using name 'X' from external ...
TS4030Public property 'X' of exported class has or is using name 'X' from private m...
TS4031Public property 'X' of exported class has or is using private name 'X'.
TS4032Property 'X' of exported interface has or is using name 'X' from private modu...
TS4033Property 'X' of exported interface has or is using private name 'X'.
TS4034Parameter type of public static setter 'X' from exported class has or is usin...
TS4035Parameter type of public static setter 'X' from exported class has or is usin...
TS4036Parameter type of public setter 'X' from exported class has or is using name ...
TS4037Parameter type of public setter 'X' from exported class has or is using priva...
TS4038Return type of public static getter 'X' from exported class has or is using n...
TS4039Return type of public static getter 'X' from exported class has or is using n...
TS4040Return type of public static getter 'X' from exported class has or is using p...
TS4041Return type of public getter 'X' from exported class has or is using name 'X'...
TS4042Return type of public getter 'X' from exported class has or is using name 'X'...
TS4043Return type of public getter 'X' from exported class has or is using private ...
TS4044Return type of constructor signature from exported interface has or is using ...
TS4045Return type of constructor signature from exported interface has or is using ...
TS4046Return type of call signature from exported interface has or is using name 'X...
TS4047Return type of call signature from exported interface has or is using private...
TS4048Return type of index signature from exported interface has or is using name '...
TS4049Return type of index signature from exported interface has or is using privat...
TS4050Return type of public static method from exported class has or is using name ...
TS4051Return type of public static method from exported class has or is using name ...
TS4052Return type of public static method from exported class has or is using priva...
TS4053Return type of public method from exported class has or is using name 'X' fro...
TS4054Return type of public method from exported class has or is using name 'X' fro...
TS4055Return type of public method from exported class has or is using private name...
TS4056Return type of method from exported interface has or is using name 'X' from p...
TS4057Return type of method from exported interface has or is using private name 'X'.
TS4058Return type of exported function has or is using name 'X' from external modul...
TS4059Return type of exported function has or is using name 'X' from private module...
TS4060Return type of exported function has or is using private name 'X'.
TS4061Parameter 'X' of constructor from exported class has or is using name 'X' fro...
TS4062Parameter 'X' of constructor from exported class has or is using name 'X' fro...
TS4063Parameter 'X' of constructor from exported class has or is using private name...
TS4064Parameter 'X' of constructor signature from exported interface has or is usin...
TS4065Parameter 'X' of constructor signature from exported interface has or is usin...
TS4066Parameter 'X' of call signature from exported interface has or is using name ...
TS4067Parameter 'X' of call signature from exported interface has or is using priva...
TS4068Parameter 'X' of public static method from exported class has or is using nam...
TS4069Parameter 'X' of public static method from exported class has or is using nam...
TS4070Parameter 'X' of public static method from exported class has or is using pri...
TS4071Parameter 'X' of public method from exported class has or is using name 'X' f...
TS4072Parameter 'X' of public method from exported class has or is using name 'X' f...
TS4073Parameter 'X' of public method from exported class has or is using private na...
TS4074Parameter 'X' of method from exported interface has or is using name 'X' from...
TS4075Parameter 'X' of method from exported interface has or is using private name ...
TS4076Parameter 'X' of exported function has or is using name 'X' from external mod...
TS4077Parameter 'X' of exported function has or is using name 'X' from private modu...
TS4078Parameter 'X' of exported function has or is using private name 'X'.
TS4081Exported type alias 'X' has or is using private name 'X'.
TS4082Default export of the module has or is using private name 'X'.
TS4083Type parameter 'X' of exported type alias has or is using private name 'X'.
TS4084Exported type alias 'X' has or is using private name 'X' from module X.
TS4085Extends clause for inferred type 'X' has or is using private name 'X'.
TS4091Parameter 'X' of index signature from exported interface has or is using name...
TS4092Parameter 'X' of index signature from exported interface has or is using priv...
TS4094Property 'X' of exported anonymous class type may not be private or protected.
TS4095Public static method 'X' of exported class has or is using name 'X' from exte...
TS4096Public static method 'X' of exported class has or is using name 'X' from priv...
TS4097Public static method 'X' of exported class has or is using private name 'X'.
TS4098Public method 'X' of exported class has or is using name 'X' from external mo...
TS4099Public method 'X' of exported class has or is using name 'X' from private mod...
TS4100Public method 'X' of exported class has or is using private name 'X'.
TS4101Method 'X' of exported interface has or is using name 'X' from private module...
TS4102Method 'X' of exported interface has or is using private name 'X'.
TS4103Type parameter 'X' of exported mapped object type is using private name 'X'.
TS4104The type 'X' is 'readonly' and cannot be assigned to the mutable type 'X'.
TS4105Private or protected member 'X' cannot be accessed on a type parameter.
TS4106Parameter 'X' of accessor has or is using private name 'X'.
TS4107Parameter 'X' of accessor has or is using name 'X' from private module 'X'.
TS4108Parameter 'X' of accessor has or is using name 'X' from external module 'X' b...
TS4109Type arguments for 'X' circularly reference themselves.
TS4110Tuple type arguments circularly reference themselves.
TS4111Property 'X' comes from an index signature, so it must be accessed with ['X'].
TS4112This member cannot have an 'override' modifier because its containing class '...
TS4113This member cannot have an 'override' modifier because it is not declared in ...
TS4114This member must have an 'override' modifier because it overrides a member in...
TS4115This parameter property must have an 'override' modifier because it overrides...
TS4116This member must have an 'override' modifier because it overrides an abstract...
TS4117This member cannot have an 'override' modifier because it is not declared in ...
TS4118The type of this node cannot be serialized because its property 'X' cannot be...
TS4119This member must have a JSDoc comment with an '@override' tag because it over...
TS4120This parameter property must have a JSDoc comment with an '@override' tag bec...
TS4121This member cannot have a JSDoc comment with an '@override' tag because its c...
TS4122This member cannot have a JSDoc comment with an '@override' tag because it is...
TS4123This member cannot have a JSDoc comment with an 'override' tag because it is ...
TS4124Compiler option 'X' of value 'X' is unstable. Use nightly TypeScript to silen...
TS4125Each declaration of 'X.X' differs in its value, where 'X' was expected but 'X...
TS4126One value of 'X.X' is the string 'X', and the other is assumed to be an unkno...
TS4127This member cannot have an 'override' modifier because its name is dynamic.
TS4128This member cannot have a JSDoc comment with an '@override' tag because its n...
TS5001The current host does not support the 'X' option.
TS5009Cannot find the common subdirectory path for the input files.
TS5010File specification cannot end in a recursive directory wildcard ('**'): 'X'.
TS5011The common source directory of 'X' is 'X'. The 'rootDir' setting must be expl...
TS5012Cannot read file 'X': X.
TS5024Compiler option 'X' requires a value of type X.
TS5025Unknown compiler option 'X'. Did you mean 'X'?
TS5033Could not write file 'X': X.
TS5042Option 'project' cannot be mixed with source files on a command line.
TS5047Option 'isolatedModules' can only be used when either option '--module' is pr...
TS5051Option 'X can only be used when either option '--inlineSourceMap' or option '...
TS5052Option 'X' cannot be specified without specifying option 'X'.
TS5053Option 'X' cannot be specified with option 'X'.
TS5054A 'tsconfig.json' file is already defined at: 'X'.
TS5055Cannot write file 'X' because it would overwrite input file.
TS5056Cannot write file 'X' because it would be overwritten by multiple input files.
TS5057Cannot find a tsconfig.json file at the specified directory: 'X'.
TS5058The specified path does not exist: 'X'.
TS5059Invalid value for '--reactNamespace'. 'X' is not a valid identifier.
TS5061Pattern 'X' can have at most one '*' character.
TS5062Substitution 'X' in pattern 'X' can have at most one '*' character.
TS5063Substitutions for pattern 'X' should be an array.
TS5064Substitution 'X' for pattern 'X' has incorrect type, expected 'string', got 'X'.
TS5065File specification cannot contain a parent directory ('..') that appears afte...
TS5066Substitutions for pattern 'X' shouldn't be an empty array.
TS5067Invalid value for 'jsxFactory'. 'X' is not a valid identifier or qualified-name.
TS5068Adding a tsconfig.json file will help organize projects that contain both Typ...
TS5069Option 'X' cannot be specified without specifying option 'X' or option 'X'.
TS5070Option '--resolveJsonModule' cannot be specified when 'moduleResolution' is s...
TS5071Option '--resolveJsonModule' cannot be specified when 'module' is set to 'non...
TS5072Unknown build option 'X'.
TS5073Build option 'X' requires a value of type X.
TS5074Option '--incremental' can only be specified using tsconfig, emitting to sing...
TS5075'X' is assignable to the constraint of type 'X', but 'X' could be instantiate...
TS5076'X' and 'X' operations cannot be mixed without parentheses.
TS5077Unknown build option 'X'. Did you mean 'X'?
TS5078Unknown watch option 'X'.
TS5079Unknown watch option 'X'. Did you mean 'X'?
TS5080Watch option 'X' requires a value of type X.
TS5081Cannot find a tsconfig.json file at the current directory: X.
TS5082'X' could be instantiated with an arbitrary type which could be unrelated to ...
TS5083Cannot read file 'X'.
TS5085A tuple member cannot be both optional and rest.
TS5086A labeled tuple element is declared as optional with a question mark after th...
TS5087A labeled tuple element is declared as rest with a '...' before the name, rat...
TS5088The inferred type of 'X' references a type with a cyclic structure which cann...
TS5089Option 'X' cannot be specified when option 'jsx' is 'X'.
TS5090Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget ...
TS5091Option 'preserveConstEnums' cannot be disabled when 'X' is enabled.
TS5092The root value of a 'X' file must be an object.
TS5093Compiler option '--X' may only be used with '--build'.
TS5094Compiler option '--X' may not be used with '--build'.
TS5095Option 'X' can only be used when 'module' is set to 'preserve', 'commonjs', o...
TS5096Option 'allowImportingTsExtensions' can only be used when one of 'noEmit', 'e...
TS5097An import path can only end with a 'X' extension when 'allowImportingTsExtens...
TS5098Option 'X' can only be used when 'moduleResolution' is set to 'node16', 'node...
TS5101Option 'X' is deprecated and will stop functioning in TypeScript X. Specify c...
TS5102Option 'X' has been removed. Please remove it from your configuration.
TS5103Invalid value for '--ignoreDeprecations'.
TS5104Option 'X' is redundant and cannot be specified with option 'X'.
TS5105Option 'verbatimModuleSyntax' cannot be used when 'module' is set to 'UMD', '...
TS5106Use 'X' instead.
TS5107Option 'X=X' is deprecated and will stop functioning in TypeScript X. Specify...
TS5108Option 'X=X' has been removed. Please remove it from your configuration.
TS5109Option 'moduleResolution' must be set to 'X' (or left unspecified) when optio...
TS5110Option 'module' must be set to 'X' when option 'moduleResolution' is set to 'X'.
TS5111Visit https://aka.ms/ts6 for migration information.
TS5112tsconfig.json is present but will not be loaded if files are specified on com...
TS6000Generates a sourcemap for each corresponding '.d.ts' file.
TS6001Concatenate and emit output to single file.
TS6002Generates corresponding '.d.ts' file.
TS6004Specify the location where debugger should locate TypeScript files instead of...
TS6005Watch input files.
TS6006Redirect output structure to the directory.
TS6007Do not erase const enum declarations in generated code.
TS6008Do not emit outputs if any errors were reported.
TS6009Do not emit comments to output.
TS6010Do not emit outputs.
TS6011Allow default imports from modules with no default export. This does not affe...
TS6012Skip type checking of declaration files.
TS6013Do not resolve the real path of symlinks.
TS6014Only emit '.d.ts' declaration files.
TS6015Specify ECMAScript target version.
TS6016Specify module code generation.
TS6017Print this message.
TS6019Print the compiler's version.
TS6020Compile the project given the path to its configuration file, or to a folder ...
TS6023Syntax: X
TS6024options
TS6025file
TS6026Examples: X
TS6027Options:
TS6029Version X
TS6030Insert command line options and files from a file.
TS6031Starting compilation in watch mode...
TS6032File change detected. Starting incremental compilation...
TS6034KIND
TS6035FILE
TS6036VERSION
TS6037LOCATION
TS6038DIRECTORY
TS6039STRATEGY
TS6040FILE OR DIRECTORY
TS6041Errors Files
TS6043Generates corresponding '.map' file.
TS6044Compiler option 'X' expects an argument.
TS6045Unterminated quoted string in response file 'X'.
TS6046Argument for 'X' option must be: X.
TS6048Locale must be of the form <language> or <language>-<territory>. For example ...
TS6050Unable to open file 'X'.
TS6051Corrupted locale file X.
TS6052Raise error on expressions and declarations with an implied 'any' type.
TS6053File 'X' not found.
TS6054File 'X' has an unsupported extension. The only supported extensions are X.
TS6055Suppress noImplicitAny errors for indexing objects lacking index signatures.
TS6056Do not emit declarations for code that has an '@internal' annotation.
TS6058Specify the root directory of input files. Use to control the output director...
TS6059File 'X' is not under 'rootDir' 'X'. 'rootDir' is expected to contain all sou...
TS6060Specify the end of line sequence to be used when emitting files: 'CRLF' (dos)...
TS6061NEWLINE
TS6064Option 'X' can only be specified in 'tsconfig.json' file or set to 'null' on ...
TS6065Enables experimental support for ES7 decorators.
TS6066Enables experimental support for emitting type metadata for decorators.
TS6070Initializes a TypeScript project and creates a tsconfig.json file.
TS6071Successfully created a tsconfig.json file.
TS6072Suppress excess property checks for object literals.
TS6073Stylize errors and messages using color and context (experimental).
TS6074Do not report errors on unused labels.
TS6075Report error when not all code paths in function return a value.
TS6076Report errors for fallthrough cases in switch statement.
TS6077Do not report errors on unreachable code.
TS6078Disallow inconsistently-cased references to the same file.
TS6079Specify library files to be included in the compilation.
TS6080Specify JSX code generation.
TS6082Only 'amd' and 'system' modules are supported alongside --X.
TS6083Base directory to resolve non-absolute module names.
TS6084[Deprecated] Use '--jsxFactory' instead. Specify the object invoked for creat...
TS6085Enable tracing of the name resolution process.
TS6086======== Resolving module 'X' from 'X'. ========
TS6087Explicitly specified module resolution kind: 'X'.
TS6088Module resolution kind is not specified, using 'X'.
TS6089======== Module name 'X' was successfully resolved to 'X'. ========
TS6090======== Module name 'X' was not resolved. ========
TS6091'paths' option is specified, looking for a pattern to match module name 'X'.
TS6092Module name 'X', matched pattern 'X'.
TS6093Trying substitution 'X', candidate module location: 'X'.
TS6094Resolving module name 'X' relative to base url 'X' - 'X'.
TS6095Loading module as file / folder, candidate module location 'X', target file t...
TS6096File 'X' does not exist.
TS6097File 'X' exists - use it as a name resolution result.
TS6098Loading module 'X' from 'node_modules' folder, target file types: X.
TS6099Found 'package.json' at 'X'.
TS6100'package.json' does not have a 'X' field.
TS6101'package.json' has 'X' field 'X' that references 'X'.
TS6102Allow javascript files to be compiled.
TS6104Checking if 'X' is the longest matching prefix for 'X' - 'X'.
TS6105Expected type of 'X' field in 'package.json' to be 'X', got 'X'.
TS6106'baseUrl' option is set to 'X', using this value to resolve non-relative modu...
TS6107'rootDirs' option is set, using it to resolve relative module name 'X'.
TS6108Longest matching prefix for 'X' is 'X'.
TS6109Loading 'X' from the root dir 'X', candidate location 'X'.
TS6110Trying other entries in 'rootDirs'.
TS6111Module resolution using 'rootDirs' has failed.
TS6112Do not emit 'use strict' directives in module output.
TS6113Enable strict null checks.
TS6114Unknown option 'excludes'. Did you mean 'exclude'?
TS6115Raise error on 'this' expressions with an implied 'any' type.
TS6116======== Resolving type reference directive 'X', containing file 'X', root di...
TS6119======== Type reference directive 'X' was successfully resolved to 'X', prima...
TS6120======== Type reference directive 'X' was not resolved. ========
TS6121Resolving with primary search path 'X'.
TS6122Root directory cannot be determined, skipping primary search paths.
TS6123======== Resolving type reference directive 'X', containing file 'X', root di...
TS6124Type declaration files to be included in compilation.
TS6125Looking up in 'node_modules' folder, initial location 'X'.
TS6126Containing file is not specified and root directory cannot be determined, ski...
TS6127======== Resolving type reference directive 'X', containing file not set, roo...
TS6128======== Resolving type reference directive 'X', containing file not set, roo...
TS6130Resolving real path for 'X', result 'X'.
TS6131Cannot compile modules using option 'X' unless the '--module' flag is 'amd' o...
TS6132File name 'X' has a 'X' extension - stripping it.
TS6133'X' is declared but its value is never read.
TS6134Report errors on unused locals.
TS6135Report errors on unused parameters.
TS6136The maximum dependency depth to search under node_modules and load JavaScript...
TS6137Cannot import type declaration files. Consider importing 'X' instead of 'X'.
TS6138Property 'X' is declared but its value is never read.
TS6139Import emit helpers from 'tslib'.
TS6140Auto discovery for typings is enabled in project 'X'. Running extra resolutio...
TS6141Parse in strict mode and emit "use strict" for each source file.
TS6142Module 'X' was resolved to 'X', but '--jsx' is not set.
TS6144Module 'X' was resolved as locally declared ambient module in file 'X'.
TS6146Specify the JSX factory function to use when targeting 'react' JSX emit, e.g....
TS6147Resolution for module 'X' was found in cache from location 'X'.
TS6148Directory 'X' does not exist, skipping all lookups in it.
TS6149Show diagnostic information.
TS6150Show verbose diagnostic information.
TS6151Emit a single file with source maps instead of having a separate file.
TS6152Emit the source alongside the sourcemaps within a single file; requires '--in...
TS6153Transpile each file as a separate module (similar to 'ts.transpileModule').
TS6154Print names of generated files part of the compilation.
TS6155Print names of files part of the compilation.
TS6156The locale used when displaying messages to the user (e.g. 'en-us')
TS6157Do not generate custom helper functions like '__extends' in compiled output.
TS6158Do not include the default library file (lib.d.ts).
TS6159Do not add triple-slash references or imported modules to the list of compile...
TS6160[Deprecated] Use '--skipLibCheck' instead. Skip type checking of default libr...
TS6161List of folders to include type definitions from.
TS6162Disable size limitations on JavaScript projects.
TS6163The character set of the input files.
TS6164Skipping module 'X' that looks like an absolute URI, target file types: X.
TS6165Do not truncate error messages.
TS6166Output directory for generated declaration files.
TS6167A series of entries which re-map imports to lookup locations relative to the ...
TS6168List of root folders whose combined content represents the structure of the p...
TS6169Show all compiler options.
TS6170[Deprecated] Use '--outFile' instead. Concatenate and emit output to single file
TS6171Command-line Options
TS6179Provide full support for iterables in 'for-of', spread, and destructuring whe...
TS6180Enable all strict type-checking options.
TS6182Scoped package detected, looking in 'X'
TS6183Reusing resolution of module 'X' from 'X' of old program, it was successfully...
TS6184Reusing resolution of module 'X' from 'X' of old program, it was successfully...
TS6186Enable strict checking of function types.
TS6187Enable strict checking of property initialization in classes.
TS6188Numeric separators are not allowed here.
TS6189Multiple consecutive numeric separators are not permitted.
TS6191Whether to keep outdated console output in watch mode instead of clearing the...
TS6192All imports in import declaration are unused.
TS6193Found 1 error. Watching for file changes.
TS6194Found X errors. Watching for file changes.
TS6195Resolve 'keyof' to string valued property names only (no numbers or symbols).
TS6196'X' is declared but never used.
TS6197Include modules imported with '.json' extension
TS6198All destructured elements are unused.
TS6199All variables are unused.
TS6200Definitions of the following identifiers conflict with those in another file: X
TS6201Conflicts are in this file.
TS6202Project references may not form a circular graph. Cycle detected: X
TS6203'X' was also declared here.
TS6204and here.
TS6205All type parameters are unused.
TS6206'package.json' has a 'typesVersions' field with version-specific path mappings.
TS6207'package.json' does not have a 'typesVersions' entry that matches version 'X'.
TS6208'package.json' has a 'typesVersions' entry 'X' that matches compiler version ...
TS6209'package.json' has a 'typesVersions' entry 'X' that is not a valid semver range.
TS6210An argument for 'X' was not provided.
TS6211An argument matching this binding pattern was not provided.
TS6212Did you mean to call this expression?
TS6213Did you mean to use 'new' with this expression?
TS6214Enable strict 'bind', 'call', and 'apply' methods on functions.
TS6215Using compiler options of project reference redirect 'X'.
TS6216Found 1 error.
TS6217Found X errors.
TS6218======== Module name 'X' was successfully resolved to 'X' with Package ID 'X'...
TS6219======== Type reference directive 'X' was successfully resolved to 'X' with P...
TS6220'package.json' had a falsy 'X' field.
TS6221Disable use of source files instead of declaration files from referenced proj...
TS6222Emit class fields with Define instead of Set.
TS6223Generates a CPU profile.
TS6224Disable solution searching for this project.
TS6225Specify strategy for watching file: 'FixedPollingInterval' (default), 'Priori...
TS6226Specify strategy for watching directory on platforms that don't support recur...
TS6227Specify strategy for creating a polling watch when it fails to create using f...
TS6229Tag 'X' expects at least 'X' arguments, but the JSX factory 'X' provides at m...
TS6230Option 'X' can only be specified in 'tsconfig.json' file or set to 'false' or...
TS6231Could not resolve the path 'X' with the extensions: X.
TS6232Declaration augments declaration in another file. This cannot be serialized.
TS6233This is the declaration being augmented. Consider moving the augmenting decla...
TS6234This expression is not callable because it is a 'get' accessor. Did you mean ...
TS6235Disable loading referenced projects.
TS6236Arguments for the rest parameter 'X' were not provided.
TS6237Generates an event trace and a list of types.
TS6238Specify the module specifier to be used to import the 'jsx' and 'jsxs' factor...
TS6239File 'X' exists according to earlier cached lookups.
TS6240File 'X' does not exist according to earlier cached lookups.
TS6241Resolution for type reference directive 'X' was found in cache from location ...
TS6242======== Resolving type reference directive 'X', containing file 'X'. ========
TS6243Interpret optional property types as written, rather than adding 'undefined'.
TS6244Modules
TS6245File Management
TS6246Emit
TS6247JavaScript Support
TS6248Type Checking
TS6249Editor Support
TS6250Watch and Build Modes
TS6251Compiler Diagnostics
TS6252Interop Constraints
TS6253Backwards Compatibility
TS6254Language and Environment
TS6255Projects
TS6256Output Formatting
TS6257Completeness
TS6258'X' should be set inside the 'compilerOptions' object of the config json file
TS6259Found 1 error in X
TS6260Found X errors in the same file, starting at: X
TS6261Found X errors in X files.
TS6262File name 'X' has a 'X' extension - looking up 'X' instead.
TS6263Module 'X' was resolved to 'X', but '--allowArbitraryExtensions' is not set.
TS6264Enable importing files with any extension, provided a declaration file is pre...
TS6265Resolving type reference directive for program that specifies custom typeRoot...
TS6266Option 'X' can only be specified on command line.
TS6270Directory 'X' has no containing package.json scope. Imports will not resolve.
TS6271Import specifier 'X' does not exist in package.json scope at path 'X'.
TS6272Invalid import specifier 'X' has no possible resolutions.
TS6273package.json scope 'X' has no imports defined.
TS6274package.json scope 'X' explicitly maps specifier 'X' to null.
TS6275package.json scope 'X' has invalid type for target of specifier 'X'
TS6276Export specifier 'X' does not exist in package.json scope at path 'X'.
TS6277Resolution of non-relative name failed; trying with modern Node resolution fe...
TS6278There are types at 'X', but this result could not be resolved when respecting...
TS6279Resolution of non-relative name failed; trying with '--moduleResolution bundl...
TS6280There are types at 'X', but this result could not be resolved under your curr...
TS6281'package.json' has a 'peerDependencies' field.
TS6282Found peerDependency 'X' with 'X' version.
TS6283Failed to find peerDependency 'X'.
TS6284File Layout
TS6285Environment Settings
TS6286See also https://aka.ms/tsconfig/module
TS6287For nodejs:
TS6290and npm install -D @types/node
TS6291Other Outputs
TS6292Stricter Typechecking Options
TS6293Style Options
TS6294Recommended Options
TS6302Enable project compilation
TS6304Composite projects may not disable declaration emit.
TS6305Output file 'X' has not been built from source file 'X'.
TS6306Referenced project 'X' must have setting "composite": true.
TS6307File 'X' is not listed within the file list of project 'X'. Projects must lis...
TS6310Referenced project 'X' may not disable emit.
TS6350Project 'X' is out of date because output 'X' is older than input 'X'
TS6351Project 'X' is up to date because newest input 'X' is older than output 'X'
TS6352Project 'X' is out of date because output file 'X' does not exist
TS6353Project 'X' is out of date because its dependency 'X' is out of date
TS6354Project 'X' is up to date with .d.ts files from its dependencies
TS6355Projects in this build: X
TS6356A non-dry build would delete the following files: X
TS6357A non-dry build would build project 'X'
TS6358Building project 'X'...
TS6359Updating output timestamps of project 'X'...
TS6361Project 'X' is up to date
TS6362Skipping build of project 'X' because its dependency 'X' has errors
TS6363Project 'X' can't be built because its dependency 'X' has errors
TS6364Build one or more projects and their dependencies, if out of date
TS6365Delete the outputs of all projects.
TS6367Show what would be built (or deleted, if specified with '--clean')
TS6369Option '--build' must be the first command line argument.
TS6370Options 'X' and 'X' cannot be combined.
TS6371Updating unchanged output timestamps of project 'X'...
TS6374A non-dry build would update timestamps for output of project 'X'
TS6377Cannot write file 'X' because it will overwrite '.tsbuildinfo' file generated...
TS6379Composite projects may not disable incremental compilation.
TS6380Specify file to store incremental compilation information
TS6381Project 'X' is out of date because output for it was generated with version '...
TS6382Skipping build of project 'X' because its dependency 'X' was not built
TS6383Project 'X' can't be built because its dependency 'X' was not built
TS6384Have recompiles in '--incremental' and '--watch' assume that changes within a...
TS6385'X' is deprecated.
TS6386Performance timings for '--diagnostics' or '--extendedDiagnostics' are not av...
TS6387The signature 'X' of 'X' is deprecated.
TS6388Project 'X' is being forcibly rebuilt
TS6389Reusing resolution of module 'X' from 'X' of old program, it was not resolved.
TS6390Reusing resolution of type reference directive 'X' from 'X' of old program, i...
TS6391Reusing resolution of type reference directive 'X' from 'X' of old program, i...
TS6392Reusing resolution of type reference directive 'X' from 'X' of old program, i...
TS6393Reusing resolution of module 'X' from 'X' found in cache from location 'X', i...
TS6394Reusing resolution of module 'X' from 'X' found in cache from location 'X', i...
TS6395Reusing resolution of module 'X' from 'X' found in cache from location 'X', i...
TS6396Reusing resolution of type reference directive 'X' from 'X' found in cache fr...
TS6397Reusing resolution of type reference directive 'X' from 'X' found in cache fr...
TS6398Reusing resolution of type reference directive 'X' from 'X' found in cache fr...
TS6399Project 'X' is out of date because buildinfo file 'X' indicates that some of ...
TS6400Project 'X' is up to date but needs to update timestamps of output files that...
TS6401Project 'X' is out of date because there was error reading file 'X'
TS6402Resolving in X mode with conditions X.
TS6403Matched 'X' condition 'X'.
TS6404Using 'X' subpath 'X' with target 'X'.
TS6405Saw non-matching condition 'X'.
TS6406Project 'X' is out of date because buildinfo file 'X' indicates there is chan...
TS6407Allow imports to include TypeScript file extensions. Requires '--moduleResolu...
TS6408Use the package.json 'exports' field when resolving package imports.
TS6409Use the package.json 'imports' field when resolving imports.
TS6410Conditions to set in addition to the resolver-specific defaults when resolvin...
TS6411`true` when 'moduleResolution' is 'node16', 'nodenext', or 'bundler'; otherwi...
TS6412Project 'X' is out of date because buildinfo file 'X' indicates that file 'X'...
TS6413Entering conditional exports.
TS6414Resolved under condition 'X'.
TS6415Failed to resolve under condition 'X'.
TS6416Exiting conditional exports.
TS6417Searching all ancestor node_modules directories for preferred extensions: X.
TS6418Searching all ancestor node_modules directories for fallback extensions: X.
TS6419Project 'X' is out of date because buildinfo file 'X' indicates that program ...
TS6420Project 'X' is out of date because X.
TS6421Rewrite '.ts', '.tsx', '.mts', and '.cts' file extensions in relative import ...
TS6500The expected type comes from property 'X' which is declared here on type 'X'
TS6501The expected type comes from this index signature.
TS6502The expected type comes from the return type of this signature.
TS6503Print names of files that are part of the compilation and then stop processing.
TS6504File 'X' is a JavaScript file. Did you mean to enable the 'allowJs' option?
TS6505Print names of files and the reason they are part of the compilation.
TS6506Consider adding a 'declare' modifier to this class.
TS6600Allow JavaScript files to be a part of your program. Use the 'checkJs' option...
TS6601Allow 'import x from y' when a module doesn't have a default export.
TS6602Allow accessing UMD globals from modules.
TS6603Disable error reporting for unreachable code.
TS6604Disable error reporting for unused labels.
TS6605Ensure 'use strict' is always emitted.
TS6606Have recompiles in projects that use 'incremental' and 'watch' mode assume th...
TS6607Specify the base directory to resolve non-relative module names.
TS6608No longer supported. In early versions, manually set the text encoding for re...
TS6609Enable error reporting in type-checked JavaScript files.
TS6611Enable constraints that allow a TypeScript project to be used with project re...
TS6612Generate .d.ts files from TypeScript and JavaScript files in your project.
TS6613Specify the output directory for generated declaration files.
TS6614Create sourcemaps for d.ts files.
TS6615Output compiler performance information after building.
TS6616Disables inference for type acquisition by looking at filenames in a project.
TS6617Reduce the number of projects loaded automatically by TypeScript.
TS6618Remove the 20mb cap on total source code size for JavaScript files in the Typ...
TS6619Opt a project out of multi-project reference checking when editing.
TS6620Disable preferring source files instead of declaration files when referencing...
TS6621Emit more compliant, but verbose and less performant JavaScript for iteration.
TS6622Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files.
TS6623Only output d.ts files and not JavaScript files.
TS6624Emit design-type metadata for decorated declarations in source files.
TS6625Disable the type acquisition for JavaScript projects
TS6626Emit additional JavaScript to ease support for importing CommonJS modules. Th...
TS6627Filters results from the `include` option.
TS6628Remove a list of directories from the watch process.
TS6629Remove a list of files from the watch mode's processing.
TS6630Enable experimental support for legacy experimental decorators.
TS6631Print files read during the compilation including why it was included.
TS6632Output more detailed compiler performance information after building.
TS6633Specify one or more path or node module references to base configuration file...
TS6634Specify what approach the watcher should use if the system runs out of native...
TS6635Include a list of files. This does not support glob patterns, as opposed to `...
TS6636Build all projects, including those that appear to be up to date.
TS6637Ensure that casing is correct in imports.
TS6638Emit a v8 CPU profile of the compiler run for debugging.
TS6639Allow importing helper functions from tslib once per project, instead of incl...
TS6640Skip building downstream projects on error in upstream project.
TS6641Specify a list of glob patterns that match files to be included in compilation.
TS6642Save .tsbuildinfo files to allow for incremental compilation of projects.
TS6643Include sourcemap files inside the emitted JavaScript.
TS6644Include source code in the sourcemaps inside the emitted JavaScript.
TS6645Ensure that each file can be safely transpiled without relying on other imports.
TS6646Specify what JSX code is generated.
TS6647Specify the JSX factory function used when targeting React JSX emit, e.g. 'Re...
TS6648Specify the JSX Fragment reference used for fragments when targeting React JS...
TS6649Specify module specifier used to import the JSX factory functions when using ...
TS6650Make keyof only return strings instead of string, numbers or symbols. Legacy ...
TS6651Specify a set of bundled library declaration files that describe the target r...
TS6652Print the names of emitted files after a compilation.
TS6653Print all of the files read during the compilation.
TS6654Set the language of the messaging from TypeScript. This does not affect emit.
TS6655Specify the location where debugger should locate map files instead of genera...
TS6656Specify the maximum folder depth used for checking JavaScript files from 'nod...
TS6657Specify what module code is generated.
TS6658Specify how TypeScript looks up a file from a given module specifier.
TS6659Set the newline character for emitting files.
TS6660Disable emitting files from a compilation.
TS6661Disable generating custom helper functions like '__extends' in compiled output.
TS6662Disable emitting files if any type checking errors are reported.
TS6663Disable truncating types in error messages.
TS6664Enable error reporting for fallthrough cases in switch statements.
TS6665Enable error reporting for expressions and declarations with an implied 'any'...
TS6666Ensure overriding members in derived classes are marked with an override modi...
TS6667Enable error reporting for codepaths that do not explicitly return in a funct...
TS6668Enable error reporting when 'this' is given the type 'any'.
TS6669Disable adding 'use strict' directives in emitted JavaScript files.
TS6670Disable including any library files, including the default lib.d.ts.
TS6671Enforces using indexed accessors for keys declared using an indexed type.
TS6672Disallow 'import's, 'require's or '<reference>'s from expanding the number of...
TS6673Disable strict checking of generic signatures in function types.
TS6674Add 'undefined' to a type when accessed using an index.
TS6675Enable error reporting when local variables aren't read.
TS6676Raise an error when a function parameter isn't read.
TS6677Deprecated setting. Use 'outFile' instead.
TS6678Specify an output folder for all emitted files.
TS6679Specify a file that bundles all outputs into one JavaScript file. If 'declara...
TS6680Specify a set of entries that re-map imports to additional lookup locations.
TS6681Specify a list of language service plugins to include.
TS6682Disable erasing 'const enum' declarations in generated code.
TS6683Disable resolving symlinks to their realpath. This correlates to the same fla...
TS6684Disable wiping the console in watch mode.
TS6685Enable color and formatting in TypeScript's output to make compiler errors ea...
TS6686Specify the object invoked for 'createElement'. This only applies when target...
TS6687Specify an array of objects that specify paths for projects. Used in project ...
TS6688Disable emitting comments.
TS6689Enable importing .json files.
TS6690Specify the root folder within your source files.
TS6691Allow multiple folders to be treated as one when resolving modules.
TS6692Skip type checking .d.ts files that are included with TypeScript.
TS6693Skip type checking all .d.ts files.
TS6694Create source map files for emitted JavaScript files.
TS6695Specify the root path for debuggers to find the reference source code.
TS6697Check that the arguments for 'bind', 'call', and 'apply' methods match the or...
TS6698When assigning functions, check to ensure parameters and the return values ar...
TS6699When type checking, take into account 'null' and 'undefined'.
TS6700Check for class properties that are declared but not set in the constructor.
TS6701Disable emitting declarations that have '@internal' in their JSDoc comments.
TS6702Disable reporting of excess property errors during the creation of object lit...
TS6703Suppress 'noImplicitAny' errors when indexing objects that lack index signatu...
TS6704Synchronously call callbacks and update the state of directory watchers on pl...
TS6705Set the JavaScript language version for emitted JavaScript and include compat...
TS6706Log paths used during the 'moduleResolution' process.
TS6707Specify the path to .tsbuildinfo incremental compilation file.
TS6709Specify options for automatic acquisition of declaration files.
TS6710Specify multiple folders that act like './node_modules/@types'.
TS6711Specify type package names to be included without being referenced in a sourc...
TS6712Emit ECMAScript-standard-compliant class fields.
TS6713Enable verbose logging.
TS6714Specify how directories are watched on systems that lack recursive file-watch...
TS6715Specify how the TypeScript watch mode works.
TS6717Require undeclared properties from index signatures to use element accesses.
TS6718Specify emit/checking behavior for imports that are only used for types.
TS6719Require sufficient annotation on exports so other tools can trivially generat...
TS6720Built-in iterators are instantiated with a 'TReturn' type of 'undefined' inst...
TS6721Do not allow runtime constructs that are not part of ECMAScript.
TS6803Default catch clause variables as 'unknown' instead of 'any'.
TS6804Do not transform or elide any imports or exports not marked as type-only, ens...
TS6805Disable full type checking (only critical parse and emit errors will be repor...
TS6806Check side effect imports.
TS6807This operation can be simplified. This shift is identical to `X X X`.
TS6808Enable lib replacement.
TS6809Ensure types are ordered stably and deterministically across compilations.
TS6900one of:
TS6901one or more:
TS6902type:
TS6903default:
TS6905`true`, unless `strict` is `false`
TS6906`false`, unless `composite` is set
TS6907`["node_modules", "bower_components", "jspm_packages"]`, plus the value of `o...
TS6908`[]` if `files` is specified, otherwise `["**/*"]`
TS6909`true` if `composite`, `false` otherwise
TS69010`nodenext` if `module` is `nodenext`; `node16` if `module` is `node16` or `no...
TS6911Computed from the list of input files
TS6912Platform specific
TS6913You can learn about all of the compiler options at X
TS6914Including --watch, -w will start watching the current project for the file ch...
TS6915Using --build, -b will make tsc behave more like a build orchestrator than a ...
TS6916COMMON COMMANDS
TS6917ALL COMPILER OPTIONS
TS6918WATCH OPTIONS
TS6919BUILD OPTIONS
TS6920COMMON COMPILER OPTIONS
TS6921COMMAND LINE FLAGS
TS6922tsc: The TypeScript Compiler
TS6923Compiles the current project (tsconfig.json in the working directory.)
TS6924Ignoring tsconfig.json, compiles the specified files with default compiler op...
TS6925Build a composite project in the working directory.
TS6926Creates a tsconfig.json with the recommended settings in the working directory.
TS6927Compiles the TypeScript project located at the specified path.
TS6928An expanded version of this information, showing all possible compiler options
TS6929Compiles the current project, with additional settings.
TS6930`true` for ES2022 and above, including ESNext.
TS6931List of file name suffixes to search when resolving a module.
TS6932`false`, unless `checkJs` is set
TS7005Variable 'X' implicitly has an 'X' type.
TS7008Member 'X' implicitly has an 'X' type.
TS7009'new' expression, whose target lacks a construct signature, implicitly has an...
TS7010'X', which lacks return-type annotation, implicitly has an 'X' return type.
TS7011Function expression, which lacks return-type annotation, implicitly has an 'X...
TS7012This overload implicitly returns the type 'X' because it lacks a return type ...
TS7013Construct signature, which lacks return-type annotation, implicitly has an 'a...
TS7014Function type, which lacks return-type annotation, implicitly has an 'X' retu...
TS7015Element implicitly has an 'any' type because index expression is not of type ...
TS7016Could not find a declaration file for module 'X'. 'X' implicitly has an 'any'...
TS7017Element implicitly has an 'any' type because type 'X' has no index signature.
TS7018Object literal's property 'X' implicitly has an 'X' type.
TS7019Rest parameter 'X' implicitly has an 'any[]' type.
TS7020Call signature, which lacks return-type annotation, implicitly has an 'any' r...
TS7022'X' implicitly has type 'any' because it does not have a type annotation and ...
TS7023'X' implicitly has return type 'any' because it does not have a return type a...
TS7024Function implicitly has return type 'any' because it does not have a return t...
TS7025Generator implicitly has yield type 'X'. Consider supplying a return type ann...
TS7026JSX element implicitly has type 'any' because no interface 'JSX.X' exists.
TS7027Unreachable code detected.
TS7028Unused label.
TS7029Fallthrough case in switch.
TS7030Not all code paths return a value.
TS7031Binding element 'X' implicitly has an 'X' type.
TS7032Property 'X' implicitly has type 'any', because its set accessor lacks a para...
TS7033Property 'X' implicitly has type 'any', because its get accessor lacks a retu...
TS7034Variable 'X' implicitly has type 'X' in some locations where its type cannot ...
TS7035Try `npm i --save-dev @types/X` if it exists or add a new declaration (.d.ts)...
TS7036Dynamic import's specifier must be of type 'string', but here has type 'X'.
TS7037Enables emit interoperability between CommonJS and ES Modules via creation of...
TS7038Type originates at this import. A namespace-style import cannot be called or ...
TS7039Mapped object type implicitly has an 'any' template type.
TS7040If the 'X' package actually exposes this module, consider sending a pull requ...
TS7041The containing arrow function captures the global value of 'this'.
TS7042Module 'X' was resolved to 'X', but '--resolveJsonModule' is not used.
TS7043Variable 'X' implicitly has an 'X' type, but a better type may be inferred fr...
TS7044Parameter 'X' implicitly has an 'X' type, but a better type may be inferred f...
TS7045Member 'X' implicitly has an 'X' type, but a better type may be inferred from...
TS7046Variable 'X' implicitly has type 'X' in some locations, but a better type may...
TS7047Rest parameter 'X' implicitly has an 'any[]' type, but a better type may be i...
TS7048Property 'X' implicitly has type 'any', but a better type for its get accesso...
TS7049Property 'X' implicitly has type 'any', but a better type for its set accesso...
TS7050'X' implicitly has an 'X' return type, but a better type may be inferred from...
TS7051Parameter has a name but no type. Did you mean 'X: X'?
TS7052Element implicitly has an 'any' type because type 'X' has no index signature....
TS7053Element implicitly has an 'any' type because expression of type 'X' can't be ...
TS7054No index signature with a parameter of type 'X' was found on type 'X'.
TS7055'X', which lacks return-type annotation, implicitly has an 'X' yield type.
TS7056The inferred type of this node exceeds the maximum length the compiler will s...
TS7057'yield' expression implicitly results in an 'any' type because its containing...
TS7058If the 'X' package actually exposes this module, try adding a new declaration...
TS7059This syntax is reserved in files with the .mts or .cts extension. Use an `as`...
TS7060This syntax is reserved in files with the .mts or .cts extension. Add a trail...
TS7061A mapped type may not declare properties or methods.
TS8000You cannot rename this element.
TS8001You cannot rename elements that are defined in the standard TypeScript library.
TS8002'import ... =' can only be used in TypeScript files.
TS8003'export =' can only be used in TypeScript files.
TS8004Type parameter declarations can only be used in TypeScript files.
TS8005'implements' clauses can only be used in TypeScript files.
TS8006'X' declarations can only be used in TypeScript files.
TS8008Type aliases can only be used in TypeScript files.
TS8009The 'X' modifier can only be used in TypeScript files.
TS8010Type annotations can only be used in TypeScript files.
TS8011Type arguments can only be used in TypeScript files.
TS8012Parameter modifiers can only be used in TypeScript files.
TS8013Non-null assertions can only be used in TypeScript files.
TS8016Type assertion expressions can only be used in TypeScript files.
TS8017Signature declarations can only be used in TypeScript files.
TS8019Report errors in .js files.
TS8020JSDoc types can only be used inside documentation comments.
TS8021JSDoc '@typedef' tag should either have a type annotation or be followed by '...
TS8022JSDoc '@X' is not attached to a class.
TS8023JSDoc '@X X' does not match the 'extends X' clause.
TS8024JSDoc '@param' tag has name 'X', but there is no parameter with that name.
TS8025Class declarations cannot have more than one '@augments' or '@extends' tag.
TS8026Expected X type arguments; provide these with an '@extends' tag.
TS8027Expected X-X type arguments; provide these with an '@extends' tag.
TS8028JSDoc '...' may only appear in the last parameter of a signature.
TS8029JSDoc '@param' tag has name 'X', but there is no parameter with that name. It...
TS8030The type of a function declaration must match the function's signature.
TS8031You cannot rename a module via a global import.
TS8032Qualified name 'X' is not allowed without a leading '@param X X'.
TS8033A JSDoc '@typedef' comment may not contain multiple '@type' tags.
TS8034The tag was first specified here.
TS8035You cannot rename elements that are defined in a 'node_modules' folder.
TS8036You cannot rename elements that are defined in another 'node_modules' folder.
TS8037Type satisfaction expressions can only be used in TypeScript files.
TS8038Decorators may not appear after 'export' or 'export default' if they also app...
TS8039A JSDoc '@template' tag may not follow a '@typedef', '@callback', or '@overlo...
TS9005Declaration emit for this file requires using private name 'X'. An explicit t...
TS9006Declaration emit for this file requires using private name 'X' from module 'X...
TS9007Function must have an explicit return type annotation with --isolatedDeclarat...
TS9008Method must have an explicit return type annotation with --isolatedDeclarations.
TS9009At least one accessor must have an explicit type annotation with --isolatedDe...
TS9010Variable must have an explicit type annotation with --isolatedDeclarations.
TS9011Parameter must have an explicit type annotation with --isolatedDeclarations.
TS9012Property must have an explicit type annotation with --isolatedDeclarations.
TS9013Expression type can't be inferred with --isolatedDeclarations.
TS9014Computed properties must be number or string literals, variables or dotted ex...
TS9015Objects that contain spread assignments can't be inferred with --isolatedDecl...
TS9016Objects that contain shorthand properties can't be inferred with --isolatedDe...
TS9017Only const arrays can be inferred with --isolatedDeclarations.
TS9018Arrays with spread elements can't inferred with --isolatedDeclarations.
TS9019Binding elements can't be exported directly with --isolatedDeclarations.
TS9020Enum member initializers must be computable without references to external sy...
TS9021Extends clause can't contain an expression with --isolatedDeclarations.
TS9022Inference from class expressions is not supported with --isolatedDeclarations.
TS9023Assigning properties to functions without declaring them is not supported wit...
TS9025Declaration emit for this parameter requires implicitly adding undefined to i...
TS9026Declaration emit for this file requires preserving this import for augmentati...
TS9027Add a type annotation to the variable X.
TS9028Add a type annotation to the parameter X.
TS9029Add a type annotation to the property X.
TS9030Add a return type to the function expression.
TS9031Add a return type to the function declaration.
TS9032Add a return type to the get accessor declaration.
TS9033Add a type to parameter of the set accessor declaration.
TS9034Add a return type to the method
TS9035Add satisfies and a type assertion to this expression (satisfies T as T) to m...
TS9036Move the expression in default export to a variable and add a type annotation...
TS9037Default exports can't be inferred with --isolatedDeclarations.
TS9038Computed property names on class or object literals cannot be inferred with -...
TS9039Type containing private name 'X' can't be used with --isolatedDeclarations.
TS17000JSX attributes must only be assigned a non-empty 'expression'.
TS17001JSX elements cannot have multiple attributes with the same name.
TS17002Expected corresponding JSX closing tag for 'X'.
TS17004Cannot use JSX unless the '--jsx' flag is provided.
TS17005A constructor cannot contain a 'super' call when its class extends 'null'.
TS17006An unary expression with the 'X' operator is not allowed in the left-hand sid...
TS17007A type assertion expression is not allowed in the left-hand side of an expone...
TS17008JSX element 'X' has no corresponding closing tag.
TS17009'super' must be called before accessing 'this' in the constructor of a derive...
TS17010Unknown type acquisition option 'X'.
TS17011'super' must be called before accessing a property of 'super' in the construc...
TS17012'X' is not a valid meta-property for keyword 'X'. Did you mean 'X'?
TS17013Meta-property 'X' is only allowed in the body of a function declaration, func...
TS17014JSX fragment has no corresponding closing tag.
TS17015Expected corresponding closing tag for JSX fragment.
TS17016The 'jsxFragmentFactory' compiler option must be provided to use JSX fragment...
TS17017An @jsxFrag pragma is required when using an @jsx pragma with JSX fragments.
TS17018Unknown type acquisition option 'X'. Did you mean 'X'?
TS17019'X' at the end of a type is not valid TypeScript syntax. Did you mean to writ...
TS17020'X' at the start of a type is not valid TypeScript syntax. Did you mean to wr...
TS17021Unicode escape sequence cannot appear here.
TS18000Circularity detected while resolving configuration: X
TS18002The 'files' list in config file 'X' is empty.
TS18003No inputs were found in config file 'X'. Specified 'include' paths were 'X' a...
TS80001File is a CommonJS module; it may be converted to an ES module.
TS80002This constructor function may be converted to a class declaration.
TS80003Import may be converted to a default import.
TS80004JSDoc types may be moved to TypeScript types.
TS80005'require' call may be converted to an import.
TS80006This may be converted to an async function.
TS80007'await' has no effect on the type of this expression.
TS80008Numeric literals with absolute values equal to 2^53 or greater are too large ...
TS80009JSDoc typedef may be converted to TypeScript type.
TS80010JSDoc typedefs may be converted to TypeScript types.
TS90001Add missing 'super()' call
TS90002Make 'super()' call the first statement in the constructor
TS90003Change 'extends' to 'implements'
TS90004Remove unused declaration for: 'X'
TS90005Remove import from 'X'
TS90006Implement interface 'X'
TS90007Implement inherited abstract class
TS90008Add 'X.' to unresolved variable
TS90010Remove variable statement
TS90011Remove template tag
TS90012Remove type parameters
TS90013Import 'X' from "X"
TS90014Change 'X' to 'X'
TS90016Declare property 'X'
TS90017Add index signature for property 'X'
TS90018Disable checking for this file
TS90019Ignore this error message
TS90020Initialize property 'X' in the constructor
TS90021Initialize static property 'X'
TS90022Change spelling to 'X'
TS90023Declare method 'X'
TS90024Declare static method 'X'
TS90025Prefix 'X' with an underscore
TS90026Rewrite as the indexed access type 'X'
TS90027Declare static property 'X'
TS90028Call decorator expression
TS90029Add async modifier to containing function
TS90030Replace 'infer X' with 'unknown'
TS90031Replace all unused 'infer' with 'unknown'
TS90034Add parameter name
TS90035Declare private property 'X'
TS90036Replace 'X' with 'Promise<X>'
TS90037Fix all incorrect return type of an async functions
TS90038Declare private method 'X'
TS90039Remove unused destructuring declaration
TS90041Remove unused declarations for: 'X'
TS90053Declare a private field named 'X'.
TS90054Includes imports of types referenced by 'X'
TS90055Remove 'type' from import declaration from "X"
TS90056Remove 'type' from import of 'X' from "X"
TS90057Add import from "X"
TS90058Update import from "X"
TS90059Export 'X' from module 'X'
TS90060Export all referenced locals
TS90061Update modifiers of 'X'
TS90062Add annotation of type 'X'
TS90063Add return type 'X'
TS90064Extract base class to variable
TS90065Extract default export to variable
TS90066Extract binding expressions to variable
TS90067Add all missing type annotations
TS90068Add satisfies and an inline type assertion with 'X'
TS90069Extract to variable and replace with 'X as typeof X'
TS90070Mark array literal as const
TS90071Annotate types of properties expando function in a namespace
TS95001Convert function to an ES2015 class
TS95003Convert 'X' to 'X in X'
TS95004Extract to X in X
TS95005Extract function
TS95006Extract constant
TS95007Extract to X in enclosing scope
TS95008Extract to X in X scope
TS95009Annotate with type from JSDoc
TS95011Infer type of 'X' from usage
TS95012Infer parameter types from usage
TS95013Convert to default import
TS95014Install 'X'
TS95015Replace import with 'X'.
TS95016Use synthetic 'default' member.
TS95017Convert to ES module
TS95018Add 'undefined' type to property 'X'
TS95019Add initializer to property 'X'
TS95020Add definite assignment assertion to property 'X'
TS95021Convert all type literals to mapped type
TS95022Add all missing members
TS95023Infer all types from usage
TS95024Delete all unused declarations
TS95025Prefix all unused declarations with '_' where possible
TS95026Fix all detected spelling errors
TS95027Add initializers to all uninitialized properties
TS95028Add definite assignment assertions to all uninitialized properties
TS95029Add undefined type to all uninitialized properties
TS95030Change all jsdoc-style types to TypeScript
TS95031Change all jsdoc-style types to TypeScript (and add '| undefined' to nullable...
TS95032Implement all unimplemented interfaces
TS95033Install all missing types packages
TS95034Rewrite all as indexed access types
TS95035Convert all to default imports
TS95036Make all 'super()' calls the first statement in their constructor
TS95037Add qualifier to all unresolved variables matching a member name
TS95038Change all extended interfaces to 'implements'
TS95039Add all missing super calls
TS95040Implement all inherited abstract classes
TS95041Add all missing 'async' modifiers
TS95042Add '@ts-ignore' to all error messages
TS95043Annotate everything with types from JSDoc
TS95044Add '()' to all uncalled decorators
TS95045Convert all constructor functions to classes
TS95046Generate 'get' and 'set' accessors
TS95047Convert 'require' to 'import'
TS95048Convert all 'require' to 'import'
TS95049Move to a new file
TS95050Remove unreachable code
TS95051Remove all unreachable code
TS95052Add missing 'typeof'
TS95053Remove unused label
TS95054Remove all unused labels
TS95055Convert 'X' to mapped object type
TS95056Convert namespace import to named imports
TS95057Convert named imports to namespace import
TS95058Add or remove braces in an arrow function
TS95059Add braces to arrow function
TS95060Remove braces from arrow function
TS95061Convert default export to named export
TS95062Convert named export to default export
TS95063Add missing enum member 'X'
TS95064Add all missing imports
TS95065Convert to async function
TS95066Convert all to async functions
TS95067Add missing call parentheses
TS95068Add all missing call parentheses
TS95069Add 'unknown' conversion for non-overlapping types
TS95070Add 'unknown' to all conversions of non-overlapping types
TS95071Add missing 'new' operator to call
TS95072Add missing 'new' operator to all calls
TS95073Add names to all parameters without names
TS95074Enable the 'experimentalDecorators' option in your configuration file
TS95075Convert parameters to destructured object
TS95077Extract type
TS95078Extract to type alias
TS95079Extract to typedef
TS95080Infer 'this' type of 'X' from usage
TS95081Add 'const' to unresolved variable
TS95082Add 'const' to all unresolved variables
TS95083Add 'await'
TS95084Add 'await' to initializer for 'X'
TS95085Fix all expressions possibly missing 'await'
TS95086Remove unnecessary 'await'
TS95087Remove all unnecessary uses of 'await'
TS95088Enable the '--jsx' flag in your configuration file
TS95089Add 'await' to initializers
TS95090Extract to interface
TS95091Convert to a bigint numeric literal
TS95092Convert all to bigint numeric literals
TS95093Convert 'const' to 'let'
TS95094Prefix with 'declare'
TS95095Prefix all incorrect property declarations with 'declare'
TS95096Convert to template string
TS95097Add 'export {}' to make this file into a module
TS95098Set the 'target' option in your configuration file to 'X'
TS95099Set the 'module' option in your configuration file to 'X'
TS95100Convert invalid character to its html entity code
TS95101Convert all invalid characters to HTML entity code
TS95102Convert all 'const' to 'let'
TS95105Convert function expression 'X' to arrow function
TS95106Convert function declaration 'X' to arrow function
TS95107Fix all implicit-'this' errors
TS95108Wrap invalid character in an expression container
TS95109Wrap all invalid characters in an expression container
TS95110Visit https://aka.ms/tsconfig to read more about this file
TS95111Add a return statement
TS95112Remove braces from arrow function body
TS95113Wrap the following body with parentheses which should be an object literal
TS95114Add all missing return statement
TS95115Remove braces from all arrow function bodies with relevant issues
TS95116Wrap all object literal with parentheses
TS95117Move labeled tuple element modifiers to labels
TS95118Convert overload list to single signature
TS95119Generate 'get' and 'set' accessors for all overriding properties
TS95120Wrap in JSX fragment
TS95121Wrap all unparented JSX in JSX fragment
TS95122Convert arrow function or function expression
TS95123Convert to anonymous function
TS95124Convert to named function
TS95125Convert to arrow function
TS95126Remove parentheses
TS95127Could not find a containing arrow function
TS95128Containing function is not an arrow function
TS95129Could not find export statement
TS95130This file already has a default export
TS95131Could not find import clause
TS95132Could not find namespace import or named imports
TS95133Selection is not a valid type node
TS95134No type could be extracted from this type node
TS95135Could not find property for which to generate accessor
TS95136Name is not valid
TS95137Can only convert property with modifier
TS95138Switch each misused 'X' to 'X'
TS95139Convert to optional chain expression
TS95140Could not find convertible access expression
TS95141Could not find matching access expressions
TS95142Can only convert logical AND access chains
TS95143Add 'void' to Promise resolved without a value
TS95144Add 'void' to all Promises resolved without a value
TS95145Use element access for 'X'
TS95146Use element access for all undeclared properties.
TS95147Delete all unused imports
TS95148Infer function return type
TS95149Return type must be inferred from a function
TS95150Could not determine function return type
TS95151Could not convert to arrow function
TS95152Could not convert to named function
TS95153Could not convert to anonymous function
TS95154Can only convert string concatenations and string literals
TS95155Selection is not a valid statement or statements
TS95156Add missing function declaration 'X'
TS95157Add all missing function declarations
TS95158Method not implemented.
TS95159Function not implemented.
TS95160Add 'override' modifier
TS95161Remove 'override' modifier
TS95162Add all missing 'override' modifiers
TS95163Remove all unnecessary 'override' modifiers
TS95164Can only convert named export
TS95165Add missing properties
TS95166Add all missing properties
TS95167Add missing attributes
TS95168Add all missing attributes
TS95169Add 'undefined' to optional property type
TS95170Convert named imports to default import
TS95171Delete unused '@param' tag 'X'
TS95172Delete all unused '@param' tags
TS95173Rename '@param' tag name 'X' to 'X'
TS95174Use `X`.
TS95175Use `Number.isNaN` in all conditions.
TS95176Convert typedef to TypeScript type.
TS95177Convert all typedef to TypeScript types.
TS95178Move to file
TS95179Cannot move to file, selected file is invalid
TS95180Use 'import type'
TS95181Use 'type X'
TS95182Fix all with type-only imports
TS95183Cannot move statements to the selected file
TS95184Inline variable
TS95185Could not find variable to inline.
TS95186Variables with multiple declarations cannot be inlined.
TS95187Add missing comma for object member completion 'X'.
TS95188Add missing parameter to 'X'
TS95189Add missing parameters to 'X'
TS95190Add all missing parameters
TS95191Add optional parameter to 'X'
TS95192Add optional parameters to 'X'
TS95193Add all optional parameters
TS95194Wrap in parentheses
TS95195Wrap all invalid decorator expressions in parentheses
TS95196Add 'resolution-mode' import attribute
TS95197Add 'resolution-mode' import attribute to all type-only imports that need it
TS18004No value exists in scope for the shorthand property 'X'. Either declare one o...
TS18006Classes may not have a field named 'constructor'.
TS18007JSX expressions may not use the comma operator. Did you mean to write an array?
TS18009Private identifiers cannot be used as parameters.
TS18010An accessibility modifier cannot be used with a private identifier.
TS18011The operand of a 'delete' operator cannot be a private identifier.
TS18012'#constructor' is a reserved word.
TS18013Property 'X' is not accessible outside class 'X' because it has a private ide...
TS18014The property 'X' cannot be accessed on type 'X' within this class because it ...
TS18015Property 'X' in type 'X' refers to a different member that cannot be accessed...
TS18016Private identifiers are not allowed outside class bodies.
TS18017The shadowing declaration of 'X' is defined here
TS18018The declaration of 'X' that you probably intended to use is defined here
TS18019'X' modifier cannot be used with a private identifier.
TS18024An enum member cannot be named with a private identifier.
TS18026'#!' can only be used at the start of a file.
TS18027Compiler reserves name 'X' when emitting private identifier downlevel.
TS18028Private identifiers are only available when targeting ECMAScript 2015 and hig...
TS18029Private identifiers are not allowed in variable declarations.
TS18030An optional chain cannot contain private identifiers.
TS18031The intersection 'X' was reduced to 'never' because property 'X' has conflict...
TS18032The intersection 'X' was reduced to 'never' because property 'X' exists in mu...
TS18033Type 'X' is not assignable to type 'X' as required for computed enum member v...
TS18034Specify the JSX fragment factory function to use when targeting 'react' JSX e...
TS18035Invalid value for 'jsxFragmentFactory'. 'X' is not a valid identifier or qual...
TS18036Class decorators can't be used with static private identifier. Consider remov...
TS18037'await' expression cannot be used inside a class static block.
TS18038'for await' loops cannot be used inside a class static block.
TS18039Invalid use of 'X'. It cannot be used inside a class static block.
TS18041A 'return' statement cannot be used inside a class static block.
TS18042'X' is a type and cannot be imported in JavaScript files. Use 'X' in a JSDoc ...
TS18043Types cannot appear in export declarations in JavaScript files.
TS18044'X' is automatically exported here.
TS18045Properties with the 'accessor' modifier are only available when targeting ECM...
TS18046'X' is of type 'unknown'.
TS18047'X' is possibly 'null'.
TS18048'X' is possibly 'undefined'.
TS18049'X' is possibly 'null' or 'undefined'.
TS18050The value 'X' cannot be used here.
TS18051Compiler option 'X' cannot be given an empty string.
TS18053Its type 'X' is not a valid JSX element type.
TS18054'await using' statements cannot be used inside a class static block.
TS18055'X' has a string type, but must have syntactically recognizable string syntax...
TS18056Enum member following a non-literal numeric member must have an initializer w...
TS18057String literal import and export names are not supported when the '--module' ...
TS18058Default imports are not allowed in a deferred import.
TS18059Named imports are not allowed in a deferred import.
TS18060Deferred imports are only supported when the '--module' flag is set to 'esnex...
TS18061'X' is not a valid meta-property for keyword 'import'. Did you mean 'meta' or...