typescript TS 錯誤碼大全

code    類型    英文描述    中文描述
1002    錯誤    Unterminated string literal.    未終止的字符串文本。
1003    錯誤    Identifier expected.    應爲標識符。
1005    錯誤    '{0}' expected.    應爲“{0}”。
1006    錯誤    A file cannot have a reference to itself.    文件不能引用自身。
1009    錯誤    Trailing comma not allowed.    不允許使用尾隨逗號。
1010    錯誤    '*/' expected.    應爲 "*/"。
1012    錯誤    Unexpected token.    意外的標記。
1014    錯誤    A rest parameter must be last in a parameter list.    rest 參數必須是參數列表中的最後一個參數。
1015    錯誤    Parameter cannot have question mark and initializer.    參數不能包含問號和初始化表達式。
1016    錯誤    A required parameter cannot follow an optional parameter.    必選參數不能位於可選參數後。
1017    錯誤    An index signature cannot have a rest parameter.    索引簽名不能包含 rest 參數。
1018    錯誤    An index signature parameter cannot have an accessibility modifier.    索引簽名參數不能具有可訪問性修飾符。
1019    錯誤    An index signature parameter cannot have a question mark.    索引簽名參數不能包含問號。
1020    錯誤    An index signature parameter cannot have an initializer.    索引簽名參數不能具有初始化表達式。
1021    錯誤    An index signature must have a type annotation.    索引簽名必須具有類型批註。
1022    錯誤    An index signature parameter must have a type annotation.    索引簽名參數必須具有類型批註。
1023    錯誤    An index signature parameter type must be 'string' or 'number'.    索引簽名參數類型必須爲 "string" 或 "number"。
1024    錯誤    'readonly' modifier can only appear on a property declaration or index signature.     
1028    錯誤    Accessibility modifier already seen.    已看到可訪問性修飾符。
1029    錯誤    '{0}' modifier must precede '{1}' modifier.    “{0}”修飾符必須位於“{1}”修飾符之前。
1030    錯誤    '{0}' modifier already seen.    已看到“{0}”修飾符。
1031    錯誤    '{0}' modifier cannot appear on a class element.    “{0}”修飾符不能出現在類元素上。
1034    錯誤    'super' must be followed by an argument list or member access.    "super" 的後面必須是參數列表或成員訪問。
1035    錯誤    Only ambient modules can use quoted names.    僅環境模塊可使用帶引號的名稱。
1036    錯誤    Statements are not allowed in ambient contexts.    不允許在環境上下文中使用語句。
1038    錯誤    A 'declare' modifier cannot be used in an already ambient context.    不能在已有的環境上下文中使用 "declare" 修飾符。
1039    錯誤    Initializers are not allowed in ambient contexts.    不允許在環境上下文中使用初始化表達式。
1040    錯誤    '{0}' modifier cannot be used in an ambient context.    “{0}”修飾符不能在環境上下文中使用。
1041    錯誤    '{0}' modifier cannot be used with a class declaration.    “{0}”修飾符不能與類聲明一起使用。
1042    錯誤    '{0}' modifier cannot be used here.    “{0}”修飾符不能在此處使用。
1043    錯誤    '{0}' modifier cannot appear on a data property.    “{0}”修飾符不能出現在數據屬性上。
1044    錯誤    '{0}' modifier cannot appear on a module or namespace element.    “{0}”修飾符不能出現在模塊元素上。
1045    錯誤    A '{0}' modifier cannot be used with an interface declaration.    “{0}”修飾符不能與接口聲明一起使用。
1046    錯誤    A 'declare' modifier is required for a top level declaration in a .d.ts file.    在 .d.ts 文件中的頂層聲明需要 "declare" 修飾符。
1047    錯誤    A rest parameter cannot be optional.    rest 參數不能爲可選參數。
1048    錯誤    A rest parameter cannot have an initializer.    rest 參數不能具有初始化表達式。
1049    錯誤    A 'set' accessor must have exactly one parameter.    "set" 訪問器必須正好具有一個參數。
1051    錯誤    A 'set' accessor cannot have an optional parameter.    "set" 訪問器不能具有可選參數。
1052    錯誤    A 'set' accessor parameter cannot have an initializer.    "set" 訪問器參數不能包含初始化表達式。
1053    錯誤    A 'set' accessor cannot have rest parameter.    "set" 訪問器不能具有 rest 參數。
1054    錯誤    A 'get' accessor cannot have parameters.    "get" 訪問器不能具有參數。
1055    錯誤    Type '{0}' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value.    類型“{0}”不是有效的異步函數返回類型。
1056    錯誤    Accessors are only available when targeting ECMAScript 5 and higher.    訪問器僅在面向 ECMAScript 5 和更高版本時可用。
1057    錯誤    An async function or method must have a valid awaitable return type.    異步函數或方法必須具有有效的可等待返回類型。
1058    錯誤    Operand for 'await' does not have a valid callable 'then' member.    "await" 的操作數不具有有效的可調用 "then" 成員。
1059    錯誤    Return expression in async function does not have a valid callable 'then' member.    異步函數中的返回表達式不具有有效的可調用 "then" 成員。
1060    錯誤    Expression body for async arrow function does not have a valid callable 'then' member.    異步箭頭函數的表達式主體不具有有效的可調用 "then" 成員。
1061    錯誤    Enum member must have initializer.    枚舉成員必須具有初始化表達式。
1062    錯誤    {0} is referenced directly or indirectly in the fulfillment callback of its own 'then' method.    {0} 在其自身的 "then" 方法的 fulfillment 回調中得到直接或間接引用。
1063    錯誤    An export assignment cannot be used in a namespace.    不能在命名空間中使用導出分配。
1064    錯誤    The return type of an async function or method must be the global Promise type.    The return type of an async function or method must be the global Promise type.
1066    錯誤    In ambient enum declarations member initializer must be constant expression.    在環境枚舉聲明中,成員初始化表達式必須是常數表達式。
1068    錯誤    Unexpected token. A constructor, method, accessor, or property was expected.    意外的標記。應爲構造函數、方法、訪問器或屬性。
1070    錯誤    '{0}' modifier cannot appear on a type member.     
1071    錯誤    '{0}' modifier cannot appear on an index signature.     
1079    錯誤    A '{0}' modifier cannot be used with an import declaration.    “{0}”修飾符不能與導入聲明一起使用。
1084    錯誤    Invalid 'reference' directive syntax.    "reference" 指令語法無效。
1085    錯誤    Octal literals are not available when targeting ECMAScript 5 and higher. Use the syntax '{0}'.    面向 ECMAScript 5 和更高版本時,八進制文本不可用。
1086    錯誤    An accessor cannot be declared in an ambient context.    不能在環境上下文中聲明訪問器。
1089    錯誤    '{0}' modifier cannot appear on a constructor declaration.    “{0}”修飾符不能出現在構造函數聲明中。
1090    錯誤    '{0}' modifier cannot appear on a parameter.    “{0}”修飾符不能出現在參數中。
1091    錯誤    Only a single variable declaration is allowed in a 'for...in' statement.    "for...in" 語句中只允許單個變量聲明。
1092    錯誤    Type parameters cannot appear on a constructor declaration.    類型參數不能出現在構造函數聲明中。
1093    錯誤    Type annotation cannot appear on a constructor declaration.    類型批註不能出現在構造函數聲明中。
1094    錯誤    An accessor cannot have type parameters.    訪問器不能具有類型參數。
1095    錯誤    A 'set' accessor cannot have a return type annotation.    "set" 訪問器不能具有返回類型批註。
1096    錯誤    An index signature must have exactly one parameter.    索引簽名必須正好具有一個參數。
1097    錯誤    '{0}' list cannot be empty.    “{0}”列表不能爲空。
1098    錯誤    Type parameter list cannot be empty.    類型參數列表不能爲空。
1099    錯誤    Type argument list cannot be empty.    類型參數列表不能爲空。
1100    錯誤    Invalid use of '{0}' in strict mode.    嚴格模式下“{0}”的使用無效。
1101    錯誤    'with' statements are not allowed in strict mode.    嚴格模式下不允許使用 "with" 語句。
1102    錯誤    'delete' cannot be called on an identifier in strict mode.    在嚴格模式下,無法對標識符調用 "delete"。
1104    錯誤    A 'continue' statement can only be used within an enclosing iteration statement.    "continue" 語句只能在封閉迭代語句內使用。
1105    錯誤    A 'break' statement can only be used within an enclosing iteration or switch statement.    "break" 語句只能在封閉迭代或 switch 語句內使用。
1107    錯誤    Jump target cannot cross function boundary.    跳轉目標不能跨越函數邊界。
1108    錯誤    A 'return' statement can only be used within a function body.    "return" 語句只能在函數體中使用。
1109    錯誤    Expression expected.    應爲表達式。
1110    錯誤    Type expected.    應爲類型。
1113    錯誤    A 'default' clause cannot appear more than once in a 'switch' statement.    "default" 子句在 "switch" 語句中只能出現一次。
1114    錯誤    Duplicate label '{0}'    標籤“{0}”重複
1115    錯誤    A 'continue' statement can only jump to a label of an enclosing iteration statement.    "continue" 語句只能跳轉到封閉迭代語句的標籤。
1116    錯誤    A 'break' statement can only jump to a label of an enclosing statement.    "break" 語句只能跳轉到封閉語句的標籤。
1117    錯誤    An object literal cannot have multiple properties with the same name in strict mode.    嚴格模式下,對象文字不能包含多個具有相同名稱的屬性。
1118    錯誤    An object literal cannot have multiple get/set accessors with the same name.    對象文字不能具有多個具有相同名稱的 get/set 訪問器。
1119    錯誤    An object literal cannot have property and accessor with the same name.    對象文字不能包含具有相同名稱的屬性和訪問器。
1120    錯誤    An export assignment cannot have modifiers.    導出分配不能具有修飾符。
1121    錯誤    Octal literals are not allowed in strict mode.    嚴格模式下不允許使用八進制文本。
1122    錯誤    A tuple type element list cannot be empty.    元組類型元素列表不能爲空。
1123    錯誤    Variable declaration list cannot be empty.    變量聲明列表不能爲空。
1124    錯誤    Digit expected.    應爲數字。
1125    錯誤    Hexadecimal digit expected.    應爲十六進制數字。
1126    錯誤    Unexpected end of text.    文本意外結束。
1127    錯誤    Invalid character.    無效的字符。
1128    錯誤    Declaration or statement expected.    應爲聲明或語句。
1129    錯誤    Statement expected.    應爲語句。
1130    錯誤    'case' or 'default' expected.    應爲 "case" 或 "default"。
1131    錯誤    Property or signature expected.    應爲屬性或簽名。
1132    錯誤    Enum member expected.    應爲枚舉成員。
1134    錯誤    Variable declaration expected.    應爲變量聲明。
1135    錯誤    Argument expression expected.    應爲參數表達式。
1136    錯誤    Property assignment expected.    應爲屬性分配。
1137    錯誤    Expression or comma expected.    應爲表達式或逗號。
1138    錯誤    Parameter declaration expected.    應爲參數聲明。
1139    錯誤    Type parameter declaration expected.    應爲類型參數聲明。
1140    錯誤    Type argument expected.    應爲類型參數。
1141    錯誤    String literal expected.    應爲字符串文本。
1142    錯誤    Line break not permitted here.    不允許在此處換行。
1144    錯誤    '{' or ';' expected.    應爲 "{" 或 ";"。
1146    錯誤    Declaration expected.    應爲聲明。
1147    錯誤    Import declarations in a namespace cannot reference a module.    命名空間中的導入聲明不能引用模塊。
1148    錯誤    Cannot use imports, exports, or module augmentations when '--module' is 'none'.    Cannot compile modules unless the '--module' flag is provided with a valid module type. Consider setting the 'module' compiler option in a 'tsconfig.json' file.
1149    錯誤    File name '{0}' differs from already included file name '{1}' only in casing    文件名“{0}”僅在大小寫方面與包含的文件名“{1}”不同
1150    錯誤    'new T[]' cannot be used to create an array. Use 'new Array ()' instead.    "new T[]" 不能用於創建數組。請改用 "new Array ()"。
1155    錯誤    'const' declarations must be initialized    必須初始化 "const" 聲明
1156    錯誤    'const' declarations can only be declared inside a block.    "const" 聲明只能在塊的內部聲明。
1157    錯誤    'let' declarations can only be declared inside a block.    "let" 聲明只能在塊的內部聲明。
1160    錯誤    Unterminated template literal.    未終止的模板文本。
1161    錯誤    Unterminated regular expression literal.    未終止的正則表達式文本。
1162    錯誤    An object member cannot be declared optional.    對象成員無法聲明爲可選。
1163    錯誤    A 'yield' expression is only allowed in a generator body.    只允許在生成器正文中使用 "yield" 表達式。
1164    錯誤    Computed property names are not allowed in enums.    枚舉中不允許計算屬性名。
1165    錯誤    A computed property name in an ambient context must directly refer to a built-in symbol.    環境上下文中的計算屬性名必須直接引用內置符號。
1166    錯誤    A computed property name in a class property declaration must directly refer to a built-in symbol.    類屬性聲明中的計算屬性名必須直接引用內置符號。
1168    錯誤    A computed property name in a method overload must directly refer to a built-in symbol.    方法重載中的計算屬性名必須直接引用內置符號。
1169    錯誤    A computed property name in an interface must directly refer to a built-in symbol.    接口中的計算屬性名必須直接引用內置符號。
1170    錯誤    A computed property name in a type literal must directly refer to a built-in symbol.    類型文本中的計算屬性名必須直接引用內置符號。
1171    錯誤    A comma expression is not allowed in a computed property name.    計算屬性名中不允許逗號表達式。
1172    錯誤    'extends' clause already seen.    已看到 "extends" 子句。
1173    錯誤    'extends' clause must precede 'implements' clause.    "extends" 子句必須位於 "implements" 子句之前。
1174    錯誤    Classes can only extend a single class.    類只能擴展一個類。
1175    錯誤    'implements' clause already seen.    已看到 "implements" 子句。
1176    錯誤    Interface declaration cannot have 'implements' clause.    接口聲明不能有 "implements" 子句。
1177    錯誤    Binary digit expected.    需要二進制數字。
1178    錯誤    Octal digit expected.    需要八進制數字。
1179    錯誤    Unexpected token. '{' expected.    意外標記。應爲 "{"。
1180    錯誤    Property destructuring pattern expected.    應爲屬性析構模式。
1181    錯誤    Array element destructuring pattern expected.    應爲數組元素析構模式。
1182    錯誤    A destructuring declaration must have an initializer.    析構聲明必須具有初始化表達式。
1183    錯誤    An implementation cannot be declared in ambient contexts.    不能在環境上下文中聲明實現。
1184    錯誤    Modifiers cannot appear here.    修飾符不能出現在此處。
1185    錯誤    Merge conflict marker encountered.    遇到合併衝突標記。
1186    錯誤    A rest element cannot have an initializer.    rest 元素不能具有初始化表達式。
1187    錯誤    A parameter property may not be declared using a binding pattern.    參數屬性不能爲綁定模式。
1188    錯誤    Only a single variable declaration is allowed in a 'for...of' statement.    "for...of" 語句中只允許單個變量聲明。
1189    錯誤    The variable declaration of a 'for...in' statement cannot have an initializer.    "for...in" 語句的變量聲明不能有初始化表達式。
1190    錯誤    The variable declaration of a 'for...of' statement cannot have an initializer.    "for...of" 語句的變量聲明不能有初始化表達式。
1191    錯誤    An import declaration cannot have modifiers.    導入聲明不能有修飾符。
1192    錯誤    Module '{0}' has no default export.    模塊“{0}”沒有默認導出。
1193    錯誤    An export declaration cannot have modifiers.    導出聲明不能有修飾符。
1194    錯誤    Export declarations are not permitted in a namespace.    命名空間中不允許有導出聲明。
1196    錯誤    Catch clause variable cannot have a type annotation.    Catch 子句變量不能有類型批註。
1197    錯誤    Catch clause variable cannot have an initializer.    Catch 子句變量不能有初始化表達式。
1198    錯誤    An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive.    擴展的 Unicode 轉義值必須介於(含) 0x0 和 0x10FFFF 之間。
1199    錯誤    Unterminated Unicode escape sequence.    未終止的 Unicode 轉義序列。
1200    錯誤    Line terminator not permitted before arrow.    箭頭前不允許有行終止符。
1202    錯誤    Import assignment cannot be used when targeting ECMAScript 2015 modules. Consider using 'import * as ns from "mod"', 'import {a} from "mod"', 'import d from "mod"', or another module format instead.    當面向 ECMAScript 6 模塊時,不能使用導入分配。請考慮改用 "import * as ns from "mod"" 、"import {a} from "mod"" 或 "import d from "mod"" 或其他模塊格式。
1203    錯誤    Export assignment cannot be used when targeting ECMAScript 2015 modules. Consider using 'export default' or another module format instead.    當面向 ECMAScript 6 模塊時,不能使用導出分配。請考慮改用“導出默認”或其他模塊格式。
1206    錯誤    Decorators are not valid here.    修飾器在此處無效。
1207    錯誤    Decorators cannot be applied to multiple get/set accessors of the same name.    不能向多個同名的 get/set 訪問器應用修飾器。
1208    錯誤    Cannot compile namespaces when the '--isolatedModules' flag is provided.    提供 "--isolatedModules" 標誌時無法編譯命名空間。
1209    錯誤    Ambient const enums are not allowed when the '--isolatedModules' flag is provided.    提供 "--isolatedModules" 標誌的情況下不允許使用環境常數枚舉。
1210    錯誤    Invalid use of '{0}'. Class definitions are automatically in strict mode.    “{0}”的使用無效。類定義自動處於嚴格模式。
1211    錯誤    A class declaration without the 'default' modifier must have a name    不帶 "default" 修飾符的類聲明必須具有名稱
1212    錯誤    Identifier expected. '{0}' is a reserved word in strict mode    應爲標識符。“{0}”在嚴格模式下是保留字
1213    錯誤    Identifier expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode.    應爲標識符。“{0}”在嚴格模式下是保留字。類定義自動處於嚴格模式。
1214    錯誤    Identifier expected. '{0}' is a reserved word in strict mode. Modules are automatically in strict mode.    應爲標識符。“{0}”是嚴格模式下的保留字。模塊自動處於嚴格模式。
1215    錯誤    Invalid use of '{0}'. Modules are automatically in strict mode.    “{0}”的使用無效。模塊自動處於嚴格模式。
1218    錯誤    Export assignment is not supported when '--module' flag is 'system'.    當 "--module" 標誌是 "system" 時不支持導出分配。
1219    錯誤    Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning.    Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning.
1220    錯誤    Generators are only available when targeting ECMAScript 2015 or higher.    僅當面向 ECMAScript 6 或更高版本時,生成器纔可用。
1221    錯誤    Generators are not allowed in an ambient context.    不允許在環境上下文中使用生成器。
1222    錯誤    An overload signature cannot be declared as a generator.    重載簽名無法聲明爲生成器。
1223    錯誤    '{0}' tag already specified.    已指定“{0}”標記。
1224    錯誤    Signature '{0}' must have a type predicate.    簽名“{0}”必須具有類型謂詞。
1225    錯誤    Cannot find parameter '{0}'.    找不到參數“{0}”。
1226    錯誤    Type predicate '{0}' is not assignable to '{1}'.    類型謂詞“{0}”不可分配給“{1}”。
1227    錯誤    Parameter '{0}' is not in the same position as parameter '{1}'.    參數“{0}”和參數“{1}”的位置不一樣。
1228    錯誤    A type predicate is only allowed in return type position for functions and methods.    只允許在函數和方法的返回類型位置使用類型謂詞。
1229    錯誤    A type predicate cannot reference a rest parameter.    類型謂詞無法引用 rest 參數。
1230    錯誤    A type predicate cannot reference element '{0}' in a binding pattern.    類型謂詞無法在綁定模式中引用元素“{0}”。
1231    錯誤    An export assignment can only be used in a module.    導出分配只能在模塊中使用。
1232    錯誤    An import declaration can only be used in a namespace or module.    導入聲明只能在命名空間或模塊中使用。
1233    錯誤    An export declaration can only be used in a module.    導出聲明只能在模塊中使用。
1234    錯誤    An ambient module declaration is only allowed at the top level in a file.    只允許在文件的頂層中使用環境模塊聲明。
1235    錯誤    A namespace declaration is only allowed in a namespace or module.    只允許在命名空間或模塊中使用命名空間聲明。
1236    錯誤    The return type of a property decorator function must be either 'void' or 'any'.    屬性修飾器函數的返回類型必須爲 "void" 或 "any"。
1237    錯誤    The return type of a parameter decorator function must be either 'void' or 'any'.    參數修飾器函數的返回類型必須爲 "void" 或 "any"。
1238    錯誤    Unable to resolve signature of class decorator when called as an expression.    作爲表達式調用時,無法解析類修飾器的簽名。
1239    錯誤    Unable to resolve signature of parameter decorator when called as an expression.    作爲表達式調用時,無法解析參數修飾器的簽名。
1240    錯誤    Unable to resolve signature of property decorator when called as an expression.    作爲表達式調用時,無法解析屬性修飾器的簽名。
1241    錯誤    Unable to resolve signature of method decorator when called as an expression.    作爲表達式調用時,無法解析方法修飾器的簽名。
1242    錯誤    'abstract' modifier can only appear on a class, method, or property declaration.    "abstract" 修飾符只能出現在類聲明或方法聲明中。
1243    錯誤    '{0}' modifier cannot be used with '{1}' modifier.    “{0}”修飾符不能與“{1}”修飾符一起使用。
1244    錯誤    Abstract methods can only appear within an abstract class.    抽象方法只能出現在抽象類中。
1245    錯誤    Method '{0}' cannot have an implementation because it is marked abstract.    方法“{0}”不能具有實現,因爲它標記爲抽象。
1246    錯誤    An interface property cannot have an initializer.    接口函數不能具有初始化表達式。
1247    錯誤    A type literal property cannot have an initializer.    類型文字數據不可具有初始化表達式。
1248    錯誤    A class member cannot have the '{0}' keyword.    A class member cannot have the '{0}' keyword.
1249    錯誤    A decorator can only decorate a method implementation, not an overload.    A decorator can only decorate a method implementation, not an overload.
1250    錯誤    Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'.     
1251    錯誤    Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode.     
1252    錯誤    Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode.     
1253    錯誤    '{0}' tag cannot be used independently as a top level JSDoc tag.     
1254    錯誤    A 'const' initializer in an ambient context must be a string or numeric literal.     
1300    錯誤    'with' statements are not allowed in an async function block.    不允許在異步函數塊中使用 "with" 語句。
1308    錯誤    'await' expression is only allowed within an async function.    只允許在異步函數中使用 "await" 表達式。
1312    錯誤    '=' can only be used in an object literal property inside a destructuring assignment.    "=" 只可在重構賦值內部的對象文字屬性中使用。
1313    錯誤    The body of an 'if' statement cannot be the empty statement.    "if" 語句的正文不能爲空語句。
1314    錯誤    Global module exports may only appear in module files.     
1315    錯誤    Global module exports may only appear in declaration files.     
1316    錯誤    Global module exports may only appear at top level.     
1317    錯誤    A parameter property cannot be declared using a rest parameter.     
1318    錯誤    An abstract accessor cannot have an implementation.     
1319    錯誤    A default export can only be used in an ECMAScript-style module.     
2300    錯誤    Duplicate identifier '{0}'.    標識符“{0}”重複。
2301    錯誤    Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor.    實例成員變量“{0}”的初始化表達式不能引用構造函數中聲明的標識符“{1}”。
2302    錯誤    Static members cannot reference class type parameters.    靜態成員不能引用類類型參數。
2303    錯誤    Circular definition of import alias '{0}'.    導入別名“{0}”的循環定義。
2304    錯誤    Cannot find name '{0}'.    找不到名稱“{0}”。
2305    錯誤    Module '{0}' has no exported member '{1}'.    模塊“{0}”沒有導出的成員“{1}”。
2306    錯誤    File '{0}' is not a module.    文件“{0}”不是模塊。
2307    錯誤    Cannot find module '{0}'.    找不到模塊“{0}”。
2308    錯誤    Module {0} has already exported a member named '{1}'. Consider explicitly re-exporting to resolve the ambiguity.    模塊 {0} 已導出一個名爲“{1}”的成員。請考慮重新顯式導出以解決歧義。
2309    錯誤    An export assignment cannot be used in a module with other exported elements.    不能在具有其他導出元素的模塊中使用導出分配。
2310    錯誤    Type '{0}' recursively references itself as a base type.    類型“{0}”以遞歸方式將自身引用爲基類。
2311    錯誤    A class may only extend another class.    類只能擴展其他類。
2312    錯誤    An interface may only extend a class or another interface.    接口只能擴展類或其他接口。
2313    錯誤    Type parameter '{0}' has a circular constraint.    Type parameter '{0}' has a circular constraint.
2314    錯誤    Generic type '{0}' requires {1} type argument(s).    泛型類型“{0}”需要 {1} 個類型參數。
2315    錯誤    Type '{0}' is not generic.    類型“{0}”不是泛型類型。
2316    錯誤    Global type '{0}' must be a class or interface type.    全局類型“{0}”必須爲類或接口類型。
2317    錯誤    Global type '{0}' must have {1} type parameter(s).    全局類型“{0}”必須具有 {1} 個類型參數。
2318    錯誤    Cannot find global type '{0}'.    找不到全局類型“{0}”。
2319    錯誤    Named property '{0}' of types '{1}' and '{2}' are not identical.    “{1}”和“{2}”類型的命名屬性“{0}”不完全相同。
2320    錯誤    Interface '{0}' cannot simultaneously extend types '{1}' and '{2}'.    接口“{0}”不能同時擴展類型“{1}”和“{2}”。
2321    錯誤    Excessive stack depth comparing types '{0}' and '{1}'.    與類型“{0}”和“{1}”相比,堆棧深度過高。
2322    錯誤    Type '{0}' is not assignable to type '{1}'.    不能將類型“{0}”分配給類型“{1}”。
2323    錯誤    Cannot redeclare exported variable '{0}'.    無法重新聲明導出的變量“{0}”。
2324    錯誤    Property '{0}' is missing in type '{1}'.    類型“{1}”中缺少屬性“{0}”。
2325    錯誤    Property '{0}' is private in type '{1}' but not in type '{2}'.    屬性“{0}”在類型“{1}”中是私有屬性,但在類型“{2}”中不是。
2326    錯誤    Types of property '{0}' are incompatible.    屬性“{0}”的類型不兼容。
2327    錯誤    Property '{0}' is optional in type '{1}' but required in type '{2}'.    屬性“{0}”在類型“{1}”中爲可選,但在類型“{2}”中爲必選。
2328    錯誤    Types of parameters '{0}' and '{1}' are incompatible.    參數“{0}”和“{1}” 的類型不兼容。
2329    錯誤    Index signature is missing in type '{0}'.    類型“{0}”中缺少索引簽名。
2330    錯誤    Index signatures are incompatible.    索引簽名不兼容。
2331    錯誤    'this' cannot be referenced in a module or namespace body.    不能在模塊或命名空間體中引用 "this"。
2332    錯誤    'this' cannot be referenced in current location.    不能在當前位置引用 "this"。
2333    錯誤    'this' cannot be referenced in constructor arguments.    不能在構造函數參數中引用 "this"。
2334    錯誤    'this' cannot be referenced in a static property initializer.    不能在靜態屬性初始化表達式中引用 "this"。
2335    錯誤    'super' can only be referenced in a derived class.    只能在派生類中引用 "super"。
2336    錯誤    'super' cannot be referenced in constructor arguments.    不能在構造函數參數中引用 "super"。
2337    錯誤    Super calls are not permitted outside constructors or in nested functions inside constructors.    不允許在構造函數外部或在構造函數內的嵌套函數中進行 Super 調用。
2338    錯誤    'super' property access is permitted only in a constructor, member function, or member accessor of a derived class.    只有構造函數、成員函數或派生類的成員訪問器中才允許 "super" 屬性訪問。
2339    錯誤    Property '{0}' does not exist on type '{1}'.    類型“{1}”上不存在屬性“{0}”。
2340    錯誤    Only public and protected methods of the base class are accessible via the 'super' keyword.    通過 "super" 關鍵字只能訪問基類的公共方法和受保護方法。
2341    錯誤    Property '{0}' is private and only accessible within class '{1}'.    屬性“{0}”爲私有屬性,只能在類“{1}”中訪問。
2342    錯誤    An index expression argument must be of type 'string', 'number', 'symbol', or 'any'.    索引表達式參數必須爲 "string"、"number"、"symbol" 或 "any" 類型。
2343    錯誤    This syntax requires an imported helper named '{1}', but module '{0}' has no exported member '{1}'.     
2344    錯誤    Type '{0}' does not satisfy the constraint '{1}'.    類型“{0}”不滿足約束“{1}”。
2345    錯誤    Argument of type '{0}' is not assignable to parameter of type '{1}'.    類型“{0}”的參數不能賦給類型“{1}”的參數。
2346    錯誤    Supplied parameters do not match any signature of call target.    提供的參數與調用目標的任何簽名都不匹配。
2347    錯誤    Untyped function calls may not accept type arguments.    非類型化函數調用不能接受類型參數。
2348    錯誤    Value of type '{0}' is not callable. Did you mean to include 'new'?    類型“{0}”的值不可調用。是否希望包括 "new"?
2349    錯誤    Cannot invoke an expression whose type lacks a call signature. Type '{0}' has no compatible call signatures.    無法調用其類型缺少調用簽名的表達式。
2350    錯誤    Only a void function can be called with the 'new' keyword.    使用 "new" 關鍵字只能調用 void 函數。
2351    錯誤    Cannot use 'new' with an expression whose type lacks a call or construct signature.    其類型缺少調用或構造簽名的表達式無法使用 "new"。
2352    錯誤    Type '{0}' cannot be converted to type '{1}'.    類型“{0}”和類型“{1}”均不能賦給對方。
2353    錯誤    Object literal may only specify known properties, and '{0}' does not exist in type '{1}'.    對象文字可以只指定已知屬性,並且“{0}”不在類型“{1}”中。
2354    錯誤    This syntax requires an imported helper but module '{0}' cannot be found.    返回表達式中不存在最佳通用類型。
2355    錯誤    A function whose declared type is neither 'void' nor 'any' must return a value.    其聲明類型不爲 "void" 或 "any" 的函數必須返回值。
2356    錯誤    An arithmetic operand must be of type 'any', 'number' or an enum type.    算術操作數必須爲類型 "any"、"number" 或枚舉類型。
2357    錯誤    The operand of an increment or decrement operator must be a variable or a property access.    增量或減量運算符的操作數必須爲變量、屬性或索引器。
2358    錯誤    The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.    "instanceof" 表達式左側必須是 "any" 類型、對象類型或類型參數。
2359    錯誤    The right-hand side of an 'instanceof' expression must be of type 'any' or of a type assignable to the 'Function' interface type.    "instanceof" 表達式的右側必須屬於類型 "any",或屬於可分配給 "Function" 接口類型的類型。
2360    錯誤    The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'.    "in" 表達式左側的類型必須爲 "any"、"string"、"number" 或 "symbol"。
2361    錯誤    The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter    "in" 表達式的右側必須是 "any" 類型、對象類型或類型參數
2362    錯誤    The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.    算術運算左側必須是 "any"、"number" 或枚舉類型。
2363    錯誤    The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.    算術運算右側必須是 "any"、"number" 或枚舉類型。
2364    錯誤    The left-hand side of an assignment expression must be a variable or a property access.    賦值表達式左側無效。
2365    錯誤    Operator '{0}' cannot be applied to types '{1}' and '{2}'.    運算符“{0}”不能應用於類型“{1}”和“{2}”。
2366    錯誤    Function lacks ending return statement and return type does not include 'undefined'.     
2368    錯誤    Type parameter name cannot be '{0}'    類型參數名稱不能爲“{0}”
2369    錯誤    A parameter property is only allowed in a constructor implementation.    只允許在構造函數實現中使用參數屬性。
2370    錯誤    A rest parameter must be of an array type.    rest 參數必須是數組類型。
2371    錯誤    A parameter initializer is only allowed in a function or constructor implementation.    只允許在函數或構造函數實現中使用參數初始化表達式。
2372    錯誤    Parameter '{0}' cannot be referenced in its initializer.    參數“{0}”的初始化表達式中不能引用該參數自身。
2373    錯誤    Initializer of parameter '{0}' cannot reference identifier '{1}' declared after it.    參數“{0}”的初始化表達式不能引用在它之後聲明的標識符“{1}”。
2374    錯誤    Duplicate string index signature.    字符串索引簽名重複。
2375    錯誤    Duplicate number index signature.    數字索引簽名重複。
2376    錯誤    A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.    當類包含初始化的屬性或參數屬性時,"super" 調用必須是構造函數中的第一個語句。
2377    錯誤    Constructors for derived classes must contain a 'super' call.    派生類的構造函數必須包含 "super" 調用。
2378    錯誤    A 'get' accessor must return a value.    "get" 訪問器必須返回值。
2379    錯誤    Getter and setter accessors do not agree in visibility.    Getter 和 setter 訪問器在可見性上不一致。
2380    錯誤    'get' and 'set' accessor must have the same type.    "get" 和 "set" 訪問器必須屬於同一類型。
2381    錯誤    A signature with an implementation cannot use a string literal type.    具有實現的簽名不能使用字符串文本類型。
2382    錯誤    Specialized overload signature is not assignable to any non-specialized signature.    指定的重載簽名不可分配給任何非專用化簽名。
2383    錯誤    Overload signatures must all be exported or non-exported.    重載簽名必須全部導出或全部不導出。
2384    錯誤    Overload signatures must all be ambient or non-ambient.    重載簽名必須全部爲環境簽名或非環境簽名。
2385    錯誤    Overload signatures must all be public, private or protected.    重載簽名必須全部是公共簽名、私有簽名或受保護簽名。
2386    錯誤    Overload signatures must all be optional or required.    重載簽名必須全部爲可選簽名或必需簽名。
2387    錯誤    Function overload must be static.    函數重載必須爲靜態。
2388    錯誤    Function overload must not be static.    函數重載不能爲靜態。
2389    錯誤    Function implementation name must be '{0}'.    函數實現名稱必須爲“{0}”。
2390    錯誤    Constructor implementation is missing.    缺少構造函數實現。
2391    錯誤    Function implementation is missing or not immediately following the declaration.    函數實現缺失或未立即出現在聲明之後。
2392    錯誤    Multiple constructor implementations are not allowed.    不允許存在多個構造函數實現。
2393    錯誤    Duplicate function implementation.    函數實現重複。
2394    錯誤    Overload signature is not compatible with function implementation.    重載簽名與函數實現不兼容。
2395    錯誤    Individual declarations in merged declaration '{0}' must be all exported or all local.    合併聲明“{0}”中的單獨聲明必須全爲導出或全爲局部聲明。
2396    錯誤    Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.    標識符 "arguments" 重複。編譯器使用 "arguments" 初始化 rest 參數。
2397    錯誤    Declaration name conflicts with built-in global identifier '{0}'.    Declaration name conflicts with built-in global identifier '{0}'.
2399    錯誤    Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference.    標識符 "_this" 重複。編譯器使用變量聲明 "_this" 來捕獲 "this" 引用。
2400    錯誤    Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference.    表達式解析爲編譯器用於捕獲 "this" 引用的變量聲明 "_this"。
2401    錯誤    Duplicate identifier '_super'. Compiler uses '_super' to capture base class reference.    標識符 "_super" 重複。編譯器使用 "_super" 獲取基類引用。
2402    錯誤    Expression resolves to '_super' that compiler uses to capture base class reference.    表達式解析爲 "_super",編譯器使用 "_super" 獲取基類引用。
2403    錯誤    Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.    後續變量聲明必須屬於同一類型。變量“{0}”必須屬於類型“{1}”,但此處卻爲類型“{2}”。
2404    錯誤    The left-hand side of a 'for...in' statement cannot use a type annotation.    "for...in" 語句的左側不能使用類型批註。
2405    錯誤    The left-hand side of a 'for...in' statement must be of type 'string' or 'any'.    "for...in" 語句的左側必須是 "string" 或 "any" 類型。
2406    錯誤    The left-hand side of a 'for...in' statement must be a variable or a property access.    "for...in" 語句左側無效。
2407    錯誤    The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.    "for...in" 語句右側必須是 "any" 類型、對象類型或類型參數。
2408    錯誤    Setters cannot return a value.    Setter 不能返回值。
2409    錯誤    Return type of constructor signature must be assignable to the instance type of the class    構造函數簽名的返回類型必須可賦給類的實例類型
2410    錯誤    The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'.    "with" 塊內的所有符號都將被解析爲 "any"。
2411    錯誤    Property '{0}' of type '{1}' is not assignable to string index type '{2}'.    類型“{1}”的屬性“{0}”不能賦給字符串索引類型“{2}”。
2412    錯誤    Property '{0}' of type '{1}' is not assignable to numeric index type '{2}'.    類型“{1}”的屬性“{0}”不能賦給數值索引類型“{2}”。
2413    錯誤    Numeric index type '{0}' is not assignable to string index type '{1}'.    數字索引類型“{0}”不能賦給字符串索引類型“{1}”。
2414    錯誤    Class name cannot be '{0}'    類名不能爲“{0}”
2415    錯誤    Class '{0}' incorrectly extends base class '{1}'.    類“{0}”錯誤擴展基類“{1}”。
2417    錯誤    Class static side '{0}' incorrectly extends base class static side '{1}'.    類靜態側“{0}”錯誤擴展基類靜態側“{1}”。
2420    錯誤    Class '{0}' incorrectly implements interface '{1}'.    類“{0}”錯誤實現接口“{1}”。
2422    錯誤    A class may only implement another class or interface.    類只能實現其他類或接口。
2423    錯誤    Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.    類“{0}”將“{1}”定義爲實例成員函數,但擴展類“{2}”將其定義爲實例成員訪問器。
2424    錯誤    Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.    類“{0}”將“{1}”定義爲實例成員函數,但擴展類“{2}”將其定義爲實例成員屬性。
2425    錯誤    Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.    類“{0}”將“{1}”定義爲實例成員屬性,但擴展類“{2}”將其定義爲實例成員函數。
2426    錯誤    Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.    類“{0}”將“{1}”定義爲實例成員訪問器,但擴展類“{2}”將其定義爲實例成員函數。
2427    錯誤    Interface name cannot be '{0}'    接口名不能爲“{0}”
2428    錯誤    All declarations of '{0}' must have identical type parameters.    接口的所有聲明必須具有相同的類型參數。
2430    錯誤    Interface '{0}' incorrectly extends interface '{1}'.    接口“{0}”錯誤擴展接口“{1}”。
2431    錯誤    Enum name cannot be '{0}'    枚舉名不能爲“{0}”
2432    錯誤    In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element.    在包含多個聲明的枚舉中,只有一個聲明可以省略其第一個枚舉元素的初始化表達式。
2433    錯誤    A namespace declaration cannot be in a different file from a class or function with which it is merged    命名空間聲明不能位於與之合併的類或函數中的其他文件內
2434    錯誤    A namespace declaration cannot be located prior to a class or function with which it is merged    命名空間聲明不能位於與之合併的類或函數前
2435    錯誤    Ambient modules cannot be nested in other modules or namespaces.    環境模塊不能嵌套在其他模塊或命名空間中。
2436    錯誤    Ambient module declaration cannot specify relative module name.    環境模塊聲明無法指定相對模塊名。
2437    錯誤    Module '{0}' is hidden by a local declaration with the same name    模塊“{0}”被具有相同名稱的局部聲明隱藏
2438    錯誤    Import name cannot be '{0}'    導入名稱不能爲“{0}”
2439    錯誤    Import or export declaration in an ambient module declaration cannot reference module through relative module name.    環境模塊聲明中的導入或導出聲明不能通過相對模塊名引用模塊。
2440    錯誤    Import declaration conflicts with local declaration of '{0}'    導入聲明與“{0}”的局部聲明衝突
2441    錯誤    Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module.    標識符“{0}”重複。編譯器在模塊的頂層範圍中保留名稱“{1}”。
2442    錯誤    Types have separate declarations of a private property '{0}'.    類型具有私有屬性“{0}”的單獨聲明。
2443    錯誤    Property '{0}' is protected but type '{1}' is not a class derived from '{2}'.    屬性“{0}”受保護,但類型“{1}”並不是從“{2}”派生的類。
2444    錯誤    Property '{0}' is protected in type '{1}' but public in type '{2}'.    屬性“{0}”在類型“{1}”中受保護,但在類型“{2}”中爲公共屬性。
2445    錯誤    Property '{0}' is protected and only accessible within class '{1}' and its subclasses.    屬性“{0}”受保護,只能在類“{1}”及其子類中訪問。
2446    錯誤    Property '{0}' is protected and only accessible through an instance of class '{1}'.    屬性“{0}”受保護,只能通過類“{1}”的實例訪問。
2447    錯誤    The '{0}' operator is not allowed for boolean types. Consider using '{1}' instead.    “{0}”運算符不允許用於布爾類型。請考慮改用“{1}”。
2448    錯誤    Block-scoped variable '{0}' used before its declaration.    聲明之前已使用的塊範圍變量“{0}”。
2451    錯誤    Cannot redeclare block-scoped variable '{0}'.    無法重新聲明塊範圍變量“{0}”。
2452    錯誤    An enum member cannot have a numeric name.    枚舉成員不能具有數值名。
2453    錯誤    The type argument for type parameter '{0}' cannot be inferred from the usage. Consider specifying the type arguments explicitly.    無法從用法推斷類型形參“{0}”的類型實參。可以考慮顯式指定類型實參。
2454    錯誤    Variable '{0}' is used before being assigned.     
2455    錯誤    Type argument candidate '{1}' is not a valid type argument because it is not a supertype of candidate '{0}'.    候選類型參數“{1}”不是有效的類型參數,因爲它不是候選“{0}”的超類型。
2456    錯誤    Type alias '{0}' circularly references itself.    類型別名“{0}”循環引用自身。
2457    錯誤    Type alias name cannot be '{0}'    類型別名不能爲“{0}”
2458    錯誤    An AMD module cannot have multiple name assignments.    AMD 模塊無法擁有多個名稱分配。
2459    錯誤    Type '{0}' has no property '{1}' and no string index signature.    類型“{0}”不具有屬性“{1}”和字符串索引簽名。
2460    錯誤    Type '{0}' has no property '{1}'.    類型“{0}”不具有屬性“{1}”。
2461    錯誤    Type '{0}' is not an array type.    類型“{0}”不是數組類型。
2462    錯誤    A rest element must be last in a destructuring pattern    rest 元素必須在數組析構模式中位於最末
2463    錯誤    A binding pattern parameter cannot be optional in an implementation signature.    綁定模式參數在實現簽名中不能爲可選參數。
2464    錯誤    A computed property name must be of type 'string', 'number', 'symbol', or 'any'.    計算屬性名的類型必須爲 "string"、"number"、"symbol" 或 "any"。
2465    錯誤    'this' cannot be referenced in a computed property name.    不能在計算屬性名中引用 "this"。
2466    錯誤    'super' cannot be referenced in a computed property name.    不能在計算屬性名中引用 "super"。
2467    錯誤    A computed property name cannot reference a type parameter from its containing type.    計算屬性名無法從其包含的類型引用類型參數。
2468    錯誤    Cannot find global value '{0}'.    找不到全局值“{0}”。
2469    錯誤    The '{0}' operator cannot be applied to type 'symbol'.    “{0}”運算符不能應用於類型 "symbol"。
2470    錯誤    'Symbol' reference does not refer to the global Symbol constructor object.    "Symbol" 引用不是指全局符號構造函數對象。
2471    錯誤    A computed property name of the form '{0}' must be of type 'symbol'.    窗體“{0}”的計算屬性名必須是 "symbol" 類型。
2472    錯誤    Spread operator in 'new' expressions is only available when targeting ECMAScript 5 and higher.    僅當面向 ECMAScript 5 和更高版本時,"new" 表達式中的展開運算符纔可用。
2473    錯誤    Enum declarations must all be const or non-const.    枚舉聲明必須全爲常數或非常數。
2474    錯誤    In 'const' enum declarations member initializer must be constant expression.    在 "const" 枚舉聲明中,成員初始化表達式必須是常數表達式。
2475    錯誤    'const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment.    "const" 枚舉僅可在屬性、索引訪問表達式、導入聲明的右側或導出分配中使用。
2476    錯誤    A const enum member can only be accessed using a string literal.    只有使用字符串文本才能訪問常數枚舉成員。
2477    錯誤    'const' enum member initializer was evaluated to a non-finite value.    "const" 枚舉成員初始化表達式的求值結果爲非有限值。
2478    錯誤    'const' enum member initializer was evaluated to disallowed value 'NaN'.    "const" 枚舉成員初始化表達式的求值結果爲不允許使用的值 "NaN"。
2479    錯誤    Property '{0}' does not exist on 'const' enum '{1}'.    "const" 枚舉“{1}”上不存在屬性“{0}”。
2480    錯誤    'let' is not allowed to be used as a name in 'let' or 'const' declarations.    "let" 不能用作 "let" 或 "const" 聲明中的名稱。
2481    錯誤    Cannot initialize outer scoped variable '{0}' in the same scope as block scoped declaration '{1}'.    無法在塊範圍聲明“{1}”所在的範圍內初始化外部範圍變量“{0}”。
2483    錯誤    The left-hand side of a 'for...of' statement cannot use a type annotation.    "for...of" 語句的左側不能使用類型批註。
2484    錯誤    Export declaration conflicts with exported declaration of '{0}'    導出聲明與“{0}”的導出聲明衝突
2487    錯誤    The left-hand side of a 'for...of' statement must be a variable or a property access.    "for...of" 語句左側無效。
2488    錯誤    Type must have a 'Symbol.iterator' method that returns an iterator.    類型必須具有返回迭代器的 "Symbol.iterator" 方法。
2489    錯誤    An iterator must have a 'next()' method.    迭代器必須具有 "next()" 方法。
2490    錯誤    The type returned by the 'next()' method of an iterator must have a 'value' property.    迭代器的 "next()" 方法返回的類型必須具有 "value" 屬性。
2491    錯誤    The left-hand side of a 'for...in' statement cannot be a destructuring pattern.    "for...in" 語句的左側不能爲析構模式。
2492    錯誤    Cannot redeclare identifier '{0}' in catch clause    無法在 catch 子句中重新聲明標識符“{0}”
2493    錯誤    Tuple type '{0}' with length '{1}' cannot be assigned to tuple with length '{2}'.    不能將長度爲“{1}”的元組類型“{0}”分配給長度爲“{2}”的元組。
2494    錯誤    Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher.    僅 ECMAScript 5 和更高版本支持在 "for...of" 語句中使用字符串。
2495    錯誤    Type '{0}' is not an array type or a string type.    類型“{0}”不是數組類型或字符串類型。
2496    錯誤    The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression.    ES3 和 ES5 中的箭頭函數不能引用 "arguments" 對象。請考慮使用標準函數表達式。
2497    錯誤    Module '{0}' resolves to a non-module entity and cannot be imported using this construct.    模塊“{0}”解析爲非模塊實體,且不能使用此構造導入。
2498    錯誤    Module '{0}' uses 'export =' and cannot be used with 'export *'.    模塊“{0}”使用 "export =" 且無法與 "export *" 一起使用。
2499    錯誤    An interface can only extend an identifier/qualified-name with optional type arguments.    接口只能擴展具有可選類型參數的標識符/限定名稱。
2500    錯誤    A class can only implement an identifier/qualified-name with optional type arguments.    類只能實現具有可選類型參數的標識符/限定名稱。
2501    錯誤    A rest element cannot contain a binding pattern.    rest 元素不能包含綁定模式。
2502    錯誤    '{0}' is referenced directly or indirectly in its own type annotation.    “{0}”在其自身的類型批註中得到直接或間接引用。
2503    錯誤    Cannot find namespace '{0}'.    找不到命名空間“{0}”。
2505    錯誤    A generator cannot have a 'void' type annotation.    生成器不能具有 "void" 類型批註。
2506    錯誤    '{0}' is referenced directly or indirectly in its own base expression.    “{0}”在其自身的基表達式中得到直接或間接引用。
2507    錯誤    Type '{0}' is not a constructor function type.    類型“{0}”不是構造函數類型。
2508    錯誤    No base constructor has the specified number of type arguments.    沒有任何基構造函數具有指定數量的類型參數。
2509    錯誤    Base constructor return type '{0}' is not a class or interface type.    基構造函數返回類型“{0}”不是類或接口類型。
2510    錯誤    Base constructors must all have the same return type.    所有的基構造函數必須具有相同的返回類型。
2511    錯誤    Cannot create an instance of the abstract class '{0}'.    無法創建抽象類“{0}”的實例。
2512    錯誤    Overload signatures must all be abstract or non-abstract.    重載簽名必須全部爲抽象簽名或非抽象簽名。
2513    錯誤    Abstract method '{0}' in class '{1}' cannot be accessed via super expression.    無法通過 super 表達式訪問“{1}”類中的“{0}”抽象方法。
2514    錯誤    Classes containing abstract methods must be marked abstract.    包含抽象方法的類必須標記爲抽象。
2515    錯誤    Non-abstract class '{0}' does not implement inherited abstract member '{1}' from class '{2}'.    非抽象類“{0}”不會實現繼承自“{2}”類的抽象成員“{1}”。
2516    錯誤    All declarations of an abstract method must be consecutive.    抽象方法的所有聲明必須是連續的。
2517    錯誤    Cannot assign an abstract constructor type to a non-abstract constructor type.    無法將抽象構造函數類型分配給非抽象構造函數類型。
2518    錯誤    A 'this'-based type guard is not compatible with a parameter-based type guard.    A 'this'-based type guard is not compatible with a parameter-based type guard.
2520    錯誤    Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions.    標識符“{0}”重複。編譯器使用“{1}”聲明來支持異步函數。
2521    錯誤    Expression resolves to variable declaration '{0}' that compiler uses to support async functions.    表達式解析爲編譯器用於支持異步函數的變量聲明“{0}”。
2522    錯誤    The 'arguments' object cannot be referenced in an async function or method in ES3 and ES5. Consider using a standard function or method.    無法在異步箭頭函數中引用 "arguments" 對象。請考慮使用標準的異步函數表達式。
2523    錯誤    'yield' expressions cannot be used in a parameter initializer.    不能在參數初始化表達式中使用 "yield" 表達式。
2524    錯誤    'await' expressions cannot be used in a parameter initializer.    不能在參數初始化表達式中使用 "await" 表達式。
2525    錯誤    Initializer provides no value for this binding element and the binding element has no default value.    初始化表達式沒有爲此綁定元素提供此任何值,且該綁定元素沒有默認值。
2526    錯誤    A 'this' type is available only in a non-static member of a class or interface.    "this" 類型僅在類或接口的非靜態成員中可用。
2527    錯誤    The inferred type of '{0}' references an inaccessible 'this' type. A type annotation is necessary.    “{0}”的推斷類型引用不可訪問的 "this" 類型。需要類型批註。
2528    錯誤    A module cannot have multiple default exports.    一個模塊不能具有多個默認導出。
2529    錯誤    Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module containing async functions.    Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module containing async functions.
2530    錯誤    Property '{0}' is incompatible with index signature.     
2531    錯誤    Object is possibly 'null'.     
2532    錯誤    Object is possibly 'undefined'.     
2533    錯誤    Object is possibly 'null' or 'undefined'.     
2534    錯誤    A function returning 'never' cannot have a reachable end point.     
2535    錯誤    Enum type '{0}' has members with initializers that are not literals.     
2536    錯誤    Type '{0}' cannot be used to index type '{1}'.     
2537    錯誤    Type '{0}' has no matching index signature for type '{1}'.     
2538    錯誤    Type '{0}' cannot be used as an index type.     
2539    錯誤    Cannot assign to '{0}' because it is not a variable.     
2540    錯誤    Cannot assign to '{0}' because it is a constant or a read-only property.     
2541    錯誤    The target of an assignment must be a variable or a property access.     
2542    錯誤    Index signature in type '{0}' only permits reading.     
2543    錯誤    Duplicate identifier '_newTarget'. Compiler uses variable declaration '_newTarget' to capture 'new.target' meta-property reference.     
2544    錯誤    Expression resolves to variable declaration '_newTarget' that compiler uses to capture 'new.target' meta-property reference.     
2600    錯誤    JSX element attributes type '{0}' may not be a union type.    JSX element attributes type '{0}' may not be a union type.
2601    錯誤    The return type of a JSX element constructor must return an object type.    JSX 元素構造函數的返回類型必須返回對象類型。
2602    錯誤    JSX element implicitly has type 'any' because the global type 'JSX.Element' does not exist.    JSX 元素隱式具有類型 "any",因爲不存在全局類型 "JSX.Element"。
2603    錯誤    Property '{0}' in type '{1}' is not assignable to type '{2}'    類型“{1}”中的屬性“{0}”不可分配給類型“{2}”
2604    錯誤    JSX element type '{0}' does not have any construct or call signatures.    JSX 元素類型“{0}”不具有任何構造簽名或調用簽名。
2605    錯誤    JSX element type '{0}' is not a constructor function for JSX elements.    JSX 元素類型“{0}”不是 JSX 元素的構造函數。
2606    錯誤    Property '{0}' of JSX spread attribute is not assignable to target property.    JSX 展開特性的“{0}”屬性不能分配給目標屬性。
2607    錯誤    JSX element class does not support attributes because it does not have a '{0}' property    JSX 元素類不支持特性,因爲它不具有“{0}”屬性
2608    錯誤    The global type 'JSX.{0}' may not have more than one property    全局類型“JSX.{0}”不可以具有多個屬性
2609    錯誤    JSX spread child must be an array type.     
2650    錯誤    Cannot emit namespaced JSX elements in React    無法發出 React 中帶命名空間的 JSX 元素
2651    錯誤    A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums.    枚舉聲明中的成員初始化表達式不能引用在其後聲明的成員(包括在其他枚舉中定義的成員)。
2652    錯誤    Merged declaration '{0}' cannot include a default export declaration. Consider adding a separate 'export default {0}' declaration instead.    合併聲明“{0}”不能包含默認導出聲明。請考慮改爲添加一個獨立的“導出默認 {0}”聲明。
2653    錯誤    Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}'.    非抽象類表達式不會實現繼承自“{1}”類的抽象成員“{0}”。
2654    錯誤    Exported external package typings file cannot contain tripleslash references. Please contact the package author to update the package definition.    導出的外部包鍵入文件不能包含三斜線引用。請與包作者聯繫或更新包定義。
2656    錯誤    Exported external package typings file '{0}' is not a module. Please contact the package author to update the package definition.    導出的外部包鍵入文件“{0}”不是一個模塊。請與包作者聯繫或更新包定義。
2657    錯誤    JSX expressions must have one parent element    JSX 表達式必須具有一個父元素
2658    錯誤    Type '{0}' provides no match for the signature '{1}'    類型“{0}”提供程序與簽名“{1}”不匹配
2659    錯誤    'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher.    'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher.
2660    錯誤    'super' can only be referenced in members of derived classes or object literal expressions.    'super' can only be referenced in members of derived classes or object literal expressions.
2661    錯誤    Cannot export '{0}'. Only local declarations can be exported from a module.    Cannot re-export name that is not defined in the module.
2662    錯誤    Cannot find name '{0}'. Did you mean the static member '{1}.{0}'?    Cannot find name '{0}'. Did you mean the static member '{1}.{0}'?
2663    錯誤    Cannot find name '{0}'. Did you mean the instance member 'this.{0}'?    Cannot find name '{0}'. Did you mean the instance member 'this.{0}'?
2664    錯誤    Invalid module name in augmentation, module '{0}' cannot be found.    Invalid module name in augmentation, module '{0}' cannot be found.
2665    錯誤    Invalid module name in augmentation. Module '{0}' resolves to an untyped module at '{1}', which cannot be augmented.    Module augmentation cannot introduce new names in the top level scope.
2666    錯誤    Exports and export assignments are not permitted in module augmentations.    Exports and export assignments are not permitted in module augmentations.
2667    錯誤    Imports are not permitted in module augmentations. Consider moving them to the enclosing external module.    Imports are not permitted in module augmentations. Consider moving them to the enclosing external module.
2668    錯誤    'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible.    'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible.
2669    錯誤    Augmentations for the global scope can only be directly nested in external modules or ambient module declarations.    Augmentations for the global scope can only be directly nested in external modules or ambient module declarations.
2670    錯誤    Augmentations for the global scope should have 'declare' modifier unless they appear in already ambient context.    Augmentations for the global scope should have 'declare' modifier unless they appear in already ambient context.
2671    錯誤    Cannot augment module '{0}' because it resolves to a non-module entity.    Cannot augment module '{0}' because it resolves to a non-module entity.
2672    錯誤    Cannot assign a '{0}' constructor type to a '{1}' constructor type.     
2673    錯誤    Constructor of class '{0}' is private and only accessible within the class declaration.     
2674    錯誤    Constructor of class '{0}' is protected and only accessible within the class declaration.     
2675    錯誤    Cannot extend a class '{0}'. Class constructor is marked as private.     
2676    錯誤    Accessors must both be abstract or non-abstract.     
2677    錯誤    A type predicate's type must be assignable to its parameter's type.     
2678    錯誤    Type '{0}' is not comparable to type '{1}'.     
2679    錯誤    A function that is called with the 'new' keyword cannot have a 'this' type that is 'void'.     
2680    錯誤    A 'this' parameter must be the first parameter.     
2681    錯誤    A constructor cannot have a 'this' parameter.     
2682    錯誤    'get' and 'set' accessor must have the same 'this' type.     
2683    錯誤    'this' implicitly has type 'any' because it does not have a type annotation.     
2684    錯誤    The 'this' context of type '{0}' is not assignable to method's 'this' of type '{1}'.     
2685    錯誤    The 'this' types of each signature are incompatible.     
2686    錯誤    '{0}' refers to a UMD global, but the current file is a module. Consider adding an import instead.     
2687    錯誤    All declarations of '{0}' must have identical modifiers.     
2688    錯誤    Cannot find type definition file for '{0}'.     
2689    錯誤    Cannot extend an interface '{0}'. Did you mean 'implements'?     
2690    錯誤    A class must be declared after its base class.     
2691    錯誤    An import path cannot end with a '{0}' extension. Consider importing '{1}' instead.     
2692    錯誤    '{0}' is a primitive, but '{1}' is a wrapper object. Prefer using '{0}' when possible.     
2693    錯誤    '{0}' only refers to a type, but is being used as a value here.     
2694    錯誤    Namespace '{0}' has no exported member '{1}'.     
2695    錯誤    Left side of comma operator is unused and has no side effects.     
2696    錯誤    The 'Object' type is assignable to very few other types. Did you mean to use the 'any' type instead?     
2697    錯誤    An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your --lib option.     
2698    錯誤    Spread types may only be created from object types.     
2700    錯誤    Rest types may only be created from object types.     
2701    錯誤    The target of an object rest assignment must be a variable or a property access.     
2702    錯誤    '{0}' only refers to a type, but is being used as a namespace here.     
2703    錯誤    The operand of a delete operator must be a property reference     
2704    錯誤    The operand of a delete operator cannot be a read-only property     
4000    錯誤    Import declaration '{0}' is using private name '{1}'.    導入聲明“{0}”使用的是專用名稱“{1}”。
4002    錯誤    Type parameter '{0}' of exported class has or is using private name '{1}'.    導出類的類型參數“{0}”具有或正在使用專用名稱“{1}”。
4004    錯誤    Type parameter '{0}' of exported interface has or is using private name '{1}'.    導出接口的類型參數“{0}”具有或正在使用專用名稱“{1}”。
4006    錯誤    Type parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'.    導出接口中的構造函數簽名的類型參數“{0}”具有或正在使用專用名稱“{1}”。
4008    錯誤    Type parameter '{0}' of call signature from exported interface has or is using private name '{1}'.    導出接口中的調用簽名的類型參數“{0}”具有或正在使用專用名稱“{1}”。
4010    錯誤    Type parameter '{0}' of public static method from exported class has or is using private name '{1}'.    導出類中的公共靜態方法的類型參數“{0}”具有或正在使用專用名稱“{1}”。
4012    錯誤    Type parameter '{0}' of public method from exported class has or is using private name '{1}'.    導出類中的公共方法的類型參數“{0}”具有或正在使用專用名稱“{1}”。
4014    錯誤    Type parameter '{0}' of method from exported interface has or is using private name '{1}'.    導出接口中的方法的類型參數“{0}”具有或正在使用專用名稱“{1}”。
4016    錯誤    Type parameter '{0}' of exported function has or is using private name '{1}'.    導出函數的類型參數“{0}”具有或正在使用專用名稱“{1}”。
4019    錯誤    Implements clause of exported class '{0}' has or is using private name '{1}'.    導出的類“{0}”的 Implements 子句具有或正在使用專用名稱“{1}”。
4020    錯誤    Extends clause of exported class '{0}' has or is using private name '{1}'.    導出的類“{0}”的 extends 子句具有或正在使用專用名稱“{1}”。
4022    錯誤    Extends clause of exported interface '{0}' has or is using private name '{1}'.    導出接口“{0}”的 extends 子句具有或正在使用專用名稱“{1}”。
4023    錯誤    Exported variable '{0}' has or is using name '{1}' from external module {2} but cannot be named.    導出的變量“{0}”具有或正在使用外部模塊“{2}”中的名稱“{1}”,但不能爲其命名。
4024    錯誤    Exported variable '{0}' has or is using name '{1}' from private module '{2}'.    導出的變量“{0}”具有或正在使用私有模塊“{2}”中的名稱“{1}”。
4025    錯誤    Exported variable '{0}' has or is using private name '{1}'.    導出的變量“{0}”具有或正在使用專用名稱“{1}”。
4026    錯誤    Public static property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named.    導出類的公共靜態屬性“{0}”具有或正在使用外部模塊“{2}”中的名稱“{1}”,但不能爲其命名。
4027    錯誤    Public static property '{0}' of exported class has or is using name '{1}' from private module '{2}'.    導出類的公共靜態屬性“{0}”具有或正在使用外部模塊“{2}”中的名稱“{1}”。
4028    錯誤    Public static property '{0}' of exported class has or is using private name '{1}'.    導出類的公共靜態屬性“{0}”具有或正在使用專用名稱“{1}”。
4029    錯誤    Public property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named.    導出類的公共屬性“{0}”具有或正在使用外部模塊“{2}”中的名稱“{1}”,但不能爲其命名。
4030    錯誤    Public property '{0}' of exported class has or is using name '{1}' from private module '{2}'.    導出類的公共屬性“{0}”具有或正在使用私有模塊“{2}”中的名稱“{1}”。
4031    錯誤    Public property '{0}' of exported class has or is using private name '{1}'.    導出類的公共屬性“{0}”具有或正在使用專用名稱“{1}”。
4032    錯誤    Property '{0}' of exported interface has or is using name '{1}' from private module '{2}'.    導出接口的屬性“{0}”具有或正在使用私有模塊“{2}”中的名稱“{1}”。
4033    錯誤    Property '{0}' of exported interface has or is using private name '{1}'.    導出接口的屬性“{0}”具有或正在使用專用名稱“{1}”。
4034    錯誤    Parameter '{0}' of public static property setter from exported class has or is using name '{1}' from private module '{2}'.    導出類中的公共靜態屬性 setter 的參數“{0}”具有或正在使用私有模塊“{2}”中的名稱“{1}”。
4035    錯誤    Parameter '{0}' of public static property setter from exported class has or is using private name '{1}'.    導出類中的公共靜態屬性 setter 的參數“{0}”具有或正在使用專用名稱“{1}”。
4036    錯誤    Parameter '{0}' of public property setter from exported class has or is using name '{1}' from private module '{2}'.    導出類中的公共屬性 setter 的參數“{0}”具有或正在使用私有模塊“{2}”中的名稱“{1}”。
4037    錯誤    Parameter '{0}' of public property setter from exported class has or is using private name '{1}'.    導出類中的公共屬性 setter 的參數“{0}”具有或正在使用專用名稱“{1}”。
4038    錯誤    Return type of public static property getter from exported class has or is using name '{0}' from external module {1} but cannot be named.    導出類中的公共靜態屬性 getter 的返回類型具有或正在使用外部模塊“{1}”中的名稱“{0}”,但不能爲其命名。
4039    錯誤    Return type of public static property getter from exported class has or is using name '{0}' from private module '{1}'.    導出類中的公共靜態屬性 getter 的返回類型具有或正在使用私有模塊“{1}”中的名稱“{0}”。
4040    錯誤    Return type of public static property getter from exported class has or is using private name '{0}'.    導出類中的公共靜態屬性 getter 的返回類型具有或正在使用專用名稱“{0}”。
4041    錯誤    Return type of public property getter from exported class has or is using name '{0}' from external module {1} but cannot be named.    導出類中的公共屬性 getter 的返回類型具有或正在使用外部模塊“{1}”中的名稱“{0}”,但不能爲其命名。
4042    錯誤    Return type of public property getter from exported class has or is using name '{0}' from private module '{1}'.    導出類中的公共屬性 getter 的返回類型具有或正在使用私有模塊“{1}”中的名稱“{0}”。
4043    錯誤    Return type of public property getter from exported class has or is using private name '{0}'.    導出類中的公共屬性 getter 的返回類型具有或正在使用專用名稱“{0}”。
4044    錯誤    Return type of constructor signature from exported interface has or is using name '{0}' from private module '{1}'.    導出接口中的構造函數簽名的返回類型具有或正在使用私有模塊“{1}”中的名稱“{0}”。
4045    錯誤    Return type of constructor signature from exported interface has or is using private name '{0}'.    導出接口中的構造函數簽名的返回類型具有或正在使用專用名稱“{0}”。
4046    錯誤    Return type of call signature from exported interface has or is using name '{0}' from private module '{1}'.    導出接口中的調用簽名的返回類型具有或正在使用私有模塊“{1}”中的名稱“{0}”。
4047    錯誤    Return type of call signature from exported interface has or is using private name '{0}'.    導出接口中的調用簽名的返回類型具有或正在使用專用名稱“{0}”。
4048    錯誤    Return type of index signature from exported interface has or is using name '{0}' from private module '{1}'.    導出接口中的索引簽名的返回類型具有或正在使用私有模塊“{1}”中的名稱“{0}”。
4049    錯誤    Return type of index signature from exported interface has or is using private name '{0}'.    導出接口中的索引簽名的返回類型具有或正在使用專用名稱“{0}”。
4050    錯誤    Return type of public static method from exported class has or is using name '{0}' from external module {1} but cannot be named.    導出類中的公共靜態方法的返回類型具有或正在使用外部模塊“{1}”中的名稱“{0}”,但不能爲其命名。
4051    錯誤    Return type of public static method from exported class has or is using name '{0}' from private module '{1}'.    導出類中的公共靜態方法的返回類型具有或正在使用私有模塊“{1}”中的名稱“{0}”。
4052    錯誤    Return type of public static method from exported class has or is using private name '{0}'.    導出類中的公共靜態方法的返回類型具有或正在使用專用名稱“{0}”。
4053    錯誤    Return type of public method from exported class has or is using name '{0}' from external module {1} but cannot be named.    導出類中的公共方法的返回類型具有或正在使用外部模塊“{1}”中的名稱“{0}”,但不能爲其命名。
4054    錯誤    Return type of public method from exported class has or is using name '{0}' from private module '{1}'.    導出類中的公共方法的返回類型具有或正在使用私有模塊“{1}”中的名稱“{0}”。
4055    錯誤    Return type of public method from exported class has or is using private name '{0}'.    導出類中的公共方法的返回類型具有或正在使用專用名稱“{0}”。
4056    錯誤    Return type of method from exported interface has or is using name '{0}' from private module '{1}'.    導出接口中的方法的返回類型具有或正在使用私有模塊“{1}”中的名稱“{0}”。
4057    錯誤    Return type of method from exported interface has or is using private name '{0}'.    導出接口中的方法的返回類型具有或正在使用專用名稱“{0}”。
4058    錯誤    Return type of exported function has or is using name '{0}' from external module {1} but cannot be named.    導出函數的返回類型具有或正在使用外部模塊“{1}”中的名稱“{0}”,但不能爲其命名。
4059    錯誤    Return type of exported function has or is using name '{0}' from private module '{1}'.    導出函數的返回類型具有或正在使用私有模塊“{1}”中的名稱“{0}”。
4060    錯誤    Return type of exported function has or is using private name '{0}'.    導出函數的返回類型具有或正在使用專用名稱“{0}”。
4061    錯誤    Parameter '{0}' of constructor from exported class has or is using name '{1}' from external module {2} but cannot be named.    導出類中的構造函數的參數“{0}”具有或正在使用外部模塊“{2}”中的名稱“{1}”,但不能爲其命名。
4062    錯誤    Parameter '{0}' of constructor from exported class has or is using name '{1}' from private module '{2}'.    導出類中的構造函數的參數“{0}”具有或正在使用私有模塊“{2}”中的名稱“{1}”。
4063    錯誤    Parameter '{0}' of constructor from exported class has or is using private name '{1}'.    導出類中的構造函數的參數“{0}”具有或正在使用專用名稱“{1}”。
4064    錯誤    Parameter '{0}' of constructor signature from exported interface has or is using name '{1}' from private module '{2}'.    導出接口中的構造函數簽名的參數“{0}”具有或正在使用私有模塊“{2}”中的名稱“{1}”。
4065    錯誤    Parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'.    導出接口中的構造函數簽名的參數“{0}”具有或正在使用專用名稱“{1}”。
4066    錯誤    Parameter '{0}' of call signature from exported interface has or is using name '{1}' from private module '{2}'.    導出接口中的調用簽名的參數“{0}”具有或正在使用私有模塊“{2}”中的名稱“{1}”。
4067    錯誤    Parameter '{0}' of call signature from exported interface has or is using private name '{1}'.    導出接口中的調用簽名的參數“{0}”具有或正在使用專用名稱“{1}”。
4068    錯誤    Parameter '{0}' of public static method from exported class has or is using name '{1}' from external module {2} but cannot be named.    導出類中的公共靜態方法的參數“{0}”具有或正在使用外部模塊“{2}”中的名稱“{1}”,但不能爲其命名。
4069    錯誤    Parameter '{0}' of public static method from exported class has or is using name '{1}' from private module '{2}'.    導出類中的公共靜態方法的參數“{0}”具有或正在使用私有模塊“{2}”中的名稱“{1}”。
4070    錯誤    Parameter '{0}' of public static method from exported class has or is using private name '{1}'.    導出類中的公共靜態方法的參數“{0}”具有或正在使用專用名稱“{1}”。
4071    錯誤    Parameter '{0}' of public method from exported class has or is using name '{1}' from external module {2} but cannot be named.    導出類中的公共方法的參數“{0}”具有或正在使用外部模塊“{2}”中的名稱“{1}”,但不能爲其命名。
4072    錯誤    Parameter '{0}' of public method from exported class has or is using name '{1}' from private module '{2}'.    導出類中的公共方法的參數“{0}”具有或正在使用私有模塊“{2}”中的名稱“{1}”。
4073    錯誤    Parameter '{0}' of public method from exported class has or is using private name '{1}'.    導出類中的公共方法的參數“{0}”具有或正在使用專用名稱“{1}”。
4074    錯誤    Parameter '{0}' of method from exported interface has or is using name '{1}' from private module '{2}'.    導出接口中的方法的參數“{0}”具有或正在使用私有模塊“{2}”中的名稱“{1}”。
4075    錯誤    Parameter '{0}' of method from exported interface has or is using private name '{1}'.    導出接口中的方法的參數“{0}”具有或正在使用專用名稱“{1}”。
4076    錯誤    Parameter '{0}' of exported function has or is using name '{1}' from external module {2} but cannot be named.    導出函數的參數“{0}”具有或正在使用外部模塊 {2} 中的名稱“{1}”,但不能爲其命名。
4077    錯誤    Parameter '{0}' of exported function has or is using name '{1}' from private module '{2}'.    導出函數的參數“{0}”具有或正在使用私有模塊“{2}”中的名稱“{1}”。
4078    錯誤    Parameter '{0}' of exported function has or is using private name '{1}'.    導出函數的參數“{0}”具有或正在使用專用名稱“{1}”。
4081    錯誤    Exported type alias '{0}' has or is using private name '{1}'.    導出的類型別名“{0}”已經或正在使用專用名稱“{1}”。
4082    錯誤    Default export of the module has or is using private name '{0}'.    模塊的默認導出具有或正在使用專用名稱“{0}”。
4083    錯誤    Type parameter '{0}' of exported type alias has or is using private name '{1}'.     
4090    信息    Conflicting definitions for '{0}' found at '{1}' and '{2}'. Consider installing a specific version of this library to resolve the conflict.     
4091    錯誤    Parameter '{0}' of index signature from exported interface has or is using name '{1}' from private module '{2}'.     
4092    錯誤    Parameter '{0}' of index signature from exported interface has or is using private name '{1}'.     
5001    錯誤    The current host does not support the '{0}' option.    當前主機不支持“{0}”選項。
5009    錯誤    Cannot find the common subdirectory path for the input files.    找不到輸入文件的公共子目錄路徑。
5010    錯誤    File specification cannot end in a recursive directory wildcard ('**'): '{0}'.     
5011    錯誤    File specification cannot contain multiple recursive directory wildcards ('**'): '{0}'.     
5012    錯誤    Cannot read file '{0}': {1}    無法讀取文件“{0}”: {1}
5013    錯誤    Unsupported file encoding.    文件編碼不受支持。
5014    錯誤    Failed to parse file '{0}': {1}.    未能分析文件“{0}”: {1}。
5023    錯誤    Unknown compiler option '{0}'.    未知的編譯器選項“{0}”。
5024    錯誤    Compiler option '{0}' requires a value of type {1}.    編譯器選項“{0}”需要類型 {1} 的值。
5033    錯誤    Could not write file '{0}': {1}    無法寫入文件“{0}”: {1}
5042    錯誤    Option 'project' cannot be mixed with source files on a command line.    選項 "project" 在命令行上不能與源文件混合使用。
5047    錯誤    Option 'isolatedModules' can only be used when either option '--module' is provided or option 'target' is 'ES2015' or higher.    選項 "isolatedModules" 只可在提供了選項 "--module" 或者選項 "target" 是 "ES2015" 或更高版本時使用。
5051    錯誤    Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided.    僅當提供了選項 "--inlineSources" 或選項 "--sourceMap" 時,才能使用選項 "inlineSources"。
5052    錯誤    Option '{0}' cannot be specified without specifying option '{1}'.    無法在不指定選項“{1}”的情況下指定選項“{0}”。
5053    錯誤    Option '{0}' cannot be specified with option '{1}'.    選項“{0}”不能與選項“{1}”同時指定。
5054    錯誤    A 'tsconfig.json' file is already defined at: '{0}'.    已在“{0}”中定義了 "tsconfig.json" 文件。
5055    錯誤    Cannot write file '{0}' because it would overwrite input file.    無法寫入文件“{0}”,因爲它會覆蓋輸入文件。
5056    錯誤    Cannot write file '{0}' because it would be overwritten by multiple input files.    無法寫入文件“{0}”,因爲它會被多個輸入文件覆蓋。
5057    錯誤    Cannot find a tsconfig.json file at the specified directory: '{0}'    無法在指定目錄找到 tsconfig.json 文件:“{0}”
5058    錯誤    The specified path does not exist: '{0}'    指定的路徑不存在:“{0}”
5059    錯誤    Invalid value for '--reactNamespace'. '{0}' is not a valid identifier.    Invalide value for '--reactNamespace'. '{0}' is not a valid identifier.
5060    錯誤    Option 'paths' cannot be used without specifying '--baseUrl' option.     
5061    錯誤    Pattern '{0}' can have at most one '*' character     
5062    錯誤    Substitution '{0}' in pattern '{1}' in can have at most one '*' character     
5063    錯誤    Substitutions for pattern '{0}' should be an array.     
5064    錯誤    Substitution '{0}' for pattern '{1}' has incorrect type, expected 'string', got '{2}'.     
5065    錯誤    File specification cannot contain a parent directory ('..') that appears after a recursive directory wildcard ('**'): '{0}'.     
5066    錯誤    Substitutions for pattern '{0}' shouldn't be an empty array.     
5067    錯誤    Invalid value for 'jsxFactory'. '{0}' is not a valid identifier or qualified-name.     
6001    信息    Concatenate and emit output to single file.    連接輸出並將其發出到單個文件。
6002    信息    Generates corresponding '.d.ts' file.    生成相應的 ".d.ts" 文件。
6003    信息    Specify the location where debugger should locate map files instead of generated locations.    指定調試程序應放置映射文件的位置而不是生成的位置。
6004    信息    Specify the location where debugger should locate TypeScript files instead of source locations.    指定調試程序應放置 TypeScript 文件的位置而不是源位置。
6005    信息    Watch input files.    監視輸入文件。
6006    信息    Redirect output structure to the directory.    將輸出結構重定向到目錄。
6007    信息    Do not erase const enum declarations in generated code.    請勿清除生成代碼中的常數枚舉聲明。
6008    信息    Do not emit outputs if any errors were reported.    如果報告了任何錯誤,請不要發出輸出。
6009    信息    Do not emit comments to output.    請勿將註釋發出到輸出。
6010    信息    Do not emit outputs.    請勿發出輸出。
6011    信息    Allow default imports from modules with no default export. This does not affect code emit, just typechecking.    允許從不帶默認輸出的模塊中默認輸入。這不會影響代碼發出,只是類型檢查。
6012    信息    Skip type checking of declaration files.     
6015    信息    Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'    指定 ECMAScript 目標版本: "ES3" (默認)、"ES5" 或 "ES2015" (實驗)
6016    信息    Specify module code generation: 'commonjs', 'amd', 'system', 'umd' or 'es2015'    指定模塊代碼生成: "commonjs"、"amd"、"system"、"umd" 或 "es2015"
6017    信息    Print this message.    打印此消息。
6019    信息    Print the compiler's version.    打印編譯器的版本。
6020    信息    Compile the project in the given directory.    在指定目錄中編譯項目。
6023    信息    Syntax: {0}    語法: {0}
6024    信息    options    選項
6025    信息    file    文件
6026    信息    Examples: {0}    示例: {0}
6027    信息    Options:    選項:
6029    信息    Version {0}    版本 {0}
6030    信息    Insert command line options and files from a file.    從文件插入命令行選項和文件。
6032    信息    File change detected. Starting incremental compilation...    檢測到文件更改。正在啓動增量編譯...
6034    信息    KIND    種類
6035    信息    FILE    文件
6036    信息    VERSION    版本
6037    信息    LOCATION    位置
6038    信息    DIRECTORY    目錄
6039    信息    STRATEGY     
6042    信息    Compilation complete. Watching for file changes.    編譯完成。查看文件更改。
6043    信息    Generates corresponding '.map' file.    生成相應的 ".map" 文件。
6044    錯誤    Compiler option '{0}' expects an argument.    編譯器選項“{0}”需要參數。
6045    錯誤    Unterminated quoted string in response file '{0}'.    響應文件“{0}”中引號不配對。
6046    錯誤    Argument for '{0}' option must be: {1}    Argument for '--module' option must be 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'none'.
6048    錯誤    Locale must be of the form or - . For example '{0}' or '{1}'.    區域設置必須採用 <語言> 或 <語言>-<區域> 形式。例如“{0}”或“{1}”。
6049    錯誤    Unsupported locale '{0}'.    區域設置“{0}”不受支持。
6050    錯誤    Unable to open file '{0}'.    無法打開文件“{0}”。
6051    錯誤    Corrupted locale file {0}.    區域設置文件 {0} 已損壞。
6052    信息    Raise error on expressions and declarations with an implied 'any' type.    對具有隱式 "any" 類型的表達式和聲明引發錯誤。
6053    錯誤    File '{0}' not found.    找不到文件“{0}”。
6054    錯誤    File '{0}' has unsupported extension. The only supported extensions are {1}.    不支持文件“{0}”的擴展名。唯一支持的擴展名爲 {1}。
6055    信息    Suppress noImplicitAny errors for indexing objects lacking index signatures.    抑制缺少索引簽名的索引對象的 noImplicitAny 錯誤。
6056    信息    Do not emit declarations for code that has an '@internal' annotation.    請勿對具有 "@internal" 註釋的代碼發出聲明。
6058    信息    Specify the root directory of input files. Use to control the output directory structure with --outDir.    指定輸入文件的根目錄。與 --outDir 一起用於控制輸出目錄結構。
6059    錯誤    File '{0}' is not under 'rootDir' '{1}'. 'rootDir' is expected to contain all source files.    文件“{0}”不在 "rootDir"“{1}”下。"rootDir" 應包含所有源文件。
6060    信息    Specify the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix).    指定發出文件時要使用的行序列結尾: "CRLF" (dos)或 "LF" (unix)。
6061    信息    NEWLINE    換行符
6064    錯誤    Option '{0}' can only be specified in 'tsconfig.json' file.     
6065    信息    Enables experimental support for ES7 decorators.    對 ES7 修飾器啓用實驗支持。
6066    信息    Enables experimental support for emitting type metadata for decorators.    對發出修飾器的類型元數據啓用實驗支持。
6068    信息    Enables experimental support for ES7 async functions.    對 ES7 異步函數啓用實驗支持。
6069    信息    Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6).    指定模塊解決策略: "node" (Node.js) 或 "classic" (TypeScript pre-1.6)。
6070    信息    Initializes a TypeScript project and creates a tsconfig.json file.    初始化 TypeScript 項目並創建 tsconfig.json 文件。
6071    信息    Successfully created a tsconfig.json file.    已成功創建 tsconfig.json 文件。
6072    信息    Suppress excess property checks for object literals.    取消對象文字的多餘屬性檢查。
6073    信息    Stylize errors and messages using color and context. (experimental)    使用顏色和上下文風格化錯誤和消息。(實驗)
6074    信息    Do not report errors on unused labels.    不報告有關未使用的標籤的錯誤。
6075    信息    Report error when not all code paths in function return a value.    在函數中的所有代碼路徑並非都返回值時報告錯誤。
6076    信息    Report errors for fallthrough cases in switch statement.    報告 switch 語句中遇到 fallthrough 情況的錯誤。
6077    信息    Do not report errors on unreachable code.    不報告有關不可訪問的代碼的錯誤。
6078    信息    Disallow inconsistently-cased references to the same file.    不允許對同一文件採用大小不一致的引用。
6079    信息    Specify library files to be included in the compilation:     
6080    信息    Specify JSX code generation: 'preserve' or 'react'    指定 JSX 代碼生成: "preserve" 或 "react"
6081    信息    File '{0}' has an unsupported extension, so skipping it.    "--jsx" 的參數必須爲 "preserve" 或 "react"。
6082    錯誤    Only 'amd' and 'system' modules are supported alongside --{0}.    --{0} 旁僅支持 "amd" 和 "system" 模塊。
6083    信息    Base directory to resolve non-absolute module names.    允許編譯 JavaScript 文件。
6084    信息    Specify the object invoked for createElement and __spread when targeting 'react' JSX emit    Specifies the object invoked for createElement and __spread when targeting 'react' JSX emit
6085    信息    Enable tracing of the name resolution process.     
6086    信息    ======== Resolving module '{0}' from '{1}'. ========     
6087    信息    Explicitly specified module resolution kind: '{0}'.     
6088    信息    Module resolution kind is not specified, using '{0}'.     
6089    信息    ======== Module name '{0}' was successfully resolved to '{1}'. ========     
6090    信息    ======== Module name '{0}' was not resolved. ========     
6091    信息    'paths' option is specified, looking for a pattern to match module name '{0}'.     
6092    信息    Module name '{0}', matched pattern '{1}'.     
6093    信息    Trying substitution '{0}', candidate module location: '{1}'.     
6094    信息    Resolving module name '{0}' relative to base url '{1}' - '{2}'.     
6095    信息    Loading module as file / folder, candidate module location '{0}', target file type '{1}'.     
6096    信息    File '{0}' does not exist.     
6097    信息    File '{0}' exist - use it as a name resolution result.     
6098    信息    Loading module '{0}' from 'node_modules' folder, target file type '{1}'.     
6099    信息    Found 'package.json' at '{0}'.     
6100    信息    'package.json' does not have a 'types' or 'main' field.     
6101    信息    'package.json' has '{0}' field '{1}' that references '{2}'.     
6102    信息    Allow javascript files to be compiled.     
6103    錯誤    Option '{0}' should have array of strings as a value.    Option '{0}' should have array of strings as a value.
6104    信息    Checking if '{0}' is the longest matching prefix for '{1}' - '{2}'.     
6105    信息    Expected type of '{0}' field in 'package.json' to be 'string', got '{1}'.     
6106    信息    'baseUrl' option is set to '{0}', using this value to resolve non-relative module name '{1}'     
6107    信息    'rootDirs' option is set, using it to resolve relative module name '{0}'     
6108    信息    Longest matching prefix for '{0}' is '{1}'     
6109    信息    Loading '{0}' from the root dir '{1}', candidate location '{2}'     
6110    信息    Trying other entries in 'rootDirs'     
6111    信息    Module resolution using 'rootDirs' has failed     
6112    信息    Do not emit 'use strict' directives in module output.    Do not emit 'use strict' directives in module output.
6113    信息    Enable strict null checks.     
6114    錯誤    Unknown option 'excludes'. Did you mean 'exclude'?     
6115    信息    Raise error on 'this' expressions with an implied 'any' type.     
6116    信息    ======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========     
6117    信息    Resolving using primary search paths...     
6118    信息    Resolving from node_modules folder...     
6119    信息    ======== Type reference directive '{0}' was successfully resolved to '{1}', primary: {2}. ========     
6120    信息    ======== Type reference directive '{0}' was not resolved. ========     
6121    信息    Resolving with primary search path '{0}'     
6122    信息    Root directory cannot be determined, skipping primary search paths.     
6123    信息    ======== Resolving type reference directive '{0}', containing file '{1}', root directory not set. ========     
6124    信息    Type declaration files to be included in compilation.     
6125    信息    Looking up in 'node_modules' folder, initial location '{0}'     
6126    信息    Containing file is not specified and root directory cannot be determined, skipping lookup in 'node_modules' folder.     
6127    信息    ======== Resolving type reference directive '{0}', containing file not set, root directory '{1}'. ========     
6128    信息    ======== Resolving type reference directive '{0}', containing file not set, root directory not set. ========     
6129    錯誤    The config file '{0}' found doesn't contain any source files.     
6130    信息    Resolving real path for '{0}', result '{1}'     
6131    錯誤    Cannot compile modules using option '{0}' unless the '--module' flag is 'amd' or 'system'.     
6132    信息    File name '{0}' has a '{1}' extension - stripping it     
6133    錯誤    '{0}' is declared but never used.     
6134    信息    Report errors on unused locals.     
6135    信息    Report errors on unused parameters.     
6136    信息    The maximum dependency depth to search under node_modules and load JavaScript files     
6137    信息    No types specified in 'package.json', so returning 'main' value of '{0}'     
6138    錯誤    Property '{0}' is declared but never used.     
6139    信息    Import emit helpers from 'tslib'.     
6140    錯誤    Auto discovery for typings is enabled in project '{0}'. Running extra resolution pass for module '{1}' using cache location '{2}'.     
6141    信息    Parse in strict mode and emit "use strict" for each source file     
6142    錯誤    Module '{0}' was resolved to '{1}', but '--jsx' is not set.     
6143    錯誤    Module '{0}' was resolved to '{1}', but '--allowJs' is not set.     
6144    信息    Module '{0}' was resolved as locally declared ambient module in file '{1}'.     
6145    信息    Module '{0}' was resolved as ambient module declared in '{1}' since this file was not modified.     
6146    信息    Specify the JSX factory function to use when targeting 'react' JSX emit, e.g. 'React.createElement' or 'h'.     
6147    信息    Resolution for module '{0}' was found in cache.     
6148    信息    Directory '{0}' does not exist, skipping all lookups in it.     
7005    錯誤    Variable '{0}' implicitly has an '{1}' type.    變量“{0}”隱式具有“{1}”類型。
7006    錯誤    Parameter '{0}' implicitly has an '{1}' type.    參數“{0}”隱式具有“{1}”類型。
7008    錯誤    Member '{0}' implicitly has an '{1}' type.    成員“{0}”隱式包含類型“{1}”。
7009    錯誤    'new' expression, whose target lacks a construct signature, implicitly has an 'any' type.    其目標缺少構造簽名的 "new" 表達式隱式具有 "any" 類型。
7010    錯誤    '{0}', which lacks return-type annotation, implicitly has an '{1}' return type.    缺少返回類型批註的“{0}”隱式具有“{1}”返回類型。
7011    錯誤    Function expression, which lacks return-type annotation, implicitly has an '{0}' return type.    缺少返回類型批註的函數表達式隱式具有“{0}”返回類型。
7013    錯誤    Construct signature, which lacks return-type annotation, implicitly has an 'any' return type.    缺少返回類型批註的構造簽名隱式具有返回類型 "any"。
7015    錯誤    Element implicitly has an 'any' type because index expression is not of type 'number'.    Element implicitly has an 'any' type because index expression is not of type 'number'.
7016    錯誤    Could not find a declaration file for module '{0}'. '{1}' implicitly has an 'any' type.    屬性“{0}”隱式具有類型 "any",因爲其 "set" 訪問器缺少類型批註。
7017    錯誤    Element implicitly has an 'any' type because type '{0}' has no index signature.    對象類型的索引簽名隱式地含有 "any" 類型。
7018    錯誤    Object literal's property '{0}' implicitly has an '{1}' type.    對象文字的屬性“{0}”隱式含有“{1}”類型。
7019    錯誤    Rest parameter '{0}' implicitly has an 'any[]' type.    Rest 參數“{0}”隱式具有 "any[]" 類型。
7020    錯誤    Call signature, which lacks return-type annotation, implicitly has an 'any' return type.    缺少返回類型批註的調用簽名隱式具有返回類型 "any"。
7022    錯誤    '{0}' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.    “{0}”隱式具有類型 "any",因爲它不具有類型批註,且在其自身的初始化表達式中得到直接或間接引用。
7023    錯誤    '{0}' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions.    由於“{0}'”不具有返回類型批註並且在它的一個返回表達式中得到直接或間接引用,因此它隱式具有返回類型 "any"。
7024    錯誤    Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions.    由於函數不具有返回類型批註並且在它的一個返回表達式中得到直接或間接引用,因此它隱式具有返回類型 "any"。
7025    錯誤    Generator implicitly has type '{0}' because it does not yield any values. Consider supplying a return type.    生成器隱式具有類型“{0}”,因爲它不生成任何值。請考慮提供一個返回類型。
7026    錯誤    JSX element implicitly has type 'any' because no interface 'JSX.{0}' exists    JSX 元素隱式具有類型 "any",因爲不存在接口“JSX.{0}”
7027    錯誤    Unreachable code detected.    檢測到無法訪問的代碼。
7028    錯誤    Unused label.    未使用的標籤。
7029    錯誤    Fallthrough case in switch.    switch 語句中的 Fallthrough 情況。
7030    錯誤    Not all code paths return a value.    並非所有代碼路徑都返回值。
7031    錯誤    Binding element '{0}' implicitly has an '{1}' type.     
7032    錯誤    Property '{0}' implicitly has type 'any', because its set accessor lacks a parameter type annotation.     
7033    錯誤    Property '{0}' implicitly has type 'any', because its get accessor lacks a return type annotation.     
7034    錯誤    Variable '{0}' implicitly has type '{1}' in some locations where its type cannot be determined.     
8000    錯誤    You cannot rename this element.    無法重命名此元素。
8001    錯誤    You cannot rename elements that are defined in the standard TypeScript library.    不能重命名標準 TypeScript 庫中定義的元素。
8002    錯誤    'import ... =' can only be used in a .ts file.    "import ... =" 只能在 .ts 文件中使用。
8003    錯誤    'export=' can only be used in a .ts file.    "export=" 只能在 .ts 文件中使用。
8004    錯誤    'type parameter declarations' can only be used in a .ts file.    "type parameter declarations" 只能在 .ts 文件中使用。
8005    錯誤    'implements clauses' can only be used in a .ts file.    "implements clauses" 只能在 .ts 文件中使用。
8006    錯誤    'interface declarations' can only be used in a .ts file.    "interface declarations" 只能在 .ts 文件中使用。
8007    錯誤    'module declarations' can only be used in a .ts file.    "module declarations" 只能在 .ts 文件中使用。
8008    錯誤    'type aliases' can only be used in a .ts file.    "type aliases" 只能在 .ts 文件中使用。
8009    錯誤    '{0}' can only be used in a .ts file.    “{0}”只能在 .ts 文件中使用。
8010    錯誤    'types' can only be used in a .ts file.    "types" 只能在 .ts 文件中使用。
8011    錯誤    'type arguments' can only be used in a .ts file.    "type arguments" 只能在 .ts 文件中使用。
8012    錯誤    'parameter modifiers' can only be used in a .ts file.    "parameter modifiers" 只能在 .ts 文件中使用。
8015    錯誤    'enum declarations' can only be used in a .ts file.    "enum declarations" 只能在 .ts 文件中使用。
8016    錯誤    'type assertion expressions' can only be used in a .ts file.    "type assertion expressions" 只能在 .ts 文件中使用。
9002    錯誤    Only identifiers/qualified-names with optional type arguments are currently supported in a class 'extends' clauses.    類 "extends" 子句當前只支持具有可選類型參數的標識符/限定名稱。
9003    錯誤    'class' expressions are not currently supported.    當前不支持 "class" 表達式。
9004    錯誤    Language service is disabled.     
17000    錯誤    JSX attributes must only be assigned a non-empty 'expression'.    只能爲 JSX 屬性分配非空“表達式”。
17001    錯誤    JSX elements cannot have multiple attributes with the same name.    JSX 元素不能具有多個名稱相同的特性。
17002    錯誤    Expected corresponding JSX closing tag for '{0}'.    “{0}”預期的相應 JSX 結束標記。
17003    錯誤    JSX attribute expected.    需要 JSX 屬性。
17004    錯誤    Cannot use JSX unless the '--jsx' flag is provided.    無法使用 JSX,除非提供了 "--jsx" 標誌。
17005    錯誤    A constructor cannot contain a 'super' call when its class extends 'null'    當構造函數的類擴展 "null" 時,它不能包含 "super" 調用。
17006    錯誤    An unary expression with the '{0}' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses.    乘方表達式的左側不允許存在具有“{0}”運算符的一元表達式。請考慮用括號將表達式括起。
17007    錯誤    A type assertion expression is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses.    乘方表達式的左側不允許出現類型斷言表達式。請考慮用括號將表達式括起。
17008    錯誤    JSX element '{0}' has no corresponding closing tag.    JSX element '{0}' has no corresponding closing tag.
17009    錯誤    'super' must be called before accessing 'this' in the constructor of a derived class.    'super' must be called before accessing 'this' in the constructor of a derived class.
17010    錯誤    Unknown type acquisition option '{0}'.    Unknown typing option '{0}'.
17011    錯誤    'super' must be called before accessing a property of 'super' in the constructor of a derived class.     
17012    錯誤    '{0}' is not a valid meta-property for keyword '{1}'. Did you mean '{0}'?    Too many JavaScript files in the project. Consider specifying the 'exclude' setting in project configuration to limit included source folders. The likely folder to exclude is '{0}'. To disable the project size limit, set the 'disableSizeLimit' compiler option to 'true'.
17013    錯誤    Meta-property '{0}' is only allowed in the body of a function declaration, function expression, or constructor.     
18000    錯誤    Circularity detected while resolving configuration: {0}     
18001    錯誤    A path in an 'extends' option must be relative or rooted, but '{0}' is not.     
18002    錯誤    The 'files' list in config file '{0}' is empty.     
18003    錯誤    No inputs were found in config file '{0}'. Specified 'include' paths were '{1}' and 'exclude' paths were '{2}'.     
90001    信息    Add missing 'super()' call.     
90002    信息    Make 'super()' call the first statement in the constructor.     
90003    信息    Change 'extends' to 'implements'.     
90004    信息    Remove unused identifiers.     
90006    信息    Implement interface '{0}'.     
90007    信息    Implement inherited abstract class.     
90009    錯誤    Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig     
90010    錯誤    Type '{0}' is not assignable to type '{1}'. Two different types with this name exist, but they are unrelated.     
90013    信息    Import {0} from {1}     
90014    信息    Change {0} to {1}     
90015    信息    Add {0} to existing import declaration from {1}     
8017    錯誤    Octal literal types must use ES2015 syntax. Use the syntax '{0}'.     
8018    錯誤    Octal literals are not allowed in enums members initializer. Use the syntax '{0}'.     

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章