Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
TypeScript/src/compiler/diagnosticMessages.json
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
4934 lines (4923 sloc)
164 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Unterminated string literal.": { | |
"category": "Error", | |
"code": 1002 | |
}, | |
"Identifier expected.": { | |
"category": "Error", | |
"code": 1003 | |
}, | |
"'{0}' expected.": { | |
"category": "Error", | |
"code": 1005 | |
}, | |
"A file cannot have a reference to itself.": { | |
"category": "Error", | |
"code": 1006 | |
}, | |
"Trailing comma not allowed.": { | |
"category": "Error", | |
"code": 1009 | |
}, | |
"'*/' expected.": { | |
"category": "Error", | |
"code": 1010 | |
}, | |
"An element access expression should take an argument.": { | |
"category": "Error", | |
"code": 1011 | |
}, | |
"Unexpected token.": { | |
"category": "Error", | |
"code": 1012 | |
}, | |
"A rest parameter or binding pattern may not have a trailing comma.": { | |
"category": "Error", | |
"code": 1013 | |
}, | |
"A rest parameter must be last in a parameter list.": { | |
"category": "Error", | |
"code": 1014 | |
}, | |
"Parameter cannot have question mark and initializer.": { | |
"category": "Error", | |
"code": 1015 | |
}, | |
"A required parameter cannot follow an optional parameter.": { | |
"category": "Error", | |
"code": 1016 | |
}, | |
"An index signature cannot have a rest parameter.": { | |
"category": "Error", | |
"code": 1017 | |
}, | |
"An index signature parameter cannot have an accessibility modifier.": { | |
"category": "Error", | |
"code": 1018 | |
}, | |
"An index signature parameter cannot have a question mark.": { | |
"category": "Error", | |
"code": 1019 | |
}, | |
"An index signature parameter cannot have an initializer.": { | |
"category": "Error", | |
"code": 1020 | |
}, | |
"An index signature must have a type annotation.": { | |
"category": "Error", | |
"code": 1021 | |
}, | |
"An index signature parameter must have a type annotation.": { | |
"category": "Error", | |
"code": 1022 | |
}, | |
"An index signature parameter type must be 'string' or 'number'.": { | |
"category": "Error", | |
"code": 1023 | |
}, | |
"'readonly' modifier can only appear on a property declaration or index signature.": { | |
"category": "Error", | |
"code": 1024 | |
}, | |
"Accessibility modifier already seen.": { | |
"category": "Error", | |
"code": 1028 | |
}, | |
"'{0}' modifier must precede '{1}' modifier.": { | |
"category": "Error", | |
"code": 1029 | |
}, | |
"'{0}' modifier already seen.": { | |
"category": "Error", | |
"code": 1030 | |
}, | |
"'{0}' modifier cannot appear on a class element.": { | |
"category": "Error", | |
"code": 1031 | |
}, | |
"'super' must be followed by an argument list or member access.": { | |
"category": "Error", | |
"code": 1034 | |
}, | |
"Only ambient modules can use quoted names.": { | |
"category": "Error", | |
"code": 1035 | |
}, | |
"Statements are not allowed in ambient contexts.": { | |
"category": "Error", | |
"code": 1036 | |
}, | |
"A 'declare' modifier cannot be used in an already ambient context.": { | |
"category": "Error", | |
"code": 1038 | |
}, | |
"Initializers are not allowed in ambient contexts.": { | |
"category": "Error", | |
"code": 1039 | |
}, | |
"'{0}' modifier cannot be used in an ambient context.": { | |
"category": "Error", | |
"code": 1040 | |
}, | |
"'{0}' modifier cannot be used with a class declaration.": { | |
"category": "Error", | |
"code": 1041 | |
}, | |
"'{0}' modifier cannot be used here.": { | |
"category": "Error", | |
"code": 1042 | |
}, | |
"'{0}' modifier cannot appear on a data property.": { | |
"category": "Error", | |
"code": 1043 | |
}, | |
"'{0}' modifier cannot appear on a module or namespace element.": { | |
"category": "Error", | |
"code": 1044 | |
}, | |
"A '{0}' modifier cannot be used with an interface declaration.": { | |
"category": "Error", | |
"code": 1045 | |
}, | |
"A 'declare' modifier is required for a top level declaration in a .d.ts file.": { | |
"category": "Error", | |
"code": 1046 | |
}, | |
"A rest parameter cannot be optional.": { | |
"category": "Error", | |
"code": 1047 | |
}, | |
"A rest parameter cannot have an initializer.": { | |
"category": "Error", | |
"code": 1048 | |
}, | |
"A 'set' accessor must have exactly one parameter.": { | |
"category": "Error", | |
"code": 1049 | |
}, | |
"A 'set' accessor cannot have an optional parameter.": { | |
"category": "Error", | |
"code": 1051 | |
}, | |
"A 'set' accessor parameter cannot have an initializer.": { | |
"category": "Error", | |
"code": 1052 | |
}, | |
"A 'set' accessor cannot have rest parameter.": { | |
"category": "Error", | |
"code": 1053 | |
}, | |
"A 'get' accessor cannot have parameters.": { | |
"category": "Error", | |
"code": 1054 | |
}, | |
"Type '{0}' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value.": { | |
"category": "Error", | |
"code": 1055 | |
}, | |
"Accessors are only available when targeting ECMAScript 5 and higher.": { | |
"category": "Error", | |
"code": 1056 | |
}, | |
"An async function or method must have a valid awaitable return type.": { | |
"category": "Error", | |
"code": 1057 | |
}, | |
"The return type of an async function must either be a valid promise or must not contain a callable 'then' member.": { | |
"category": "Error", | |
"code": 1058 | |
}, | |
"A promise must have a 'then' method.": { | |
"category": "Error", | |
"code": 1059 | |
}, | |
"The first parameter of the 'then' method of a promise must be a callback.": { | |
"category": "Error", | |
"code": 1060 | |
}, | |
"Enum member must have initializer.": { | |
"category": "Error", | |
"code": 1061 | |
}, | |
"Type is referenced directly or indirectly in the fulfillment callback of its own 'then' method.": { | |
"category": "Error", | |
"code": 1062 | |
}, | |
"An export assignment cannot be used in a namespace.": { | |
"category": "Error", | |
"code": 1063 | |
}, | |
"The return type of an async function or method must be the global Promise<T> type.": { | |
"category": "Error", | |
"code": 1064 | |
}, | |
"In ambient enum declarations member initializer must be constant expression.": { | |
"category": "Error", | |
"code": 1066 | |
}, | |
"Unexpected token. A constructor, method, accessor, or property was expected.": { | |
"category": "Error", | |
"code": 1068 | |
}, | |
"Unexpected token. A type parameter name was expected without curly braces.": { | |
"category": "Error", | |
"code": 1069 | |
}, | |
"'{0}' modifier cannot appear on a type member.": { | |
"category": "Error", | |
"code": 1070 | |
}, | |
"'{0}' modifier cannot appear on an index signature.": { | |
"category": "Error", | |
"code": 1071 | |
}, | |
"A '{0}' modifier cannot be used with an import declaration.": { | |
"category": "Error", | |
"code": 1079 | |
}, | |
"Invalid 'reference' directive syntax.": { | |
"category": "Error", | |
"code": 1084 | |
}, | |
"Octal literals are not available when targeting ECMAScript 5 and higher. Use the syntax '{0}'.": { | |
"category": "Error", | |
"code": 1085 | |
}, | |
"An accessor cannot be declared in an ambient context.": { | |
"category": "Error", | |
"code": 1086 | |
}, | |
"'{0}' modifier cannot appear on a constructor declaration.": { | |
"category": "Error", | |
"code": 1089 | |
}, | |
"'{0}' modifier cannot appear on a parameter.": { | |
"category": "Error", | |
"code": 1090 | |
}, | |
"Only a single variable declaration is allowed in a 'for...in' statement.": { | |
"category": "Error", | |
"code": 1091 | |
}, | |
"Type parameters cannot appear on a constructor declaration.": { | |
"category": "Error", | |
"code": 1092 | |
}, | |
"Type annotation cannot appear on a constructor declaration.": { | |
"category": "Error", | |
"code": 1093 | |
}, | |
"An accessor cannot have type parameters.": { | |
"category": "Error", | |
"code": 1094 | |
}, | |
"A 'set' accessor cannot have a return type annotation.": { | |
"category": "Error", | |
"code": 1095 | |
}, | |
"An index signature must have exactly one parameter.": { | |
"category": "Error", | |
"code": 1096 | |
}, | |
"'{0}' list cannot be empty.": { | |
"category": "Error", | |
"code": 1097 | |
}, | |
"Type parameter list cannot be empty.": { | |
"category": "Error", | |
"code": 1098 | |
}, | |
"Type argument list cannot be empty.": { | |
"category": "Error", | |
"code": 1099 | |
}, | |
"Invalid use of '{0}' in strict mode.": { | |
"category": "Error", | |
"code": 1100 | |
}, | |
"'with' statements are not allowed in strict mode.": { | |
"category": "Error", | |
"code": 1101 | |
}, | |
"'delete' cannot be called on an identifier in strict mode.": { | |
"category": "Error", | |
"code": 1102 | |
}, | |
"A 'for-await-of' statement is only allowed within an async function or async generator.": { | |
"category": "Error", | |
"code": 1103 | |
}, | |
"A 'continue' statement can only be used within an enclosing iteration statement.": { | |
"category": "Error", | |
"code": 1104 | |
}, | |
"A 'break' statement can only be used within an enclosing iteration or switch statement.": { | |
"category": "Error", | |
"code": 1105 | |
}, | |
"Jump target cannot cross function boundary.": { | |
"category": "Error", | |
"code": 1107 | |
}, | |
"A 'return' statement can only be used within a function body.": { | |
"category": "Error", | |
"code": 1108 | |
}, | |
"Expression expected.": { | |
"category": "Error", | |
"code": 1109 | |
}, | |
"Type expected.": { | |
"category": "Error", | |
"code": 1110 | |
}, | |
"A 'default' clause cannot appear more than once in a 'switch' statement.": { | |
"category": "Error", | |
"code": 1113 | |
}, | |
"Duplicate label '{0}'.": { | |
"category": "Error", | |
"code": 1114 | |
}, | |
"A 'continue' statement can only jump to a label of an enclosing iteration statement.": { | |
"category": "Error", | |
"code": 1115 | |
}, | |
"A 'break' statement can only jump to a label of an enclosing statement.": { | |
"category": "Error", | |
"code": 1116 | |
}, | |
"An object literal cannot have multiple properties with the same name in strict mode.": { | |
"category": "Error", | |
"code": 1117 | |
}, | |
"An object literal cannot have multiple get/set accessors with the same name.": { | |
"category": "Error", | |
"code": 1118 | |
}, | |
"An object literal cannot have property and accessor with the same name.": { | |
"category": "Error", | |
"code": 1119 | |
}, | |
"An export assignment cannot have modifiers.": { | |
"category": "Error", | |
"code": 1120 | |
}, | |
"Octal literals are not allowed in strict mode.": { | |
"category": "Error", | |
"code": 1121 | |
}, | |
"Variable declaration list cannot be empty.": { | |
"category": "Error", | |
"code": 1123 | |
}, | |
"Digit expected.": { | |
"category": "Error", | |
"code": 1124 | |
}, | |
"Hexadecimal digit expected.": { | |
"category": "Error", | |
"code": 1125 | |
}, | |
"Unexpected end of text.": { | |
"category": "Error", | |
"code": 1126 | |
}, | |
"Invalid character.": { | |
"category": "Error", | |
"code": 1127 | |
}, | |
"Declaration or statement expected.": { | |
"category": "Error", | |
"code": 1128 | |
}, | |
"Statement expected.": { | |
"category": "Error", | |
"code": 1129 | |
}, | |
"'case' or 'default' expected.": { | |
"category": "Error", | |
"code": 1130 | |
}, | |
"Property or signature expected.": { | |
"category": "Error", | |
"code": 1131 | |
}, | |
"Enum member expected.": { | |
"category": "Error", | |
"code": 1132 | |
}, | |
"Variable declaration expected.": { | |
"category": "Error", | |
"code": 1134 | |
}, | |
"Argument expression expected.": { | |
"category": "Error", | |
"code": 1135 | |
}, | |
"Property assignment expected.": { | |
"category": "Error", | |
"code": 1136 | |
}, | |
"Expression or comma expected.": { | |
"category": "Error", | |
"code": 1137 | |
}, | |
"Parameter declaration expected.": { | |
"category": "Error", | |
"code": 1138 | |
}, | |
"Type parameter declaration expected.": { | |
"category": "Error", | |
"code": 1139 | |
}, | |
"Type argument expected.": { | |
"category": "Error", | |
"code": 1140 | |
}, | |
"String literal expected.": { | |
"category": "Error", | |
"code": 1141 | |
}, | |
"Line break not permitted here.": { | |
"category": "Error", | |
"code": 1142 | |
}, | |
"'{' or ';' expected.": { | |
"category": "Error", | |
"code": 1144 | |
}, | |
"Declaration expected.": { | |
"category": "Error", | |
"code": 1146 | |
}, | |
"Import declarations in a namespace cannot reference a module.": { | |
"category": "Error", | |
"code": 1147 | |
}, | |
"Cannot use imports, exports, or module augmentations when '--module' is 'none'.": { | |
"category": "Error", | |
"code": 1148 | |
}, | |
"File name '{0}' differs from already included file name '{1}' only in casing.": { | |
"category": "Error", | |
"code": 1149 | |
}, | |
"'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.": { | |
"category": "Error", | |
"code": 1150 | |
}, | |
"'const' declarations must be initialized.": { | |
"category": "Error", | |
"code": 1155 | |
}, | |
"'const' declarations can only be declared inside a block.": { | |
"category": "Error", | |
"code": 1156 | |
}, | |
"'let' declarations can only be declared inside a block.": { | |
"category": "Error", | |
"code": 1157 | |
}, | |
"Unterminated template literal.": { | |
"category": "Error", | |
"code": 1160 | |
}, | |
"Unterminated regular expression literal.": { | |
"category": "Error", | |
"code": 1161 | |
}, | |
"An object member cannot be declared optional.": { | |
"category": "Error", | |
"code": 1162 | |
}, | |
"A 'yield' expression is only allowed in a generator body.": { | |
"category": "Error", | |
"code": 1163 | |
}, | |
"Computed property names are not allowed in enums.": { | |
"category": "Error", | |
"code": 1164 | |
}, | |
"A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type.": { | |
"category": "Error", | |
"code": 1165 | |
}, | |
"A computed property name in a class property declaration must refer to an expression whose type is a literal type or a 'unique symbol' type.": { | |
"category": "Error", | |
"code": 1166 | |
}, | |
"A computed property name in a method overload must refer to an expression whose type is a literal type or a 'unique symbol' type.": { | |
"category": "Error", | |
"code": 1168 | |
}, | |
"A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type.": { | |
"category": "Error", | |
"code": 1169 | |
}, | |
"A computed property name in a type literal must refer to an expression whose type is a literal type or a 'unique symbol' type.": { | |
"category": "Error", | |
"code": 1170 | |
}, | |
"A comma expression is not allowed in a computed property name.": { | |
"category": "Error", | |
"code": 1171 | |
}, | |
"'extends' clause already seen.": { | |
"category": "Error", | |
"code": 1172 | |
}, | |
"'extends' clause must precede 'implements' clause.": { | |
"category": "Error", | |
"code": 1173 | |
}, | |
"Classes can only extend a single class.": { | |
"category": "Error", | |
"code": 1174 | |
}, | |
"'implements' clause already seen.": { | |
"category": "Error", | |
"code": 1175 | |
}, | |
"Interface declaration cannot have 'implements' clause.": { | |
"category": "Error", | |
"code": 1176 | |
}, | |
"Binary digit expected.": { | |
"category": "Error", | |
"code": 1177 | |
}, | |
"Octal digit expected.": { | |
"category": "Error", | |
"code": 1178 | |
}, | |
"Unexpected token. '{' expected.": { | |
"category": "Error", | |
"code": 1179 | |
}, | |
"Property destructuring pattern expected.": { | |
"category": "Error", | |
"code": 1180 | |
}, | |
"Array element destructuring pattern expected.": { | |
"category": "Error", | |
"code": 1181 | |
}, | |
"A destructuring declaration must have an initializer.": { | |
"category": "Error", | |
"code": 1182 | |
}, | |
"An implementation cannot be declared in ambient contexts.": { | |
"category": "Error", | |
"code": 1183 | |
}, | |
"Modifiers cannot appear here.": { | |
"category": "Error", | |
"code": 1184 | |
}, | |
"Merge conflict marker encountered.": { | |
"category": "Error", | |
"code": 1185 | |
}, | |
"A rest element cannot have an initializer.": { | |
"category": "Error", | |
"code": 1186 | |
}, | |
"A parameter property may not be declared using a binding pattern.": { | |
"category": "Error", | |
"code": 1187 | |
}, | |
"Only a single variable declaration is allowed in a 'for...of' statement.": { | |
"category": "Error", | |
"code": 1188 | |
}, | |
"The variable declaration of a 'for...in' statement cannot have an initializer.": { | |
"category": "Error", | |
"code": 1189 | |
}, | |
"The variable declaration of a 'for...of' statement cannot have an initializer.": { | |
"category": "Error", | |
"code": 1190 | |
}, | |
"An import declaration cannot have modifiers.": { | |
"category": "Error", | |
"code": 1191 | |
}, | |
"Module '{0}' has no default export.": { | |
"category": "Error", | |
"code": 1192 | |
}, | |
"An export declaration cannot have modifiers.": { | |
"category": "Error", | |
"code": 1193 | |
}, | |
"Export declarations are not permitted in a namespace.": { | |
"category": "Error", | |
"code": 1194 | |
}, | |
"Catch clause variable cannot have a type annotation.": { | |
"category": "Error", | |
"code": 1196 | |
}, | |
"Catch clause variable cannot have an initializer.": { | |
"category": "Error", | |
"code": 1197 | |
}, | |
"An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive.": { | |
"category": "Error", | |
"code": 1198 | |
}, | |
"Unterminated Unicode escape sequence.": { | |
"category": "Error", | |
"code": 1199 | |
}, | |
"Line terminator not permitted before arrow.": { | |
"category": "Error", | |
"code": 1200 | |
}, | |
"Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from \"mod\"', 'import {a} from \"mod\"', 'import d from \"mod\"', or another module format instead.": { | |
"category": "Error", | |
"code": 1202 | |
}, | |
"Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead.": { | |
"category": "Error", | |
"code": 1203 | |
}, | |
"Cannot re-export a type when the '--isolatedModules' flag is provided.": { | |
"category": "Error", | |
"code": 1205 | |
}, | |
"Decorators are not valid here.": { | |
"category": "Error", | |
"code": 1206 | |
}, | |
"Decorators cannot be applied to multiple get/set accessors of the same name.": { | |
"category": "Error", | |
"code": 1207 | |
}, | |
"Cannot compile namespaces when the '--isolatedModules' flag is provided.": { | |
"category": "Error", | |
"code": 1208 | |
}, | |
"Invalid use of '{0}'. Class definitions are automatically in strict mode.": { | |
"category": "Error", | |
"code": 1210 | |
}, | |
"A class declaration without the 'default' modifier must have a name.": { | |
"category": "Error", | |
"code": 1211 | |
}, | |
"Identifier expected. '{0}' is a reserved word in strict mode.": { | |
"category": "Error", | |
"code": 1212 | |
}, | |
"Identifier expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode.": { | |
"category": "Error", | |
"code": 1213 | |
}, | |
"Identifier expected. '{0}' is a reserved word in strict mode. Modules are automatically in strict mode.": { | |
"category": "Error", | |
"code": 1214 | |
}, | |
"Invalid use of '{0}'. Modules are automatically in strict mode.": { | |
"category": "Error", | |
"code": 1215 | |
}, | |
"Identifier expected. '__esModule' is reserved as an exported marker when transforming ECMAScript modules.": { | |
"category": "Error", | |
"code": 1216 | |
}, | |
"Export assignment is not supported when '--module' flag is 'system'.": { | |
"category": "Error", | |
"code": 1218 | |
}, | |
"Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning.": { | |
"category": "Error", | |
"code": 1219 | |
}, | |
"Generators are only available when targeting ECMAScript 2015 or higher.": { | |
"category": "Error", | |
"code": 1220 | |
}, | |
"Generators are not allowed in an ambient context.": { | |
"category": "Error", | |
"code": 1221 | |
}, | |
"An overload signature cannot be declared as a generator.": { | |
"category": "Error", | |
"code": 1222 | |
}, | |
"'{0}' tag already specified.": { | |
"category": "Error", | |
"code": 1223 | |
}, | |
"Signature '{0}' must be a type predicate.": { | |
"category": "Error", | |
"code": 1224 | |
}, | |
"Cannot find parameter '{0}'.": { | |
"category": "Error", | |
"code": 1225 | |
}, | |
"Type predicate '{0}' is not assignable to '{1}'.": { | |
"category": "Error", | |
"code": 1226 | |
}, | |
"Parameter '{0}' is not in the same position as parameter '{1}'.": { | |
"category": "Error", | |
"code": 1227 | |
}, | |
"A type predicate is only allowed in return type position for functions and methods.": { | |
"category": "Error", | |
"code": 1228 | |
}, | |
"A type predicate cannot reference a rest parameter.": { | |
"category": "Error", | |
"code": 1229 | |
}, | |
"A type predicate cannot reference element '{0}' in a binding pattern.": { | |
"category": "Error", | |
"code": 1230 | |
}, | |
"An export assignment can only be used in a module.": { | |
"category": "Error", | |
"code": 1231 | |
}, | |
"An import declaration can only be used in a namespace or module.": { | |
"category": "Error", | |
"code": 1232 | |
}, | |
"An export declaration can only be used in a module.": { | |
"category": "Error", | |
"code": 1233 | |
}, | |
"An ambient module declaration is only allowed at the top level in a file.": { | |
"category": "Error", | |
"code": 1234 | |
}, | |
"A namespace declaration is only allowed in a namespace or module.": { | |
"category": "Error", | |
"code": 1235 | |
}, | |
"The return type of a property decorator function must be either 'void' or 'any'.": { | |
"category": "Error", | |
"code": 1236 | |
}, | |
"The return type of a parameter decorator function must be either 'void' or 'any'.": { | |
"category": "Error", | |
"code": 1237 | |
}, | |
"Unable to resolve signature of class decorator when called as an expression.": { | |
"category": "Error", | |
"code": 1238 | |
}, | |
"Unable to resolve signature of parameter decorator when called as an expression.": { | |
"category": "Error", | |
"code": 1239 | |
}, | |
"Unable to resolve signature of property decorator when called as an expression.": { | |
"category": "Error", | |
"code": 1240 | |
}, | |
"Unable to resolve signature of method decorator when called as an expression.": { | |
"category": "Error", | |
"code": 1241 | |
}, | |
"'abstract' modifier can only appear on a class, method, or property declaration.": { | |
"category": "Error", | |
"code": 1242 | |
}, | |
"'{0}' modifier cannot be used with '{1}' modifier.": { | |
"category": "Error", | |
"code": 1243 | |
}, | |
"Abstract methods can only appear within an abstract class.": { | |
"category": "Error", | |
"code": 1244 | |
}, | |
"Method '{0}' cannot have an implementation because it is marked abstract.": { | |
"category": "Error", | |
"code": 1245 | |
}, | |
"An interface property cannot have an initializer.": { | |
"category": "Error", | |
"code": 1246 | |
}, | |
"A type literal property cannot have an initializer.": { | |
"category": "Error", | |
"code": 1247 | |
}, | |
"A class member cannot have the '{0}' keyword.": { | |
"category": "Error", | |
"code": 1248 | |
}, | |
"A decorator can only decorate a method implementation, not an overload.": { | |
"category": "Error", | |
"code": 1249 | |
}, | |
"Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'.": { | |
"category": "Error", | |
"code": 1250 | |
}, | |
"Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode.": { | |
"category": "Error", | |
"code": 1251 | |
}, | |
"Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode.": { | |
"category": "Error", | |
"code": 1252 | |
}, | |
"'{0}' tag cannot be used independently as a top level JSDoc tag.": { | |
"category": "Error", | |
"code": 1253 | |
}, | |
"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.": { | |
"category": "Error", | |
"code": 1254 | |
}, | |
"A definite assignment assertion '!' is not permitted in this context.": { | |
"category": "Error", | |
"code": 1255 | |
}, | |
"A rest element must be last in a tuple type.": { | |
"category": "Error", | |
"code": 1256 | |
}, | |
"A required element cannot follow an optional element.": { | |
"category": "Error", | |
"code": 1257 | |
}, | |
"'with' statements are not allowed in an async function block.": { | |
"category": "Error", | |
"code": 1300 | |
}, | |
"'await' expression is only allowed within an async function.": { | |
"category": "Error", | |
"code": 1308 | |
}, | |
"'=' can only be used in an object literal property inside a destructuring assignment.": { | |
"category": "Error", | |
"code": 1312 | |
}, | |
"The body of an 'if' statement cannot be the empty statement.": { | |
"category": "Error", | |
"code": 1313 | |
}, | |
"Global module exports may only appear in module files.": { | |
"category": "Error", | |
"code": 1314 | |
}, | |
"Global module exports may only appear in declaration files.": { | |
"category": "Error", | |
"code": 1315 | |
}, | |
"Global module exports may only appear at top level.": { | |
"category": "Error", | |
"code": 1316 | |
}, | |
"A parameter property cannot be declared using a rest parameter.": { | |
"category": "Error", | |
"code": 1317 | |
}, | |
"An abstract accessor cannot have an implementation.": { | |
"category": "Error", | |
"code": 1318 | |
}, | |
"A default export can only be used in an ECMAScript-style module.": { | |
"category": "Error", | |
"code": 1319 | |
}, | |
"Type of 'await' operand must either be a valid promise or must not contain a callable 'then' member.": { | |
"category": "Error", | |
"code": 1320 | |
}, | |
"Type of 'yield' operand in an async generator must either be a valid promise or must not contain a callable 'then' member.": { | |
"category": "Error", | |
"code": 1321 | |
}, | |
"Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member.": { | |
"category": "Error", | |
"code": 1322 | |
}, | |
"Dynamic import is only supported when '--module' flag is 'commonjs' or 'esNext'.": { | |
"category": "Error", | |
"code": 1323 | |
}, | |
"Dynamic import must have one specifier as an argument.": { | |
"category": "Error", | |
"code": 1324 | |
}, | |
"Specifier of dynamic import cannot be spread element.": { | |
"category": "Error", | |
"code": 1325 | |
}, | |
"Dynamic import cannot have type arguments": { | |
"category": "Error", | |
"code": 1326 | |
}, | |
"String literal with double quotes expected.": { | |
"category": "Error", | |
"code": 1327 | |
}, | |
"Property value can only be string literal, numeric literal, 'true', 'false', 'null', object literal or array literal.": { | |
"category": "Error", | |
"code": 1328 | |
}, | |
"'{0}' accepts too few arguments to be used as a decorator here. Did you mean to call it first and write '@{0}()'?": { | |
"category": "Error", | |
"code": 1329 | |
}, | |
"A property of an interface or type literal whose type is a 'unique symbol' type must be 'readonly'.": { | |
"category": "Error", | |
"code": 1330 | |
}, | |
"A property of a class whose type is a 'unique symbol' type must be both 'static' and 'readonly'.": { | |
"category": "Error", | |
"code": 1331 | |
}, | |
"A variable whose type is a 'unique symbol' type must be 'const'.": { | |
"category": "Error", | |
"code": 1332 | |
}, | |
"'unique symbol' types may not be used on a variable declaration with a binding name.": { | |
"category": "Error", | |
"code": 1333 | |
}, | |
"'unique symbol' types are only allowed on variables in a variable statement.": { | |
"category": "Error", | |
"code": 1334 | |
}, | |
"'unique symbol' types are not allowed here.": { | |
"category": "Error", | |
"code": 1335 | |
}, | |
"An index signature parameter type cannot be a type alias. Consider writing '[{0}: {1}]: {2}' instead.": { | |
"category": "Error", | |
"code": 1336 | |
}, | |
"An index signature parameter type cannot be a union type. Consider using a mapped object type instead.": { | |
"category": "Error", | |
"code": 1337 | |
}, | |
"'infer' declarations are only permitted in the 'extends' clause of a conditional type.": { | |
"category": "Error", | |
"code": 1338 | |
}, | |
"Module '{0}' does not refer to a value, but is used as a value here.": { | |
"category": "Error", | |
"code": 1339 | |
}, | |
"Module '{0}' does not refer to a type, but is used as a type here. Did you mean 'typeof import('{0}')'?": { | |
"category": "Error", | |
"code": 1340 | |
}, | |
"Type arguments cannot be used here.": { | |
"category": "Error", | |
"code": 1342 | |
}, | |
"The 'import.meta' meta-property is only allowed using 'ESNext' for the 'target' and 'module' compiler options.": { | |
"category": "Error", | |
"code": 1343 | |
}, | |
"'A label is not allowed here.": { | |
"category": "Error", | |
"code": 1344 | |
}, | |
"An expression of type 'void' cannot be tested for truthiness": { | |
"category": "Error", | |
"code": 1345 | |
}, | |
"This parameter is not allowed with 'use strict' directive.": { | |
"category": "Error", | |
"code": 1346 | |
}, | |
"'use strict' directive cannot be used with non-simple parameter list.": { | |
"category": "Error", | |
"code": 1347 | |
}, | |
"Non-simple parameter declared here.": { | |
"category": "Error", | |
"code": 1348 | |
}, | |
"'use strict' directive used here.": { | |
"category": "Error", | |
"code": 1349 | |
}, | |
"Print the final configuration instead of building.": { | |
"category": "Message", | |
"code": 1350 | |
}, | |
"An identifier or keyword cannot immediately follow a numeric literal.": { | |
"category": "Error", | |
"code": 1351 | |
}, | |
"A bigint literal cannot use exponential notation.": { | |
"category": "Error", | |
"code": 1352 | |
}, | |
"A bigint literal must be an integer.": { | |
"category": "Error", | |
"code": 1353 | |
}, | |
"'readonly' type modifier is only permitted on array and tuple literal types.": { | |
"category": "Error", | |
"code": 1354 | |
}, | |
"A 'const' assertion can only be applied to a string, number, boolean, array, or object literal.": { | |
"category": "Error", | |
"code": 1355 | |
}, | |
"Duplicate identifier '{0}'.": { | |
"category": "Error", | |
"code": 2300 | |
}, | |
"Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor.": { | |
"category": "Error", | |
"code": 2301 | |
}, | |
"Static members cannot reference class type parameters.": { | |
"category": "Error", | |
"code": 2302 | |
}, | |
"Circular definition of import alias '{0}'.": { | |
"category": "Error", | |
"code": 2303 | |
}, | |
"Cannot find name '{0}'.": { | |
"category": "Error", | |
"code": 2304 | |
}, | |
"Module '{0}' has no exported member '{1}'.": { | |
"category": "Error", | |
"code": 2305 | |
}, | |
"File '{0}' is not a module.": { | |
"category": "Error", | |
"code": 2306 | |
}, | |
"Cannot find module '{0}'.": { | |
"category": "Error", | |
"code": 2307 | |
}, | |
"Module {0} has already exported a member named '{1}'. Consider explicitly re-exporting to resolve the ambiguity.": { | |
"category": "Error", | |
"code": 2308 | |
}, | |
"An export assignment cannot be used in a module with other exported elements.": { | |
"category": "Error", | |
"code": 2309 | |
}, | |
"Type '{0}' recursively references itself as a base type.": { | |
"category": "Error", | |
"code": 2310 | |
}, | |
"A class may only extend another class.": { | |
"category": "Error", | |
"code": 2311 | |
}, | |
"An interface can only extend an object type or intersection of object types with statically known members.": { | |
"category": "Error", | |
"code": 2312 | |
}, | |
"Type parameter '{0}' has a circular constraint.": { | |
"category": "Error", | |
"code": 2313 | |
}, | |
"Generic type '{0}' requires {1} type argument(s).": { | |
"category": "Error", | |
"code": 2314 | |
}, | |
"Type '{0}' is not generic.": { | |
"category": "Error", | |
"code": 2315 | |
}, | |
"Global type '{0}' must be a class or interface type.": { | |
"category": "Error", | |
"code": 2316 | |
}, | |
"Global type '{0}' must have {1} type parameter(s).": { | |
"category": "Error", | |
"code": 2317 | |
}, | |
"Cannot find global type '{0}'.": { | |
"category": "Error", | |
"code": 2318 | |
}, | |
"Named property '{0}' of types '{1}' and '{2}' are not identical.": { | |
"category": "Error", | |
"code": 2319 | |
}, | |
"Interface '{0}' cannot simultaneously extend types '{1}' and '{2}'.": { | |
"category": "Error", | |
"code": 2320 | |
}, | |
"Excessive stack depth comparing types '{0}' and '{1}'.": { | |
"category": "Error", | |
"code": 2321 | |
}, | |
"Type '{0}' is not assignable to type '{1}'.": { | |
"category": "Error", | |
"code": 2322 | |
}, | |
"Cannot redeclare exported variable '{0}'.": { | |
"category": "Error", | |
"code": 2323 | |
}, | |
"Property '{0}' is missing in type '{1}'.": { | |
"category": "Error", | |
"code": 2324 | |
}, | |
"Property '{0}' is private in type '{1}' but not in type '{2}'.": { | |
"category": "Error", | |
"code": 2325 | |
}, | |
"Types of property '{0}' are incompatible.": { | |
"category": "Error", | |
"code": 2326 | |
}, | |
"Property '{0}' is optional in type '{1}' but required in type '{2}'.": { | |
"category": "Error", | |
"code": 2327 | |
}, | |
"Types of parameters '{0}' and '{1}' are incompatible.": { | |
"category": "Error", | |
"code": 2328 | |
}, | |
"Index signature is missing in type '{0}'.": { | |
"category": "Error", | |
"code": 2329 | |
}, | |
"Index signatures are incompatible.": { | |
"category": "Error", | |
"code": 2330 | |
}, | |
"'this' cannot be referenced in a module or namespace body.": { | |
"category": "Error", | |
"code": 2331 | |
}, | |
"'this' cannot be referenced in current location.": { | |
"category": "Error", | |
"code": 2332 | |
}, | |
"'this' cannot be referenced in constructor arguments.": { | |
"category": "Error", | |
"code": 2333 | |
}, | |
"'this' cannot be referenced in a static property initializer.": { | |
"category": "Error", | |
"code": 2334 | |
}, | |
"'super' can only be referenced in a derived class.": { | |
"category": "Error", | |
"code": 2335 | |
}, | |
"'super' cannot be referenced in constructor arguments.": { | |
"category": "Error", | |
"code": 2336 | |
}, | |
"Super calls are not permitted outside constructors or in nested functions inside constructors.": { | |
"category": "Error", | |
"code": 2337 | |
}, | |
"'super' property access is permitted only in a constructor, member function, or member accessor of a derived class.": { | |
"category": "Error", | |
"code": 2338 | |
}, | |
"Property '{0}' does not exist on type '{1}'.": { | |
"category": "Error", | |
"code": 2339 | |
}, | |
"Only public and protected methods of the base class are accessible via the 'super' keyword.": { | |
"category": "Error", | |
"code": 2340 | |
}, | |
"Property '{0}' is private and only accessible within class '{1}'.": { | |
"category": "Error", | |
"code": 2341 | |
}, | |
"An index expression argument must be of type 'string', 'number', 'symbol', or 'any'.": { | |
"category": "Error", | |
"code": 2342 | |
}, | |
"This syntax requires an imported helper named '{1}', but module '{0}' has no exported member '{1}'.": { | |
"category": "Error", | |
"code": 2343 | |
}, | |
"Type '{0}' does not satisfy the constraint '{1}'.": { | |
"category": "Error", | |
"code": 2344 | |
}, | |
"Argument of type '{0}' is not assignable to parameter of type '{1}'.": { | |
"category": "Error", | |
"code": 2345 | |
}, | |
"Call target does not contain any signatures.": { | |
"category": "Error", | |
"code": 2346 | |
}, | |
"Untyped function calls may not accept type arguments.": { | |
"category": "Error", | |
"code": 2347 | |
}, | |
"Value of type '{0}' is not callable. Did you mean to include 'new'?": { | |
"category": "Error", | |
"code": 2348 | |
}, | |
"Cannot invoke an expression whose type lacks a call signature. Type '{0}' has no compatible call signatures.": { | |
"category": "Error", | |
"code": 2349 | |
}, | |
"Only a void function can be called with the 'new' keyword.": { | |
"category": "Error", | |
"code": 2350 | |
}, | |
"Cannot use 'new' with an expression whose type lacks a call or construct signature.": { | |
"category": "Error", | |
"code": 2351 | |
}, | |
"Conversion of type '{0}' to type '{1}' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.": { | |
"category": "Error", | |
"code": 2352 | |
}, | |
"Object literal may only specify known properties, and '{0}' does not exist in type '{1}'.": { | |
"category": "Error", | |
"code": 2353 | |
}, | |
"This syntax requires an imported helper but module '{0}' cannot be found.": { | |
"category": "Error", | |
"code": 2354 | |
}, | |
"A function whose declared type is neither 'void' nor 'any' must return a value.": { | |
"category": "Error", | |
"code": 2355 | |
}, | |
"An arithmetic operand must be of type 'any', 'number', 'bigint' or an enum type.": { | |
"category": "Error", | |
"code": 2356 | |
}, | |
"The operand of an increment or decrement operator must be a variable or a property access.": { | |
"category": "Error", | |
"code": 2357 | |
}, | |
"The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.": { | |
"category": "Error", | |
"code": 2358 | |
}, | |
"The right-hand side of an 'instanceof' expression must be of type 'any' or of a type assignable to the 'Function' interface type.": { | |
"category": "Error", | |
"code": 2359 | |
}, | |
"The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'.": { | |
"category": "Error", | |
"code": 2360 | |
}, | |
"The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.": { | |
"category": "Error", | |
"code": 2361 | |
}, | |
"The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.": { | |
"category": "Error", | |
"code": 2362 | |
}, | |
"The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.": { | |
"category": "Error", | |
"code": 2363 | |
}, | |
"The left-hand side of an assignment expression must be a variable or a property access.": { | |
"category": "Error", | |
"code": 2364 | |
}, | |
"Operator '{0}' cannot be applied to types '{1}' and '{2}'.": { | |
"category": "Error", | |
"code": 2365 | |
}, | |
"Function lacks ending return statement and return type does not include 'undefined'.": { | |
"category": "Error", | |
"code": 2366 | |
}, | |
"This condition will always return '{0}' since the types '{1}' and '{2}' have no overlap.": { | |
"category": "Error", | |
"code": 2367 | |
}, | |
"Type parameter name cannot be '{0}'.": { | |
"category": "Error", | |
"code": 2368 | |
}, | |
"A parameter property is only allowed in a constructor implementation.": { | |
"category": "Error", | |
"code": 2369 | |
}, | |
"A rest parameter must be of an array type.": { | |
"category": "Error", | |
"code": 2370 | |
}, | |
"A parameter initializer is only allowed in a function or constructor implementation.": { | |
"category": "Error", | |
"code": 2371 | |
}, | |
"Parameter '{0}' cannot be referenced in its initializer.": { | |
"category": "Error", | |
"code": 2372 | |
}, | |
"Initializer of parameter '{0}' cannot reference identifier '{1}' declared after it.": { | |
"category": "Error", | |
"code": 2373 | |
}, | |
"Duplicate string index signature.": { | |
"category": "Error", | |
"code": 2374 | |
}, | |
"Duplicate number index signature.": { | |
"category": "Error", | |
"code": 2375 | |
}, | |
"A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.": { | |
"category": "Error", | |
"code": 2376 | |
}, | |
"Constructors for derived classes must contain a 'super' call.": { | |
"category": "Error", | |
"code": 2377 | |
}, | |
"A 'get' accessor must return a value.": { | |
"category": "Error", | |
"code": 2378 | |
}, | |
"Getter and setter accessors do not agree in visibility.": { | |
"category": "Error", | |
"code": 2379 | |
}, | |
"'get' and 'set' accessor must have the same type.": { | |
"category": "Error", | |
"code": 2380 | |
}, | |
"A signature with an implementation cannot use a string literal type.": { | |
"category": "Error", | |
"code": 2381 | |
}, | |
"Specialized overload signature is not assignable to any non-specialized signature.": { | |
"category": "Error", | |
"code": 2382 | |
}, | |
"Overload signatures must all be exported or non-exported.": { | |
"category": "Error", | |
"code": 2383 | |
}, | |
"Overload signatures must all be ambient or non-ambient.": { | |
"category": "Error", | |
"code": 2384 | |
}, | |
"Overload signatures must all be public, private or protected.": { | |
"category": "Error", | |
"code": 2385 | |
}, | |
"Overload signatures must all be optional or required.": { | |
"category": "Error", | |
"code": 2386 | |
}, | |
"Function overload must be static.": { | |
"category": "Error", | |
"code": 2387 | |
}, | |
"Function overload must not be static.": { | |
"category": "Error", | |
"code": 2388 | |
}, | |
"Function implementation name must be '{0}'.": { | |
"category": "Error", | |
"code": 2389 | |
}, | |
"Constructor implementation is missing.": { | |
"category": "Error", | |
"code": 2390 | |
}, | |
"Function implementation is missing or not immediately following the declaration.": { | |
"category": "Error", | |
"code": 2391 | |
}, | |
"Multiple constructor implementations are not allowed.": { | |
"category": "Error", | |
"code": 2392 | |
}, | |
"Duplicate function implementation.": { | |
"category": "Error", | |
"code": 2393 | |
}, | |
"This overload signature is not compatible with its implementation signature.": { | |
"category": "Error", | |
"code": 2394 | |
}, | |
"Individual declarations in merged declaration '{0}' must be all exported or all local.": { | |
"category": "Error", | |
"code": 2395 | |
}, | |
"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.": { | |
"category": "Error", | |
"code": 2396 | |
}, | |
"Declaration name conflicts with built-in global identifier '{0}'.": { | |
"category": "Error", | |
"code": 2397 | |
}, | |
"Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference.": { | |
"category": "Error", | |
"code": 2399 | |
}, | |
"Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference.": { | |
"category": "Error", | |
"code": 2400 | |
}, | |
"Duplicate identifier '_super'. Compiler uses '_super' to capture base class reference.": { | |
"category": "Error", | |
"code": 2401 | |
}, | |
"Expression resolves to '_super' that compiler uses to capture base class reference.": { | |
"category": "Error", | |
"code": 2402 | |
}, | |
"Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.": { | |
"category": "Error", | |
"code": 2403 | |
}, | |
"The left-hand side of a 'for...in' statement cannot use a type annotation.": { | |
"category": "Error", | |
"code": 2404 | |
}, | |
"The left-hand side of a 'for...in' statement must be of type 'string' or 'any'.": { | |
"category": "Error", | |
"code": 2405 | |
}, | |
"The left-hand side of a 'for...in' statement must be a variable or a property access.": { | |
"category": "Error", | |
"code": 2406 | |
}, | |
"The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter, but here has type '{0}'.": { | |
"category": "Error", | |
"code": 2407 | |
}, | |
"Setters cannot return a value.": { | |
"category": "Error", | |
"code": 2408 | |
}, | |
"Return type of constructor signature must be assignable to the instance type of the class.": { | |
"category": "Error", | |
"code": 2409 | |
}, | |
"The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'.": { | |
"category": "Error", | |
"code": 2410 | |
}, | |
"Property '{0}' of type '{1}' is not assignable to string index type '{2}'.": { | |
"category": "Error", | |
"code": 2411 | |
}, | |
"Property '{0}' of type '{1}' is not assignable to numeric index type '{2}'.": { | |
"category": "Error", | |
"code": 2412 | |
}, | |
"Numeric index type '{0}' is not assignable to string index type '{1}'.": { | |
"category": "Error", | |
"code": 2413 | |
}, | |
"Class name cannot be '{0}'.": { | |
"category": "Error", | |
"code": 2414 | |
}, | |
"Class '{0}' incorrectly extends base class '{1}'.": { | |
"category": "Error", | |
"code": 2415 | |
}, | |
"Property '{0}' in type '{1}' is not assignable to the same property in base type '{2}'.": { | |
"category": "Error", | |
"code": 2416 | |
}, | |
"Class static side '{0}' incorrectly extends base class static side '{1}'.": { | |
"category": "Error", | |
"code": 2417 | |
}, | |
"Type of computed property's value is '{0}', which is not assignable to type '{1}'.": { | |
"category": "Error", | |
"code": 2418 | |
}, | |
"Class '{0}' incorrectly implements interface '{1}'.": { | |
"category": "Error", | |
"code": 2420 | |
}, | |
"A class can only implement an object type or intersection of object types with statically known members.": { | |
"category": "Error", | |
"code": 2422 | |
}, | |
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.": { | |
"category": "Error", | |
"code": 2423 | |
}, | |
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.": { | |
"category": "Error", | |
"code": 2424 | |
}, | |
"Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.": { | |
"category": "Error", | |
"code": 2425 | |
}, | |
"Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.": { | |
"category": "Error", | |
"code": 2426 | |
}, | |
"Interface name cannot be '{0}'.": { | |
"category": "Error", | |
"code": 2427 | |
}, | |
"All declarations of '{0}' must have identical type parameters.": { | |
"category": "Error", | |
"code": 2428 | |
}, | |
"Interface '{0}' incorrectly extends interface '{1}'.": { | |
"category": "Error", | |
"code": 2430 | |
}, | |
"Enum name cannot be '{0}'.": { | |
"category": "Error", | |
"code": 2431 | |
}, | |
"In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element.": { | |
"category": "Error", | |
"code": 2432 | |
}, | |
"A namespace declaration cannot be in a different file from a class or function with which it is merged.": { | |
"category": "Error", | |
"code": 2433 | |
}, | |
"A namespace declaration cannot be located prior to a class or function with which it is merged.": { | |
"category": "Error", | |
"code": 2434 | |
}, | |
"Ambient modules cannot be nested in other modules or namespaces.": { | |
"category": "Error", | |
"code": 2435 | |
}, | |
"Ambient module declaration cannot specify relative module name.": { | |
"category": "Error", | |
"code": 2436 | |
}, | |
"Module '{0}' is hidden by a local declaration with the same name.": { | |
"category": "Error", | |
"code": 2437 | |
}, | |
"Import name cannot be '{0}'.": { | |
"category": "Error", | |
"code": 2438 | |
}, | |
"Import or export declaration in an ambient module declaration cannot reference module through relative module name.": { | |
"category": "Error", | |
"code": 2439 | |
}, | |
"Import declaration conflicts with local declaration of '{0}'.": { | |
"category": "Error", | |
"code": 2440 | |
}, | |
"Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module.": { | |
"category": "Error", | |
"code": 2441 | |
}, | |
"Types have separate declarations of a private property '{0}'.": { | |
"category": "Error", | |
"code": 2442 | |
}, | |
"Property '{0}' is protected but type '{1}' is not a class derived from '{2}'.": { | |
"category": "Error", | |
"code": 2443 | |
}, | |
"Property '{0}' is protected in type '{1}' but public in type '{2}'.": { | |
"category": "Error", | |
"code": 2444 | |
}, | |
"Property '{0}' is protected and only accessible within class '{1}' and its subclasses.": { | |
"category": "Error", | |
"code": 2445 | |
}, | |
"Property '{0}' is protected and only accessible through an instance of class '{1}'.": { | |
"category": "Error", | |
"code": 2446 | |
}, | |
"The '{0}' operator is not allowed for boolean types. Consider using '{1}' instead.": { | |
"category": "Error", | |
"code": 2447 | |
}, | |
"Block-scoped variable '{0}' used before its declaration.": { | |
"category": "Error", | |
"code": 2448 | |
}, | |
"Class '{0}' used before its declaration.": { | |
"category": "Error", | |
"code": 2449 | |
}, | |
"Enum '{0}' used before its declaration.": { | |
"category": "Error", | |
"code": 2450 | |
}, | |
"Cannot redeclare block-scoped variable '{0}'.": { | |
"category": "Error", | |
"code": 2451 | |
}, | |
"An enum member cannot have a numeric name.": { | |
"category": "Error", | |
"code": 2452 | |
}, | |
"The type argument for type parameter '{0}' cannot be inferred from the usage. Consider specifying the type arguments explicitly.": { | |
"category": "Error", | |
"code": 2453 | |
}, | |
"Variable '{0}' is used before being assigned.": { | |
"category": "Error", | |
"code": 2454 | |
}, | |
"Type argument candidate '{1}' is not a valid type argument because it is not a supertype of candidate '{0}'.": { | |
"category": "Error", | |
"code": 2455 | |
}, | |
"Type alias '{0}' circularly references itself.": { | |
"category": "Error", | |
"code": 2456 | |
}, | |
"Type alias name cannot be '{0}'.": { | |
"category": "Error", | |
"code": 2457 | |
}, | |
"An AMD module cannot have multiple name assignments.": { | |
"category": "Error", | |
"code": 2458 | |
}, | |
"Type '{0}' is not an array type.": { | |
"category": "Error", | |
"code": 2461 | |
}, | |
"A rest element must be last in a destructuring pattern.": { | |
"category": "Error", | |
"code": 2462 | |
}, | |
"A binding pattern parameter cannot be optional in an implementation signature.": { | |
"category": "Error", | |
"code": 2463 | |
}, | |
"A computed property name must be of type 'string', 'number', 'symbol', or 'any'.": { | |
"category": "Error", | |
"code": 2464 | |
}, | |
"'this' cannot be referenced in a computed property name.": { | |
"category": "Error", | |
"code": 2465 | |
}, | |
"'super' cannot be referenced in a computed property name.": { | |
"category": "Error", | |
"code": 2466 | |
}, | |
"A computed property name cannot reference a type parameter from its containing type.": { | |
"category": "Error", | |
"code": 2467 | |
}, | |
"Cannot find global value '{0}'.": { | |
"category": "Error", | |
"code": 2468 | |
}, | |
"The '{0}' operator cannot be applied to type 'symbol'.": { | |
"category": "Error", | |
"code": 2469 | |
}, | |
"'Symbol' reference does not refer to the global Symbol constructor object.": { | |
"category": "Error", | |
"code": 2470 | |
}, | |
"A computed property name of the form '{0}' must be of type 'symbol'.": { | |
"category": "Error", | |
"code": 2471 | |
}, | |
"Spread operator in 'new' expressions is only available when targeting ECMAScript 5 and higher.": { | |
"category": "Error", | |
"code": 2472 | |
}, | |
"Enum declarations must all be const or non-const.": { | |
"category": "Error", | |
"code": 2473 | |
}, | |
"const enum member initializers can only contain literal values and other computed enum values.": { | |
"category": "Error", | |
"code": 2474 | |
}, | |
"'const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment or type query.": { | |
"category": "Error", | |
"code": 2475 | |
}, | |
"A const enum member can only be accessed using a string literal.": { | |
"category": "Error", | |
"code": 2476 | |
}, | |
"'const' enum member initializer was evaluated to a non-finite value.": { | |
"category": "Error", | |
"code": 2477 | |
}, | |
"'const' enum member initializer was evaluated to disallowed value 'NaN'.": { | |
"category": "Error", | |
"code": 2478 | |
}, | |
"Property '{0}' does not exist on 'const' enum '{1}'.": { | |
"category": "Error", | |
"code": 2479 | |
}, | |
"'let' is not allowed to be used as a name in 'let' or 'const' declarations.": { | |
"category": "Error", | |
"code": 2480 | |
}, | |
"Cannot initialize outer scoped variable '{0}' in the same scope as block scoped declaration '{1}'.": { | |
"category": "Error", | |
"code": 2481 | |
}, | |
"The left-hand side of a 'for...of' statement cannot use a type annotation.": { | |
"category": "Error", | |
"code": 2483 | |
}, | |
"Export declaration conflicts with exported declaration of '{0}'.": { | |
"category": "Error", | |
"code": 2484 | |
}, | |
"The left-hand side of a 'for...of' statement must be a variable or a property access.": { | |
"category": "Error", | |
"code": 2487 | |
}, | |
"Type '{0}' must have a '[Symbol.iterator]()' method that returns an iterator.": { | |
"category": "Error", | |
"code": 2488 | |
}, | |
"An iterator must have a 'next()' method.": { | |
"category": "Error", | |
"code": 2489 | |
}, | |
"The type returned by the 'next()' method of an iterator must have a 'value' property.": { | |
"category": "Error", | |
"code": 2490 | |
}, | |
"The left-hand side of a 'for...in' statement cannot be a destructuring pattern.": { | |
"category": "Error", | |
"code": 2491 | |
}, | |
"Cannot redeclare identifier '{0}' in catch clause.": { | |
"category": "Error", | |
"code": 2492 | |
}, | |
"Tuple type '{0}' of length '{1}' has no element at index '{2}'.": { | |
"category": "Error", | |
"code": 2493 | |
}, | |
"Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher.": { | |
"category": "Error", | |
"code": 2494 | |
}, | |
"Type '{0}' is not an array type or a string type.": { | |
"category": "Error", | |
"code": 2495 | |
}, | |
"The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression.": { | |
"category": "Error", | |
"code": 2496 | |
}, | |
"This module can only be referenced with ECMAScript imports/exports by turning on the '{0}' flag and referencing its default export.": { | |
"category": "Error", | |
"code": 2497 | |
}, | |
"Module '{0}' uses 'export =' and cannot be used with 'export *'.": { | |
"category": "Error", | |
"code": 2498 | |
}, | |
"An interface can only extend an identifier/qualified-name with optional type arguments.": { | |
"category": "Error", | |
"code": 2499 | |
}, | |
"A class can only implement an identifier/qualified-name with optional type arguments.": { | |
"category": "Error", | |
"code": 2500 | |
}, | |
"A rest element cannot contain a binding pattern.": { | |
"category": "Error", | |
"code": 2501 | |
}, | |
"'{0}' is referenced directly or indirectly in its own type annotation.": { | |
"category": "Error", | |
"code": 2502 | |
}, | |
"Cannot find namespace '{0}'.": { | |
"category": "Error", | |
"code": 2503 | |
}, | |
"Type '{0}' must have a '[Symbol.asyncIterator]()' method that returns an async iterator.": { | |
"category": "Error", | |
"code": 2504 | |
}, | |
"A generator cannot have a 'void' type annotation.": { | |
"category": "Error", | |
"code": 2505 | |
}, | |
"'{0}' is referenced directly or indirectly in its own base expression.": { | |
"category": "Error", | |
"code": 2506 | |
}, | |
"Type '{0}' is not a constructor function type.": { | |
"category": "Error", | |
"code": 2507 | |
}, | |
"No base constructor has the specified number of type arguments.": { | |
"category": "Error", | |
"code": 2508 | |
}, | |
"Base constructor return type '{0}' is not an object type or intersection of object types with statically known members.": { | |
"category": "Error", | |
"code": 2509 | |
}, | |
"Base constructors must all have the same return type.": { | |
"category": "Error", | |
"code": 2510 | |
}, | |
"Cannot create an instance of an abstract class.": { | |
"category": "Error", | |
"code": 2511 | |
}, | |
"Overload signatures must all be abstract or non-abstract.": { | |
"category": "Error", | |
"code": 2512 | |
}, | |
"Abstract method '{0}' in class '{1}' cannot be accessed via super expression.": { | |
"category": "Error", | |
"code": 2513 | |
}, | |
"Classes containing abstract methods must be marked abstract.": { | |
"category": "Error", | |
"code": 2514 | |
}, | |
"Non-abstract class '{0}' does not implement inherited abstract member '{1}' from class '{2}'.": { | |
"category": "Error", | |
"code": 2515 | |
}, | |
"All declarations of an abstract method must be consecutive.": { | |
"category": "Error", | |
"code": 2516 | |
}, | |
"Cannot assign an abstract constructor type to a non-abstract constructor type.": { | |
"category": "Error", | |
"code": 2517 | |
}, | |
"A 'this'-based type guard is not compatible with a parameter-based type guard.": { | |
"category": "Error", | |
"code": 2518 | |
}, | |
"An async iterator must have a 'next()' method.": { | |
"category": "Error", | |
"code": 2519 | |
}, | |
"Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions.": { | |
"category": "Error", | |
"code": 2520 | |
}, | |
"Expression resolves to variable declaration '{0}' that compiler uses to support async functions.": { | |
"category": "Error", | |
"code": 2521 | |
}, | |
"The 'arguments' object cannot be referenced in an async function or method in ES3 and ES5. Consider using a standard function or method.": { | |
"category": "Error", | |
"code": 2522 | |
}, | |
"'yield' expressions cannot be used in a parameter initializer.": { | |
"category": "Error", | |
"code": 2523 | |
}, | |
"'await' expressions cannot be used in a parameter initializer.": { | |
"category": "Error", | |
"code": 2524 | |
}, | |
"Initializer provides no value for this binding element and the binding element has no default value.": { | |
"category": "Error", | |
"code": 2525 | |
}, | |
"A 'this' type is available only in a non-static member of a class or interface.": { | |
"category": "Error", | |
"code": 2526 | |
}, | |
"The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary.": { | |
"category": "Error", | |
"code": 2527 | |
}, | |
"A module cannot have multiple default exports.": { | |
"category": "Error", | |
"code": 2528 | |
}, | |
"Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module containing async functions.": { | |
"category": "Error", | |
"code": 2529 | |
}, | |
"Property '{0}' is incompatible with index signature.": { | |
"category": "Error", | |
"code": 2530 | |
}, | |
"Object is possibly 'null'.": { | |
"category": "Error", | |
"code": 2531 | |
}, | |
"Object is possibly 'undefined'.": { | |
"category": "Error", | |
"code": 2532 | |
}, | |
"Object is possibly 'null' or 'undefined'.": { | |
"category": "Error", | |
"code": 2533 | |
}, | |
"A function returning 'never' cannot have a reachable end point.": { | |
"category": "Error", | |
"code": 2534 | |
}, | |
"Enum type '{0}' has members with initializers that are not literals.": { | |
"category": "Error", | |
"code": 2535 | |
}, | |
"Type '{0}' cannot be used to index type '{1}'.": { | |
"category": "Error", | |
"code": 2536 | |
}, | |
"Type '{0}' has no matching index signature for type '{1}'.": { | |
"category": "Error", | |
"code": 2537 | |
}, | |
"Type '{0}' cannot be used as an index type.": { | |
"category": "Error", | |
"code": 2538 | |
}, | |
"Cannot assign to '{0}' because it is not a variable.": { | |
"category": "Error", | |
"code": 2539 | |
}, | |
"Cannot assign to '{0}' because it is a read-only property.": { | |
"category": "Error", | |
"code": 2540 | |
}, | |
"The target of an assignment must be a variable or a property access.": { | |
"category": "Error", | |
"code": 2541 | |
}, | |
"Index signature in type '{0}' only permits reading.": { | |
"category": "Error", | |
"code": 2542 | |
}, | |
"Duplicate identifier '_newTarget'. Compiler uses variable declaration '_newTarget' to capture 'new.target' meta-property reference.": { | |
"category": "Error", | |
"code": 2543 | |
}, | |
"Expression resolves to variable declaration '_newTarget' that compiler uses to capture 'new.target' meta-property reference.": { | |
"category": "Error", | |
"code": 2544 | |
}, | |
"A mixin class must have a constructor with a single rest parameter of type 'any[]'.": { | |
"category": "Error", | |
"code": 2545 | |
}, | |
"Property '{0}' has conflicting declarations and is inaccessible in type '{1}'.": { | |
"category": "Error", | |
"code": 2546 | |
}, | |
"The type returned by the 'next()' method of an async iterator must be a promise for a type with a 'value' property.": { | |
"category": "Error", | |
"code": 2547 | |
}, | |
"Type '{0}' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator.": { | |
"category": "Error", | |
"code": 2548 | |
}, | |
"Type '{0}' is not an array type or a string type or does not have a '[Symbol.iterator]()' method that returns an iterator.": { | |
"category": "Error", | |
"code": 2549 | |
}, | |
"Property '{0}' does not exist on type '{1}'. Did you mean '{2}'?": { | |
"category": "Error", | |
"code": 2551 | |
}, | |
"Cannot find name '{0}'. Did you mean '{1}'?": { | |
"category": "Error", | |
"code": 2552 | |
}, | |
"Computed values are not permitted in an enum with string valued members.": { | |
"category": "Error", | |
"code": 2553 | |
}, | |
"Expected {0} arguments, but got {1}.": { | |
"category": "Error", | |
"code": 2554 | |
}, | |
"Expected at least {0} arguments, but got {1}.": { | |
"category": "Error", | |
"code": 2555 | |
}, | |
"Expected {0} arguments, but got {1} or more.": { | |
"category": "Error", | |
"code": 2556 | |
}, | |
"Expected at least {0} arguments, but got {1} or more.": { | |
"category": "Error", | |
"code": 2557 | |
}, | |
"Expected {0} type arguments, but got {1}.": { | |
"category": "Error", | |
"code": 2558 | |
}, | |
"Type '{0}' has no properties in common with type '{1}'.": { | |
"category": "Error", | |
"code": 2559 | |
}, | |
"Value of type '{0}' has no properties in common with type '{1}'. Did you mean to call it?": { | |
"category": "Error", | |
"code": 2560 | |
}, | |
"Object literal may only specify known properties, but '{0}' does not exist in type '{1}'. Did you mean to write '{2}'?": { | |
"category": "Error", | |
"code": 2561 | |
}, | |
"Base class expressions cannot reference class type parameters.": { | |
"category": "Error", | |
"code": 2562 | |
}, | |
"The containing function or module body is too large for control flow analysis.": { | |
"category": "Error", | |
"code": 2563 | |
}, | |
"Property '{0}' has no initializer and is not definitely assigned in the constructor.": { | |
"category": "Error", | |
"code": 2564 | |
}, | |
"Property '{0}' is used before being assigned.": { | |
"category": "Error", | |
"code": 2565 | |
}, | |
"A rest element cannot have a property name.": { | |
"category": "Error", | |
"code": 2566 | |
}, | |
"Enum declarations can only merge with namespace or other enum declarations.": { | |
"category": "Error", | |
"code": 2567 | |
}, | |
"Type '{0}' is not an array type or a string type. Use compiler option '--downlevelIteration' to allow iterating of iterators.": { | |
"category": "Error", | |
"code": 2569 | |
}, | |
"Property '{0}' does not exist on type '{1}'. Did you forget to use 'await'?": { | |
"category": "Error", | |
"code": 2570 | |
}, | |
"Object is of type 'unknown'.": { | |
"category": "Error", | |
"code": 2571 | |
}, | |
"Rest signatures are incompatible.": { | |
"category": "Error", | |
"code": 2572 | |
}, | |
"Property '{0}' is incompatible with rest element type.": { | |
"category": "Error", | |
"code": 2573 | |
}, | |
"A rest element type must be an array type.": { | |
"category": "Error", | |
"code": 2574 | |
}, | |
"No overload expects {0} arguments, but overloads do exist that expect either {1} or {2} arguments.": { | |
"category": "Error", | |
"code": 2575 | |
}, | |
"Property '{0}' is a static member of type '{1}'": { | |
"category": "Error", | |
"code": 2576 | |
}, | |
"Return type annotation circularly references itself.": { | |
"category": "Error", | |
"code": 2577 | |
}, | |
"Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i @types/node`.": { | |
"category": "Error", | |
"code": 2580 | |
}, | |
"Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery`.": { | |
"category": "Error", | |
"code": 2581 | |
}, | |
"Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha`.": { | |
"category": "Error", | |
"code": 2582 | |
}, | |
"Cannot find name '{0}'. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later.": { | |
"category": "Error", | |
"code": 2583 | |
}, | |
"Cannot find name '{0}'. Do you need to change your target library? Try changing the `lib` compiler option to include 'dom'.": { | |
"category": "Error", | |
"code": 2584 | |
}, | |
"'{0}' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later.": { | |
"category": "Error", | |
"code": 2585 | |
}, | |
"Enum type '{0}' circularly references itself.": { | |
"category": "Error", | |
"code": 2586 | |
}, | |
"JSDoc type '{0}' circularly references itself.": { | |
"category": "Error", | |
"code": 2587 | |
}, | |
"Cannot assign to '{0}' because it is a constant.": { | |
"category": "Error", | |
"code": 2588 | |
}, | |
"Type instantiation is excessively deep and possibly infinite.": { | |
"category": "Error", | |
"code": 2589 | |
}, | |
"Expression produces a union type that is too complex to represent.": { | |
"category": "Error", | |
"code": 2590 | |
}, | |
"Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig.": { | |
"category": "Error", | |
"code": 2591 | |
}, | |
"Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery` and then add `jquery` to the types field in your tsconfig.": { | |
"category": "Error", | |
"code": 2592 | |
}, | |
"Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig.": { | |
"category": "Error", | |
"code": 2593 | |
}, | |
"JSX element attributes type '{0}' may not be a union type.": { | |
"category": "Error", | |
"code": 2600 | |
}, | |
"The return type of a JSX element constructor must return an object type.": { | |
"category": "Error", | |
"code": 2601 | |
}, | |
"JSX element implicitly has type 'any' because the global type 'JSX.Element' does not exist.": { | |
"category": "Error", | |
"code": 2602 | |
}, | |
"Property '{0}' in type '{1}' is not assignable to type '{2}'.": { | |
"category": "Error", | |
"code": 2603 | |
}, | |
"JSX element type '{0}' does not have any construct or call signatures.": { | |
"category": "Error", | |
"code": 2604 | |
}, | |
"JSX element type '{0}' is not a constructor function for JSX elements.": { | |
"category": "Error", | |
"code": 2605 | |
}, | |
"Property '{0}' of JSX spread attribute is not assignable to target property.": { | |
"category": "Error", | |
"code": 2606 | |
}, | |
"JSX element class does not support attributes because it does not have a '{0}' property.": { | |
"category": "Error", | |
"code": 2607 | |
}, | |
"The global type 'JSX.{0}' may not have more than one property.": { | |
"category": "Error", | |
"code": 2608 | |
}, | |
"JSX spread child must be an array type.": { | |
"category": "Error", | |
"code": 2609 | |
}, | |
"Cannot augment module '{0}' with value exports because it resolves to a non-module entity.": { | |
"category": "Error", | |
"code": 2649 | |
}, | |
"A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums.": { | |
"category": "Error", | |
"code": 2651 | |
}, | |
"Merged declaration '{0}' cannot include a default export declaration. Consider adding a separate 'export default {0}' declaration instead.": { | |
"category": "Error", | |
"code": 2652 | |
}, | |
"Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}'.": { | |
"category": "Error", | |
"code": 2653 | |
}, | |
"Exported external package typings file cannot contain tripleslash references. Please contact the package author to update the package definition.": { | |
"category": "Error", | |
"code": 2654 | |
}, | |
"Exported external package typings file '{0}' is not a module. Please contact the package author to update the package definition.": { | |
"category": "Error", | |
"code": 2656 | |
}, | |
"JSX expressions must have one parent element.": { | |
"category": "Error", | |
"code": 2657 | |
}, | |
"Type '{0}' provides no match for the signature '{1}'.": { | |
"category": "Error", | |
"code": 2658 | |
}, | |
"'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher.": { | |
"category": "Error", | |
"code": 2659 | |
}, | |
"'super' can only be referenced in members of derived classes or object literal expressions.": { | |
"category": "Error", | |
"code": 2660 | |
}, | |
"Cannot export '{0}'. Only local declarations can be exported from a module.": { | |
"category": "Error", | |
"code": 2661 | |
}, | |
"Cannot find name '{0}'. Did you mean the static member '{1}.{0}'?": { | |
"category": "Error", | |
"code": 2662 | |
}, | |
"Cannot find name '{0}'. Did you mean the instance member 'this.{0}'?": { | |
"category": "Error", | |
"code": 2663 | |
}, | |
"Invalid module name in augmentation, module '{0}' cannot be found.": { | |
"category": "Error", | |
"code": 2664 | |
}, | |
"Invalid module name in augmentation. Module '{0}' resolves to an untyped module at '{1}', which cannot be augmented.": { | |
"category": "Error", | |
"code": 2665 | |
}, | |
"Exports and export assignments are not permitted in module augmentations.": { | |
"category": "Error", | |
"code": 2666 | |
}, | |
"Imports are not permitted in module augmentations. Consider moving them to the enclosing external module.": { | |
"category": "Error", | |
"code": 2667 | |
}, | |
"'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible.": { | |
"category": "Error", | |
"code": 2668 | |
}, | |
"Augmentations for the global scope can only be directly nested in external modules or ambient module declarations.": { | |
"category": "Error", | |
"code": 2669 | |
}, | |
"Augmentations for the global scope should have 'declare' modifier unless they appear in already ambient context.": { | |
"category": "Error", | |
"code": 2670 | |
}, | |
"Cannot augment module '{0}' because it resolves to a non-module entity.": { | |
"category": "Error", | |
"code": 2671 | |
}, | |
"Cannot assign a '{0}' constructor type to a '{1}' constructor type.": { | |
"category": "Error", | |
"code": 2672 | |
}, | |
"Constructor of class '{0}' is private and only accessible within the class declaration.": { | |
"category": "Error", | |
"code": 2673 | |
}, | |
"Constructor of class '{0}' is protected and only accessible within the class declaration.": { | |
"category": "Error", | |
"code": 2674 | |
}, | |
"Cannot extend a class '{0}'. Class constructor is marked as private.": { | |
"category": "Error", | |
"code": 2675 | |
}, | |
"Accessors must both be abstract or non-abstract.": { | |
"category": "Error", | |
"code": 2676 | |
}, | |
"A type predicate's type must be assignable to its parameter's type.": { | |
"category": "Error", | |
"code": 2677 | |
}, | |
"Type '{0}' is not comparable to type '{1}'.": { | |
"category": "Error", | |
"code": 2678 | |
}, | |
"A function that is called with the 'new' keyword cannot have a 'this' type that is 'void'.": { | |
"category": "Error", | |
"code": 2679 | |
}, | |
"A '{0}' parameter must be the first parameter.": { | |
"category": "Error", | |
"code": 2680 | |
}, | |
"A constructor cannot have a 'this' parameter.": { | |
"category": "Error", | |
"code": 2681 | |
}, | |
"'get' and 'set' accessor must have the same 'this' type.": { | |
"category": "Error", | |
"code": 2682 | |
}, | |
"'this' implicitly has type 'any' because it does not have a type annotation.": { | |
"category": "Error", | |
"code": 2683 | |
}, | |
"The 'this' context of type '{0}' is not assignable to method's 'this' of type '{1}'.": { | |
"category": "Error", | |
"code": 2684 | |
}, | |
"The 'this' types of each signature are incompatible.": { | |
"category": "Error", | |
"code": 2685 | |
}, | |
"'{0}' refers to a UMD global, but the current file is a module. Consider adding an import instead.": { | |
"category": "Error", | |
"code": 2686 | |
}, | |
"All declarations of '{0}' must have identical modifiers.": { | |
"category": "Error", | |
"code": 2687 | |
}, | |
"Cannot find type definition file for '{0}'.": { | |
"category": "Error", | |
"code": 2688 | |
}, | |
"Cannot extend an interface '{0}'. Did you mean 'implements'?": { | |
"category": "Error", | |
"code": 2689 | |
}, | |
"An import path cannot end with a '{0}' extension. Consider importing '{1}' instead.": { | |
"category": "Error", | |
"code": 2691 | |
}, | |
"'{0}' is a primitive, but '{1}' is a wrapper object. Prefer using '{0}' when possible.": { | |
"category": "Error", | |
"code": 2692 | |
}, | |
"'{0}' only refers to a type, but is being used as a value here.": { | |
"category": "Error", | |
"code": 2693 | |
}, | |
"Namespace '{0}' has no exported member '{1}'.": { | |
"category": "Error", | |
"code": 2694 | |
}, | |
"Left side of comma operator is unused and has no side effects.": { | |
"category": "Error", | |
"code": 2695, | |
"reportsUnnecessary": true | |
}, | |
"The 'Object' type is assignable to very few other types. Did you mean to use the 'any' type instead?": { | |
"category": "Error", | |
"code": 2696 | |
}, | |
"An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your `--lib` option.": { | |
"category": "Error", | |
"code": 2697 | |
}, | |
"Spread types may only be created from object types.": { | |
"category": "Error", | |
"code": 2698 | |
}, | |
"Static property '{0}' conflicts with built-in property 'Function.{0}' of constructor function '{1}'.": { | |
"category": "Error", | |
"code": 2699 | |
}, | |
"Rest types may only be created from object types.": { | |
"category": "Error", | |
"code": 2700 | |
}, | |
"The target of an object rest assignment must be a variable or a property access.": { | |
"category": "Error", | |
"code": 2701 | |
}, | |
"'{0}' only refers to a type, but is being used as a namespace here.": { | |
"category": "Error", | |
"code": 2702 | |
}, | |
"The operand of a delete operator must be a property reference.": { | |
"category": "Error", | |
"code": 2703 | |
}, | |
"The operand of a delete operator cannot be a read-only property.": { | |
"category": "Error", | |
"code": 2704 | |
}, | |
"An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your `--lib` option.": { | |
"category": "Error", | |
"code": 2705 | |
}, | |
"Required type parameters may not follow optional type parameters.": { | |
"category": "Error", | |
"code": 2706 | |
}, | |
"Generic type '{0}' requires between {1} and {2} type arguments.": { | |
"category": "Error", | |
"code": 2707 | |
}, | |
"Cannot use namespace '{0}' as a value.": { | |
"category": "Error", | |
"code": 2708 | |
}, | |
"Cannot use namespace '{0}' as a type.": { | |
"category": "Error", | |
"code": 2709 | |
}, | |
"'{0}' are specified twice. The attribute named '{0}' will be overwritten.": { | |
"category": "Error", | |
"code": 2710 | |
}, | |
"A dynamic import call returns a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your `--lib` option.": { | |
"category": "Error", | |
"code": 2711 | |
}, | |
"A dynamic import call in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your `--lib` option.": { | |
"category": "Error", | |
"code": 2712 | |
}, | |
"Cannot access '{0}.{1}' because '{0}' is a type, but not a namespace. Did you mean to retrieve the type of the property '{1}' in '{0}' with '{0}[\"{1}\"]'?": { | |
"category": "Error", | |
"code": 2713 | |
}, | |
"The expression of an export assignment must be an identifier or qualified name in an ambient context.": { | |
"category": "Error", | |
"code": 2714 | |
}, | |
"Abstract property '{0}' in class '{1}' cannot be accessed in the constructor.": { | |
"category": "Error", | |
"code": 2715 | |
}, | |
"Type parameter '{0}' has a circular default.": { | |
"category": "Error", | |
"code": 2716 | |
}, | |
"Subsequent property declarations must have the same type. Property '{0}' must be of type '{1}', but here has type '{2}'.": { | |
"category": "Error", | |
"code": 2717 | |
}, | |
"Duplicate property '{0}'.": { | |
"category": "Error", | |
"code": 2718 | |
}, | |
"Type '{0}' is not assignable to type '{1}'. Two different types with this name exist, but they are unrelated.": { | |
"category": "Error", | |
"code": 2719 | |
}, | |
"Class '{0}' incorrectly implements class '{1}'. Did you mean to extend '{1}' and inherit its members as a subclass?": { | |
"category": "Error", | |
"code": 2720 | |
}, | |
"Cannot invoke an object which is possibly 'null'.": { | |
"category": "Error", | |
"code": 2721 | |
}, | |
"Cannot invoke an object which is possibly 'undefined'.": { | |
"category": "Error", | |
"code": 2722 | |
}, | |
"Cannot invoke an object which is possibly 'null' or 'undefined'.": { | |
"category": "Error", | |
"code": 2723 | |
}, | |
"Module '{0}' has no exported member '{1}'. Did you mean '{2}'?": { | |
"category": "Error", | |
"code": 2724 | |
}, | |
"Class name cannot be 'Object' when targeting ES5 with module {0}.": { | |
"category": "Error", | |
"code": 2725 | |
}, | |
"Cannot find lib definition for '{0}'.": { | |
"category": "Error", | |
"code": 2726 | |
}, | |
"Cannot find lib definition for '{0}'. Did you mean '{1}'?": { | |
"category": "Error", | |
"code": 2727 | |
}, | |
"'{0}' is declared here.": { | |
"category": "Message", | |
"code": 2728 | |
}, | |
"Property '{0}' is used before its initialization.": { | |
"category": "Error", | |
"code": 2729 | |
}, | |
"An arrow function cannot have a 'this' parameter.": { | |
"category": "Error", | |
"code": 2730 | |
}, | |
"Implicit conversion of a 'symbol' to a 'string' will fail at runtime. Consider wrapping this expression in 'String(...)'.": { | |
"category": "Error", | |
"code": 2731 | |
}, | |
"Cannot find module '{0}'. Consider using '--resolveJsonModule' to import module with '.json' extension": { | |
"category": "Error", | |
"code": 2732 | |
}, | |
"Property '{0}' was also declared here.": { | |
"category": "Error", | |
"code": 2733 | |
}, | |
"It is highly likely that you are missing a semicolon.": { | |
"category": "Error", | |
"code": 2734 | |
}, | |
"Did you mean for '{0}' to be constrained to type 'new (...args: any[]) => {1}'?": { | |
"category": "Error", | |
"code": 2735 | |
}, | |
"Operator '{0}' cannot be applied to type '{1}'.": { | |
"category": "Error", | |
"code": 2736 | |
}, | |
"BigInt literals are not available when targeting lower than ESNext.": { | |
"category": "Error", | |
"code": 2737 | |
}, | |
"An outer value of 'this' is shadowed by this container.": { | |
"category": "Message", | |
"code": 2738 | |
}, | |
"Type '{0}' is missing the following properties from type '{1}': {2}": { | |
"category": "Error", | |
"code": 2739 | |
}, | |
"Type '{0}' is missing the following properties from type '{1}': {2}, and {3} more.": { | |
"category": "Error", | |
"code": 2740 | |
}, | |
"Property '{0}' is missing in type '{1}' but required in type '{2}'.": { | |
"category": "Error", | |
"code": 2741 | |
}, | |
"The inferred type of '{0}' cannot be named without a reference to '{1}'. This is likely not portable. A type annotation is necessary.": { | |
"category": "Error", | |
"code": 2742 | |
}, | |
"No overload expects {0} type arguments, but overloads do exist that expect either {1} or {2} type arguments.": { | |
"category": "Error", | |
"code": 2743 | |
}, | |
"Type parameter defaults can only reference previously declared type parameters.": { | |
"category": "Error", | |
"code": 2744 | |
}, | |
"This JSX tag's '{0}' prop expects type '{1}' which requires multiple children, but only a single child was provided.": { | |
"category": "Error", | |
"code": 2745 | |
}, | |
"This JSX tag's '{0}' prop expects a single child of type '{1}', but multiple children were provided.": { | |
"category": "Error", | |
"code": 2746 | |
}, | |
"'{0}' components don't accept text as child elements. Text in JSX has the type 'string', but the expected type of '{1}' is '{2}'.": { | |
"category": "Error", | |
"code": 2747 | |
}, | |
"Cannot access ambient const enums when the '--isolatedModules' flag is provided.": { | |
"category": "Error", | |
"code": 2748 | |
}, | |
"'{0}' refers to a value, but is being used as a type here.": { | |
"category": "Error", | |
"code": 2749 | |
}, | |
"The implementation signature is declared here.": { | |
"category": "Error", | |
"code": 2750 | |
}, | |
"Circularity originates in type at this location.": { | |
"category": "Error", | |
"code": 2751 | |
}, | |
"The first export default is here.": { | |
"category": "Error", | |
"code": 2752 | |
}, | |
"Another export default is here.": { | |
"category": "Error", | |
"code": 2753 | |
}, | |
"Import declaration '{0}' is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4000 | |
}, | |
"Type parameter '{0}' of exported class has or is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4002 | |
}, | |
"Type parameter '{0}' of exported interface has or is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4004 | |
}, | |
"Type parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4006 | |
}, | |
"Type parameter '{0}' of call signature from exported interface has or is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4008 | |
}, | |
"Type parameter '{0}' of public static method from exported class has or is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4010 | |
}, | |
"Type parameter '{0}' of public method from exported class has or is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4012 | |
}, | |
"Type parameter '{0}' of method from exported interface has or is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4014 | |
}, | |
"Type parameter '{0}' of exported function has or is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4016 | |
}, | |
"Implements clause of exported class '{0}' has or is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4019 | |
}, | |
"'extends' clause of exported class '{0}' has or is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4020 | |
}, | |
"'extends' clause of exported interface '{0}' has or is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4022 | |
}, | |
"Exported variable '{0}' has or is using name '{1}' from external module {2} but cannot be named.": { | |
"category": "Error", | |
"code": 4023 | |
}, | |
"Exported variable '{0}' has or is using name '{1}' from private module '{2}'.": { | |
"category": "Error", | |
"code": 4024 | |
}, | |
"Exported variable '{0}' has or is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4025 | |
}, | |
"Public static property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named.": { | |
"category": "Error", | |
"code": 4026 | |
}, | |
"Public static property '{0}' of exported class has or is using name '{1}' from private module '{2}'.": { | |
"category": "Error", | |
"code": 4027 | |
}, | |
"Public static property '{0}' of exported class has or is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4028 | |
}, | |
"Public property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named.": { | |
"category": "Error", | |
"code": 4029 | |
}, | |
"Public property '{0}' of exported class has or is using name '{1}' from private module '{2}'.": { | |
"category": "Error", | |
"code": 4030 | |
}, | |
"Public property '{0}' of exported class has or is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4031 | |
}, | |
"Property '{0}' of exported interface has or is using name '{1}' from private module '{2}'.": { | |
"category": "Error", | |
"code": 4032 | |
}, | |
"Property '{0}' of exported interface has or is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4033 | |
}, | |
"Parameter type of public static setter '{0}' from exported class has or is using name '{1}' from private module '{2}'.": { | |
"category": "Error", | |
"code": 4034 | |
}, | |
"Parameter type of public static setter '{0}' from exported class has or is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4035 | |
}, | |
"Parameter type of public setter '{0}' from exported class has or is using name '{1}' from private module '{2}'.": { | |
"category": "Error", | |
"code": 4036 | |
}, | |
"Parameter type of public setter '{0}' from exported class has or is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4037 | |
}, | |
"Return type of public static getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named.": { | |
"category": "Error", | |
"code": 4038 | |
}, | |
"Return type of public static getter '{0}' from exported class has or is using name '{1}' from private module '{2}'.": { | |
"category": "Error", | |
"code": 4039 | |
}, | |
"Return type of public static getter '{0}' from exported class has or is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4040 | |
}, | |
"Return type of public getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named.": { | |
"category": "Error", | |
"code": 4041 | |
}, | |
"Return type of public getter '{0}' from exported class has or is using name '{1}' from private module '{2}'.": { | |
"category": "Error", | |
"code": 4042 | |
}, | |
"Return type of public getter '{0}' from exported class has or is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4043 | |
}, | |
"Return type of constructor signature from exported interface has or is using name '{0}' from private module '{1}'.": { | |
"category": "Error", | |
"code": 4044 | |
}, | |
"Return type of constructor signature from exported interface has or is using private name '{0}'.": { | |
"category": "Error", | |
"code": 4045 | |
}, | |
"Return type of call signature from exported interface has or is using name '{0}' from private module '{1}'.": { | |
"category": "Error", | |
"code": 4046 | |
}, | |
"Return type of call signature from exported interface has or is using private name '{0}'.": { | |
"category": "Error", | |
"code": 4047 | |
}, | |
"Return type of index signature from exported interface has or is using name '{0}' from private module '{1}'.": { | |
"category": "Error", | |
"code": 4048 | |
}, | |
"Return type of index signature from exported interface has or is using private name '{0}'.": { | |
"category": "Error", | |
"code": 4049 | |
}, | |
"Return type of public static method from exported class has or is using name '{0}' from external module {1} but cannot be named.": { | |
"category": "Error", | |
"code": 4050 | |
}, | |
"Return type of public static method from exported class has or is using name '{0}' from private module '{1}'.": { | |
"category": "Error", | |
"code": 4051 | |
}, | |
"Return type of public static method from exported class has or is using private name '{0}'.": { | |
"category": "Error", | |
"code": 4052 | |
}, | |
"Return type of public method from exported class has or is using name '{0}' from external module {1} but cannot be named.": { | |
"category": "Error", | |
"code": 4053 | |
}, | |
"Return type of public method from exported class has or is using name '{0}' from private module '{1}'.": { | |
"category": "Error", | |
"code": 4054 | |
}, | |
"Return type of public method from exported class has or is using private name '{0}'.": { | |
"category": "Error", | |
"code": 4055 | |
}, | |
"Return type of method from exported interface has or is using name '{0}' from private module '{1}'.": { | |
"category": "Error", | |
"code": 4056 | |
}, | |
"Return type of method from exported interface has or is using private name '{0}'.": { | |
"category": "Error", | |
"code": 4057 | |
}, | |
"Return type of exported function has or is using name '{0}' from external module {1} but cannot be named.": { | |
"category": "Error", | |
"code": 4058 | |
}, | |
"Return type of exported function has or is using name '{0}' from private module '{1}'.": { | |
"category": "Error", | |
"code": 4059 | |
}, | |
"Return type of exported function has or is using private name '{0}'.": { | |
"category": "Error", | |
"code": 4060 | |
}, | |
"Parameter '{0}' of constructor from exported class has or is using name '{1}' from external module {2} but cannot be named.": { | |
"category": "Error", | |
"code": 4061 | |
}, | |
"Parameter '{0}' of constructor from exported class has or is using name '{1}' from private module '{2}'.": { | |
"category": "Error", | |
"code": 4062 | |
}, | |
"Parameter '{0}' of constructor from exported class has or is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4063 | |
}, | |
"Parameter '{0}' of constructor signature from exported interface has or is using name '{1}' from private module '{2}'.": { | |
"category": "Error", | |
"code": 4064 | |
}, | |
"Parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4065 | |
}, | |
"Parameter '{0}' of call signature from exported interface has or is using name '{1}' from private module '{2}'.": { | |
"category": "Error", | |
"code": 4066 | |
}, | |
"Parameter '{0}' of call signature from exported interface has or is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4067 | |
}, | |
"Parameter '{0}' of public static method from exported class has or is using name '{1}' from external module {2} but cannot be named.": { | |
"category": "Error", | |
"code": 4068 | |
}, | |
"Parameter '{0}' of public static method from exported class has or is using name '{1}' from private module '{2}'.": { | |
"category": "Error", | |
"code": 4069 | |
}, | |
"Parameter '{0}' of public static method from exported class has or is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4070 | |
}, | |
"Parameter '{0}' of public method from exported class has or is using name '{1}' from external module {2} but cannot be named.": { | |
"category": "Error", | |
"code": 4071 | |
}, | |
"Parameter '{0}' of public method from exported class has or is using name '{1}' from private module '{2}'.": { | |
"category": "Error", | |
"code": 4072 | |
}, | |
"Parameter '{0}' of public method from exported class has or is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4073 | |
}, | |
"Parameter '{0}' of method from exported interface has or is using name '{1}' from private module '{2}'.": { | |
"category": "Error", | |
"code": 4074 | |
}, | |
"Parameter '{0}' of method from exported interface has or is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4075 | |
}, | |
"Parameter '{0}' of exported function has or is using name '{1}' from external module {2} but cannot be named.": { | |
"category": "Error", | |
"code": 4076 | |
}, | |
"Parameter '{0}' of exported function has or is using name '{1}' from private module '{2}'.": { | |
"category": "Error", | |
"code": 4077 | |
}, | |
"Parameter '{0}' of exported function has or is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4078 | |
}, | |
"Exported type alias '{0}' has or is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4081 | |
}, | |
"Default export of the module has or is using private name '{0}'.": { | |
"category": "Error", | |
"code": 4082 | |
}, | |
"Type parameter '{0}' of exported type alias has or is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4083 | |
}, | |
"Conflicting definitions for '{0}' found at '{1}' and '{2}'. Consider installing a specific version of this library to resolve the conflict.": { | |
"category": "Error", | |
"code": 4090 | |
}, | |
"Parameter '{0}' of index signature from exported interface has or is using name '{1}' from private module '{2}'.": { | |
"category": "Error", | |
"code": 4091 | |
}, | |
"Parameter '{0}' of index signature from exported interface has or is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4092 | |
}, | |
"Property '{0}' of exported class expression may not be private or protected.": { | |
"category": "Error", | |
"code": 4094 | |
}, | |
"Public static method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named.": { | |
"category": "Error", | |
"code": 4095 | |
}, | |
"Public static method '{0}' of exported class has or is using name '{1}' from private module '{2}'.": { | |
"category": "Error", | |
"code": 4096 | |
}, | |
"Public static method '{0}' of exported class has or is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4097 | |
}, | |
"Public method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named.": { | |
"category": "Error", | |
"code": 4098 | |
}, | |
"Public method '{0}' of exported class has or is using name '{1}' from private module '{2}'.": { | |
"category": "Error", | |
"code": 4099 | |
}, | |
"Public method '{0}' of exported class has or is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4100 | |
}, | |
"Method '{0}' of exported interface has or is using name '{1}' from private module '{2}'.": { | |
"category": "Error", | |
"code": 4101 | |
}, | |
"Method '{0}' of exported interface has or is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4102 | |
}, | |
"Type parameter '{0}' of exported mapped object type is using private name '{1}'.": { | |
"category": "Error", | |
"code": 4103 | |
}, | |
"The current host does not support the '{0}' option.": { | |
"category": "Error", | |
"code": 5001 | |
}, | |
"Cannot find the common subdirectory path for the input files.": { | |
"category": "Error", | |
"code": 5009 | |
}, | |
"File specification cannot end in a recursive directory wildcard ('**'): '{0}'.": { | |
"category": "Error", | |
"code": 5010 | |
}, | |
"Cannot read file '{0}': {1}.": { | |
"category": "Error", | |
"code": 5012 | |
}, | |
"Failed to parse file '{0}': {1}.": { | |
"category": "Error", | |
"code": 5014 | |
}, | |
"Unknown compiler option '{0}'.": { | |
"category": "Error", | |
"code": 5023 | |
}, | |
"Compiler option '{0}' requires a value of type {1}.": { | |
"category": "Error", | |
"code": 5024 | |
}, | |
"Could not write file '{0}': {1}.": { | |
"category": "Error", | |
"code": 5033 | |
}, | |
"Option 'project' cannot be mixed with source files on a command line.": { | |
"category": "Error", | |
"code": 5042 | |
}, | |
"Option 'isolatedModules' can only be used when either option '--module' is provided or option 'target' is 'ES2015' or higher.": { | |
"category": "Error", | |
"code": 5047 | |
}, | |
"Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided.": { | |
"category": "Error", | |
"code": 5051 | |
}, | |
"Option '{0}' cannot be specified without specifying option '{1}'.": { | |
"category": "Error", | |
"code": 5052 | |
}, | |
"Option '{0}' cannot be specified with option '{1}'.": { | |
"category": "Error", | |
"code": 5053 | |
}, | |
"A 'tsconfig.json' file is already defined at: '{0}'.": { | |
"category": "Error", | |
"code": 5054 | |
}, | |
"Cannot write file '{0}' because it would overwrite input file.": { | |
"category": "Error", | |
"code": 5055 | |
}, | |
"Cannot write file '{0}' because it would be overwritten by multiple input files.": { | |
"category": "Error", | |
"code": 5056 | |
}, | |
"Cannot find a tsconfig.json file at the specified directory: '{0}'.": { | |
"category": "Error", | |
"code": 5057 | |
}, | |
"The specified path does not exist: '{0}'.": { | |
"category": "Error", | |
"code": 5058 | |
}, | |
"Invalid value for '--reactNamespace'. '{0}' is not a valid identifier.": { | |
"category": "Error", | |
"code": 5059 | |
}, | |
"Option 'paths' cannot be used without specifying '--baseUrl' option.": { | |
"category": "Error", | |
"code": 5060 | |
}, | |
"Pattern '{0}' can have at most one '*' character.": { | |
"category": "Error", | |
"code": 5061 | |
}, | |
"Substitution '{0}' in pattern '{1}' in can have at most one '*' character.": { | |
"category": "Error", | |
"code": 5062 | |
}, | |
"Substitutions for pattern '{0}' should be an array.": { | |
"category": "Error", | |
"code": 5063 | |
}, | |
"Substitution '{0}' for pattern '{1}' has incorrect type, expected 'string', got '{2}'.": { | |
"category": "Error", | |
"code": 5064 | |
}, | |
"File specification cannot contain a parent directory ('..') that appears after a recursive directory wildcard ('**'): '{0}'.": { | |
"category": "Error", | |
"code": 5065 | |
}, | |
"Substitutions for pattern '{0}' shouldn't be an empty array.": { | |
"category": "Error", | |
"code": 5066 | |
}, | |
"Invalid value for 'jsxFactory'. '{0}' is not a valid identifier or qualified-name.": { | |
"category": "Error", | |
"code": 5067 | |
}, | |
"Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig.": { | |
"category": "Error", | |
"code": 5068 | |
}, | |
"Option '{0}' cannot be specified without specifying option '{1}' or option '{2}'.": { | |
"category": "Error", | |
"code": 5069 | |
}, | |
"Option '--resolveJsonModule' cannot be specified without 'node' module resolution strategy.": { | |
"category": "Error", | |
"code": 5070 | |
}, | |
"Option '--resolveJsonModule' can only be specified when module code generation is 'commonjs', 'amd', 'es2015' or 'esNext'.": { | |
"category": "Error", | |
"code": 5071 | |
}, | |
"Unknown build option '{0}'.": { | |
"category": "Error", | |
"code": 5072 | |
}, | |
"Build option '{0}' requires a value of type {1}.": { | |
"category": "Error", | |
"code": 5073 | |
}, | |
"Generates a sourcemap for each corresponding '.d.ts' file.": { | |
"category": "Message", | |
"code": 6000 | |
}, | |
"Concatenate and emit output to single file.": { | |
"category": "Message", | |
"code": 6001 | |
}, | |
"Generates corresponding '.d.ts' file.": { | |
"category": "Message", | |
"code": 6002 | |
}, | |
"Specify the location where debugger should locate map files instead of generated locations.": { | |
"category": "Message", | |
"code": 6003 | |
}, | |
"Specify the location where debugger should locate TypeScript files instead of source locations.": { | |
"category": "Message", | |
"code": 6004 | |
}, | |
"Watch input files.": { | |
"category": "Message", | |
"code": 6005 | |
}, | |
"Redirect output structure to the directory.": { | |
"category": "Message", | |
"code": 6006 | |
}, | |
"Do not erase const enum declarations in generated code.": { | |
"category": "Message", | |
"code": 6007 | |
}, | |
"Do not emit outputs if any errors were reported.": { | |
"category": "Message", | |
"code": 6008 | |
}, | |
"Do not emit comments to output.": { | |
"category": "Message", | |
"code": 6009 | |
}, | |
"Do not emit outputs.": { | |
"category": "Message", | |
"code": 6010 | |
}, | |
"Allow default imports from modules with no default export. This does not affect code emit, just typechecking.": { | |
"category": "Message", | |
"code": 6011 | |
}, | |
"Skip type checking of declaration files.": { | |
"category": "Message", | |
"code": 6012 | |
}, | |
"Do not resolve the real path of symlinks.": { | |
"category": "Message", | |
"code": 6013 | |
}, | |
"Only emit '.d.ts' declaration files.": { | |
"category": "Message", | |
"code": 6014 | |
}, | |
"Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'.": { | |
"category": "Message", | |
"code": 6015 | |
}, | |
"Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'.": { | |
"category": "Message", | |
"code": 6016 | |
}, | |
"Print this message.": { | |
"category": "Message", | |
"code": 6017 | |
}, | |
"Print the compiler's version.": { | |
"category": "Message", | |
"code": 6019 | |
}, | |
"Compile the project given the path to its configuration file, or to a folder with a 'tsconfig.json'.": { | |
"category": "Message", | |
"code": 6020 | |
}, | |
"Syntax: {0}": { | |
"category": "Message", | |
"code": 6023 | |
}, | |
"options": { | |
"category": "Message", | |
"code": 6024 | |
}, | |
"file": { | |
"category": "Message", | |
"code": 6025 | |
}, | |
"Examples: {0}": { | |
"category": "Message", | |
"code": 6026 | |
}, | |
"Options:": { | |
"category": "Message", | |
"code": 6027 | |
}, | |
"Version {0}": { | |
"category": "Message", | |
"code": 6029 | |
}, | |
"Insert command line options and files from a file.": { | |
"category": "Message", | |
"code": 6030 | |
}, | |
"Starting compilation in watch mode...": { | |
"category": "Message", | |
"code": 6031 | |
}, | |
"File change detected. Starting incremental compilation...": { | |
"category": "Message", | |
"code": 6032 | |
}, | |
"KIND": { | |
"category": "Message", | |
"code": 6034 | |
}, | |
"FILE": { | |
"category": "Message", | |
"code": 6035 | |
}, | |
"VERSION": { | |
"category": "Message", | |
"code": 6036 | |
}, | |
"LOCATION": { | |
"category": "Message", | |
"code": 6037 | |
}, | |
"DIRECTORY": { | |
"category": "Message", | |
"code": 6038 | |
}, | |
"STRATEGY": { | |
"category": "Message", | |
"code": 6039 | |
}, | |
"FILE OR DIRECTORY": { | |
"category": "Message", | |
"code": 6040 | |
}, | |
"Generates corresponding '.map' file.": { | |
"category": "Message", | |
"code": 6043 | |
}, | |
"Compiler option '{0}' expects an argument.": { | |
"category": "Error", | |
"code": 6044 | |
}, | |
"Unterminated quoted string in response file '{0}'.": { | |
"category": "Error", | |
"code": 6045 | |
}, | |
"Argument for '{0}' option must be: {1}.": { | |
"category": "Error", | |
"code": 6046 | |
}, | |
"Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.": { | |
"category": "Error", | |
"code": 6048 | |
}, | |
"Unsupported locale '{0}'.": { | |
"category": "Error", | |
"code": 6049 | |
}, | |
"Unable to open file '{0}'.": { | |
"category": "Error", | |
"code": 6050 | |
}, | |
"Corrupted locale file {0}.": { | |
"category": "Error", | |
"code": 6051 | |
}, | |
"Raise error on expressions and declarations with an implied 'any' type.": { | |
"category": "Message", | |
"code": 6052 | |
}, | |
"File '{0}' not found.": { | |
"category": "Error", | |
"code": 6053 | |
}, | |
"File '{0}' has unsupported extension. The only supported extensions are {1}.": { | |
"category": "Error", | |
"code": 6054 | |
}, | |
"Suppress noImplicitAny errors for indexing objects lacking index signatures.": { | |
"category": "Message", | |
"code": 6055 | |
}, | |
"Do not emit declarations for code that has an '@internal' annotation.": { | |
"category": "Message", | |
"code": 6056 | |
}, | |
"Specify the root directory of input files. Use to control the output directory structure with --outDir.": { | |
"category": "Message", | |
"code": 6058 | |
}, | |
"File '{0}' is not under 'rootDir' '{1}'. 'rootDir' is expected to contain all source files.": { | |
"category": "Error", | |
"code": 6059 | |
}, | |
"Specify the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix).": { | |
"category": "Message", | |
"code": 6060 | |
}, | |
"NEWLINE": { | |
"category": "Message", | |
"code": 6061 | |
}, | |
"Option '{0}' can only be specified in 'tsconfig.json' file.": { | |
"category": "Error", | |
"code": 6064 | |
}, | |
"Enables experimental support for ES7 decorators.": { | |
"category": "Message", | |
"code": 6065 | |
}, | |
"Enables experimental support for emitting type metadata for decorators.": { | |
"category": "Message", | |
"code": 6066 | |
}, | |
"Enables experimental support for ES7 async functions.": { | |
"category": "Message", | |
"code": 6068 | |
}, | |
"Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6).": { | |
"category": "Message", | |
"code": 6069 | |
}, | |
"Initializes a TypeScript project and creates a tsconfig.json file.": { | |
"category": "Message", | |
"code": 6070 | |
}, |