From 5c7f13de2c25d912c251986c798731232212244f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=96=87=E7=92=90?= Date: Fri, 29 Jun 2018 14:06:28 +0800 Subject: [PATCH 1/5] add grammar check for labeled function declaration --- src/compiler/checker.ts | 7 ++++ src/compiler/diagnosticMessages.json | 4 ++ .../FunctionDeclarationWIthLabel.errors.txt | 8 ++++ .../reference/FunctionDeclarationWIthLabel.js | 37 +++++++++++++++++++ .../FunctionDeclarationWIthLabel.symbols | 7 ++++ .../FunctionDeclarationWIthLabel.types | 9 +++++ ...unctionDeclarationWIthLabel_es6.errors.txt | 12 ++++++ .../FunctionDeclarationWIthLabel_es6.js | 8 ++++ .../FunctionDeclarationWIthLabel_es6.symbols | 7 ++++ .../FunctionDeclarationWIthLabel_es6.types | 9 +++++ .../FunctionDeclarationWIthLabel.ts | 2 + .../FunctionDeclarationWIthLabel_es6.ts | 3 ++ 12 files changed, 113 insertions(+) create mode 100644 tests/baselines/reference/FunctionDeclarationWIthLabel.errors.txt create mode 100644 tests/baselines/reference/FunctionDeclarationWIthLabel.js create mode 100644 tests/baselines/reference/FunctionDeclarationWIthLabel.symbols create mode 100644 tests/baselines/reference/FunctionDeclarationWIthLabel.types create mode 100644 tests/baselines/reference/FunctionDeclarationWIthLabel_es6.errors.txt create mode 100644 tests/baselines/reference/FunctionDeclarationWIthLabel_es6.js create mode 100644 tests/baselines/reference/FunctionDeclarationWIthLabel_es6.symbols create mode 100644 tests/baselines/reference/FunctionDeclarationWIthLabel_es6.types create mode 100644 tests/cases/conformance/es6/functionDeclarations/FunctionDeclarationWIthLabel.ts create mode 100644 tests/cases/conformance/es6/functionDeclarations/FunctionDeclarationWIthLabel_es6.ts diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index cd91f4272484a..c20b6ad17422b 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -24905,6 +24905,9 @@ namespace ts { return false; }); } + if (compilerOptions.target! >= ScriptTarget.ES2015) { + checkGrammarLabeledFunction(node); + } // ensure that label is unique checkSourceElement(node.statement); @@ -29427,6 +29430,10 @@ namespace ts { return false; } + function checkGrammarLabeledFunction(node: LabeledStatement): boolean { + return isFunctionDeclaration(node.statement) ? grammarErrorOnFirstToken(node.label, Diagnostics.Association_of_a_statement_label_with_a_function_declaration_is_not_allowed) : false; + } + function checkGrammarNumericLiteral(node: NumericLiteral): boolean { // Grammar checking if (node.numericLiteralFlags & TokenFlags.Octal) { diff --git a/src/compiler/diagnosticMessages.json b/src/compiler/diagnosticMessages.json index 73be2b46b790a..a2688d407c6f0 100644 --- a/src/compiler/diagnosticMessages.json +++ b/src/compiler/diagnosticMessages.json @@ -983,6 +983,10 @@ "category": "Error", "code": 1343 }, + "Association of a statement label with a function declaration is not allowed.": { + "category": "Error", + "code": 1344 + }, "Duplicate identifier '{0}'.": { "category": "Error", diff --git a/tests/baselines/reference/FunctionDeclarationWIthLabel.errors.txt b/tests/baselines/reference/FunctionDeclarationWIthLabel.errors.txt new file mode 100644 index 0000000000000..635c4f771d490 --- /dev/null +++ b/tests/baselines/reference/FunctionDeclarationWIthLabel.errors.txt @@ -0,0 +1,8 @@ +error TS2318: Cannot find global type 'IterableIterator'. + + +!!! error TS2318: Cannot find global type 'IterableIterator'. +==== tests/cases/conformance/es6/functionDeclarations/FunctionDeclarationWIthLabel.ts (0 errors) ==== + label: function fn() { } + label: function* gen() { } + \ No newline at end of file diff --git a/tests/baselines/reference/FunctionDeclarationWIthLabel.js b/tests/baselines/reference/FunctionDeclarationWIthLabel.js new file mode 100644 index 0000000000000..c09fdc35d323a --- /dev/null +++ b/tests/baselines/reference/FunctionDeclarationWIthLabel.js @@ -0,0 +1,37 @@ +//// [FunctionDeclarationWIthLabel.ts] +label: function fn() { } +label: function* gen() { } + + +//// [FunctionDeclarationWIthLabel.js] +var __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +label: function fn() { } +label: function gen() { return __generator(this, function (_a) { + return [2 /*return*/]; +}); } diff --git a/tests/baselines/reference/FunctionDeclarationWIthLabel.symbols b/tests/baselines/reference/FunctionDeclarationWIthLabel.symbols new file mode 100644 index 0000000000000..9f7ff082a09a0 --- /dev/null +++ b/tests/baselines/reference/FunctionDeclarationWIthLabel.symbols @@ -0,0 +1,7 @@ +=== tests/cases/conformance/es6/functionDeclarations/FunctionDeclarationWIthLabel.ts === +label: function fn() { } +>fn : Symbol(fn, Decl(FunctionDeclarationWIthLabel.ts, 0, 6)) + +label: function* gen() { } +>gen : Symbol(gen, Decl(FunctionDeclarationWIthLabel.ts, 1, 6)) + diff --git a/tests/baselines/reference/FunctionDeclarationWIthLabel.types b/tests/baselines/reference/FunctionDeclarationWIthLabel.types new file mode 100644 index 0000000000000..f3855d68c82e7 --- /dev/null +++ b/tests/baselines/reference/FunctionDeclarationWIthLabel.types @@ -0,0 +1,9 @@ +=== tests/cases/conformance/es6/functionDeclarations/FunctionDeclarationWIthLabel.ts === +label: function fn() { } +>label : any +>fn : () => void + +label: function* gen() { } +>label : any +>gen : () => {} + diff --git a/tests/baselines/reference/FunctionDeclarationWIthLabel_es6.errors.txt b/tests/baselines/reference/FunctionDeclarationWIthLabel_es6.errors.txt new file mode 100644 index 0000000000000..f30eb2105b5bc --- /dev/null +++ b/tests/baselines/reference/FunctionDeclarationWIthLabel_es6.errors.txt @@ -0,0 +1,12 @@ +tests/cases/conformance/es6/functionDeclarations/FunctionDeclarationWIthLabel_es6.ts(1,1): error TS1344: Association of a statement label with a function declaration is not allowed. +tests/cases/conformance/es6/functionDeclarations/FunctionDeclarationWIthLabel_es6.ts(2,1): error TS1344: Association of a statement label with a function declaration is not allowed. + + +==== tests/cases/conformance/es6/functionDeclarations/FunctionDeclarationWIthLabel_es6.ts (2 errors) ==== + label: function fn() { } + ~~~~~ +!!! error TS1344: Association of a statement label with a function declaration is not allowed. + label: function* gen() { } + ~~~~~ +!!! error TS1344: Association of a statement label with a function declaration is not allowed. + \ No newline at end of file diff --git a/tests/baselines/reference/FunctionDeclarationWIthLabel_es6.js b/tests/baselines/reference/FunctionDeclarationWIthLabel_es6.js new file mode 100644 index 0000000000000..9add30e32e740 --- /dev/null +++ b/tests/baselines/reference/FunctionDeclarationWIthLabel_es6.js @@ -0,0 +1,8 @@ +//// [FunctionDeclarationWIthLabel_es6.ts] +label: function fn() { } +label: function* gen() { } + + +//// [FunctionDeclarationWIthLabel_es6.js] +label: function fn() { } +label: function* gen() { } diff --git a/tests/baselines/reference/FunctionDeclarationWIthLabel_es6.symbols b/tests/baselines/reference/FunctionDeclarationWIthLabel_es6.symbols new file mode 100644 index 0000000000000..6a28a7d73bea5 --- /dev/null +++ b/tests/baselines/reference/FunctionDeclarationWIthLabel_es6.symbols @@ -0,0 +1,7 @@ +=== tests/cases/conformance/es6/functionDeclarations/FunctionDeclarationWIthLabel_es6.ts === +label: function fn() { } +>fn : Symbol(fn, Decl(FunctionDeclarationWIthLabel_es6.ts, 0, 6)) + +label: function* gen() { } +>gen : Symbol(gen, Decl(FunctionDeclarationWIthLabel_es6.ts, 1, 6)) + diff --git a/tests/baselines/reference/FunctionDeclarationWIthLabel_es6.types b/tests/baselines/reference/FunctionDeclarationWIthLabel_es6.types new file mode 100644 index 0000000000000..ea2d7ec62c38d --- /dev/null +++ b/tests/baselines/reference/FunctionDeclarationWIthLabel_es6.types @@ -0,0 +1,9 @@ +=== tests/cases/conformance/es6/functionDeclarations/FunctionDeclarationWIthLabel_es6.ts === +label: function fn() { } +>label : any +>fn : () => void + +label: function* gen() { } +>label : any +>gen : () => IterableIterator + diff --git a/tests/cases/conformance/es6/functionDeclarations/FunctionDeclarationWIthLabel.ts b/tests/cases/conformance/es6/functionDeclarations/FunctionDeclarationWIthLabel.ts new file mode 100644 index 0000000000000..82b91e723ef86 --- /dev/null +++ b/tests/cases/conformance/es6/functionDeclarations/FunctionDeclarationWIthLabel.ts @@ -0,0 +1,2 @@ +label: function fn() { } +label: function* gen() { } diff --git a/tests/cases/conformance/es6/functionDeclarations/FunctionDeclarationWIthLabel_es6.ts b/tests/cases/conformance/es6/functionDeclarations/FunctionDeclarationWIthLabel_es6.ts new file mode 100644 index 0000000000000..2aba7488173ca --- /dev/null +++ b/tests/cases/conformance/es6/functionDeclarations/FunctionDeclarationWIthLabel_es6.ts @@ -0,0 +1,3 @@ +// @target: es2015 +label: function fn() { } +label: function* gen() { } From e6ccab3e252a7704a9bf20275460fbeda148ca36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=96=87=E7=92=90?= Date: Sat, 30 Jun 2018 23:05:42 +0800 Subject: [PATCH 2/5] fix debug failed on labeled class declaration --- src/compiler/transformers/es2015.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/transformers/es2015.ts b/src/compiler/transformers/es2015.ts index 619cc505c8b58..b1f3a57999c40 100644 --- a/src/compiler/transformers/es2015.ts +++ b/src/compiler/transformers/es2015.ts @@ -2207,7 +2207,7 @@ namespace ts { const statement = unwrapInnermostStatementOfLabel(node, convertedLoopState && recordLabel); return isIterationStatement(statement, /*lookInLabeledStatements*/ false) ? visitIterationStatement(statement, /*outermostLabeledStatement*/ node) - : restoreEnclosingLabel(visitNode(statement, visitor, isStatement), node, convertedLoopState && resetLabel); + : restoreEnclosingLabel(visitNode(statement, visitor, isStatement, liftToBlock), node, convertedLoopState && resetLabel); } function visitIterationStatement(node: IterationStatement, outermostLabeledStatement: LabeledStatement) { From ac87b44bd96b6fe6ef3b270c8fe0f4ef2ca41256 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=96=87=E7=92=90?= Date: Sat, 30 Jun 2018 23:26:58 +0800 Subject: [PATCH 3/5] move labeled statement check to binder and add more pattern for check --- src/compiler/binder.ts | 11 + src/compiler/checker.ts | 7 - src/compiler/diagnosticMessages.json | 2 +- .../FunctionDeclarationWIthLabel.errors.txt | 8 - .../FunctionDeclarationWIthLabel.symbols | 7 - .../FunctionDeclarationWIthLabel.types | 9 - ...unctionDeclarationWIthLabel_es6.errors.txt | 12 - .../FunctionDeclarationWIthLabel_es6.js | 8 - .../FunctionDeclarationWIthLabel_es6.symbols | 7 - .../FunctionDeclarationWIthLabel_es6.types | 9 - .../reference/api/tsserverlibrary.d.ts | 1117 +++++++++++++++++ .../labeledStatementWithLabel.errors.txt | 23 + ...hLabel.js => labeledStatementWithLabel.js} | 47 +- .../labeledStatementWithLabel.symbols | 37 + .../reference/labeledStatementWithLabel.types | 52 + ...abeledStatementWithLabel_es2015.errors.txt | 23 + .../labeledStatementWithLabel_es2015.js | 44 + .../labeledStatementWithLabel_es2015.symbols | 37 + .../labeledStatementWithLabel_es2015.types | 52 + ...abeledStatementWithLabel_strict.errors.txt | 60 + .../labeledStatementWithLabel_strict.js | 46 + .../labeledStatementWithLabel_strict.symbols | 38 + .../labeledStatementWithLabel_strict.types | 55 + .../FunctionDeclarationWIthLabel.ts | 2 - .../FunctionDeclarationWIthLabel_es6.ts | 3 - .../labeledStatementWithLabel.ts | 15 + .../labeledStatementWithLabel_es2015.ts | 15 + .../labeledStatementWithLabel_strict.ts | 15 + 28 files changed, 1686 insertions(+), 75 deletions(-) delete mode 100644 tests/baselines/reference/FunctionDeclarationWIthLabel.errors.txt delete mode 100644 tests/baselines/reference/FunctionDeclarationWIthLabel.symbols delete mode 100644 tests/baselines/reference/FunctionDeclarationWIthLabel.types delete mode 100644 tests/baselines/reference/FunctionDeclarationWIthLabel_es6.errors.txt delete mode 100644 tests/baselines/reference/FunctionDeclarationWIthLabel_es6.js delete mode 100644 tests/baselines/reference/FunctionDeclarationWIthLabel_es6.symbols delete mode 100644 tests/baselines/reference/FunctionDeclarationWIthLabel_es6.types create mode 100644 tests/baselines/reference/labeledStatementWithLabel.errors.txt rename tests/baselines/reference/{FunctionDeclarationWIthLabel.js => labeledStatementWithLabel.js} (58%) create mode 100644 tests/baselines/reference/labeledStatementWithLabel.symbols create mode 100644 tests/baselines/reference/labeledStatementWithLabel.types create mode 100644 tests/baselines/reference/labeledStatementWithLabel_es2015.errors.txt create mode 100644 tests/baselines/reference/labeledStatementWithLabel_es2015.js create mode 100644 tests/baselines/reference/labeledStatementWithLabel_es2015.symbols create mode 100644 tests/baselines/reference/labeledStatementWithLabel_es2015.types create mode 100644 tests/baselines/reference/labeledStatementWithLabel_strict.errors.txt create mode 100644 tests/baselines/reference/labeledStatementWithLabel_strict.js create mode 100644 tests/baselines/reference/labeledStatementWithLabel_strict.symbols create mode 100644 tests/baselines/reference/labeledStatementWithLabel_strict.types delete mode 100644 tests/cases/conformance/es6/functionDeclarations/FunctionDeclarationWIthLabel.ts delete mode 100644 tests/cases/conformance/es6/functionDeclarations/FunctionDeclarationWIthLabel_es6.ts create mode 100644 tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel.ts create mode 100644 tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_es2015.ts create mode 100644 tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts diff --git a/src/compiler/binder.ts b/src/compiler/binder.ts index 8791706396ebb..83522b61a871e 100644 --- a/src/compiler/binder.ts +++ b/src/compiler/binder.ts @@ -1913,6 +1913,15 @@ namespace ts { } } + function checkStrictModeLabeledStatement(node: LabeledStatement) { + // Grammar checking for labeledStatement + if (inStrictMode && options.target! >= ScriptTarget.ES2015) { + if (isDeclarationStatement(node.statement) || isVariableStatement(node.statement)) { + errorOnFirstToken(node.label, Diagnostics._0_declarations_cannot_be_labeled, formatSyntaxKind(node.statement.kind)); + } + } + } + function errorOnFirstToken(node: Node, message: DiagnosticMessage, arg0?: any, arg1?: any, arg2?: any) { const span = getSpanOfTokenAtPosition(file, node.pos); file.bindDiagnostics.push(createFileDiagnostic(file, span.start, span.length, message, arg0, arg1, arg2)); @@ -2099,6 +2108,8 @@ namespace ts { return checkStrictModePrefixUnaryExpression(node); case SyntaxKind.WithStatement: return checkStrictModeWithStatement(node); + case SyntaxKind.LabeledStatement: + return checkStrictModeLabeledStatement(node); case SyntaxKind.ThisType: seenThisKeyword = true; return; diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index c20b6ad17422b..cd91f4272484a 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -24905,9 +24905,6 @@ namespace ts { return false; }); } - if (compilerOptions.target! >= ScriptTarget.ES2015) { - checkGrammarLabeledFunction(node); - } // ensure that label is unique checkSourceElement(node.statement); @@ -29430,10 +29427,6 @@ namespace ts { return false; } - function checkGrammarLabeledFunction(node: LabeledStatement): boolean { - return isFunctionDeclaration(node.statement) ? grammarErrorOnFirstToken(node.label, Diagnostics.Association_of_a_statement_label_with_a_function_declaration_is_not_allowed) : false; - } - function checkGrammarNumericLiteral(node: NumericLiteral): boolean { // Grammar checking if (node.numericLiteralFlags & TokenFlags.Octal) { diff --git a/src/compiler/diagnosticMessages.json b/src/compiler/diagnosticMessages.json index a2688d407c6f0..635c6bcedc9a3 100644 --- a/src/compiler/diagnosticMessages.json +++ b/src/compiler/diagnosticMessages.json @@ -983,7 +983,7 @@ "category": "Error", "code": 1343 }, - "Association of a statement label with a function declaration is not allowed.": { + "'{0}' declarations cannot be labeled.": { "category": "Error", "code": 1344 }, diff --git a/tests/baselines/reference/FunctionDeclarationWIthLabel.errors.txt b/tests/baselines/reference/FunctionDeclarationWIthLabel.errors.txt deleted file mode 100644 index 635c4f771d490..0000000000000 --- a/tests/baselines/reference/FunctionDeclarationWIthLabel.errors.txt +++ /dev/null @@ -1,8 +0,0 @@ -error TS2318: Cannot find global type 'IterableIterator'. - - -!!! error TS2318: Cannot find global type 'IterableIterator'. -==== tests/cases/conformance/es6/functionDeclarations/FunctionDeclarationWIthLabel.ts (0 errors) ==== - label: function fn() { } - label: function* gen() { } - \ No newline at end of file diff --git a/tests/baselines/reference/FunctionDeclarationWIthLabel.symbols b/tests/baselines/reference/FunctionDeclarationWIthLabel.symbols deleted file mode 100644 index 9f7ff082a09a0..0000000000000 --- a/tests/baselines/reference/FunctionDeclarationWIthLabel.symbols +++ /dev/null @@ -1,7 +0,0 @@ -=== tests/cases/conformance/es6/functionDeclarations/FunctionDeclarationWIthLabel.ts === -label: function fn() { } ->fn : Symbol(fn, Decl(FunctionDeclarationWIthLabel.ts, 0, 6)) - -label: function* gen() { } ->gen : Symbol(gen, Decl(FunctionDeclarationWIthLabel.ts, 1, 6)) - diff --git a/tests/baselines/reference/FunctionDeclarationWIthLabel.types b/tests/baselines/reference/FunctionDeclarationWIthLabel.types deleted file mode 100644 index f3855d68c82e7..0000000000000 --- a/tests/baselines/reference/FunctionDeclarationWIthLabel.types +++ /dev/null @@ -1,9 +0,0 @@ -=== tests/cases/conformance/es6/functionDeclarations/FunctionDeclarationWIthLabel.ts === -label: function fn() { } ->label : any ->fn : () => void - -label: function* gen() { } ->label : any ->gen : () => {} - diff --git a/tests/baselines/reference/FunctionDeclarationWIthLabel_es6.errors.txt b/tests/baselines/reference/FunctionDeclarationWIthLabel_es6.errors.txt deleted file mode 100644 index f30eb2105b5bc..0000000000000 --- a/tests/baselines/reference/FunctionDeclarationWIthLabel_es6.errors.txt +++ /dev/null @@ -1,12 +0,0 @@ -tests/cases/conformance/es6/functionDeclarations/FunctionDeclarationWIthLabel_es6.ts(1,1): error TS1344: Association of a statement label with a function declaration is not allowed. -tests/cases/conformance/es6/functionDeclarations/FunctionDeclarationWIthLabel_es6.ts(2,1): error TS1344: Association of a statement label with a function declaration is not allowed. - - -==== tests/cases/conformance/es6/functionDeclarations/FunctionDeclarationWIthLabel_es6.ts (2 errors) ==== - label: function fn() { } - ~~~~~ -!!! error TS1344: Association of a statement label with a function declaration is not allowed. - label: function* gen() { } - ~~~~~ -!!! error TS1344: Association of a statement label with a function declaration is not allowed. - \ No newline at end of file diff --git a/tests/baselines/reference/FunctionDeclarationWIthLabel_es6.js b/tests/baselines/reference/FunctionDeclarationWIthLabel_es6.js deleted file mode 100644 index 9add30e32e740..0000000000000 --- a/tests/baselines/reference/FunctionDeclarationWIthLabel_es6.js +++ /dev/null @@ -1,8 +0,0 @@ -//// [FunctionDeclarationWIthLabel_es6.ts] -label: function fn() { } -label: function* gen() { } - - -//// [FunctionDeclarationWIthLabel_es6.js] -label: function fn() { } -label: function* gen() { } diff --git a/tests/baselines/reference/FunctionDeclarationWIthLabel_es6.symbols b/tests/baselines/reference/FunctionDeclarationWIthLabel_es6.symbols deleted file mode 100644 index 6a28a7d73bea5..0000000000000 --- a/tests/baselines/reference/FunctionDeclarationWIthLabel_es6.symbols +++ /dev/null @@ -1,7 +0,0 @@ -=== tests/cases/conformance/es6/functionDeclarations/FunctionDeclarationWIthLabel_es6.ts === -label: function fn() { } ->fn : Symbol(fn, Decl(FunctionDeclarationWIthLabel_es6.ts, 0, 6)) - -label: function* gen() { } ->gen : Symbol(gen, Decl(FunctionDeclarationWIthLabel_es6.ts, 1, 6)) - diff --git a/tests/baselines/reference/FunctionDeclarationWIthLabel_es6.types b/tests/baselines/reference/FunctionDeclarationWIthLabel_es6.types deleted file mode 100644 index ea2d7ec62c38d..0000000000000 --- a/tests/baselines/reference/FunctionDeclarationWIthLabel_es6.types +++ /dev/null @@ -1,9 +0,0 @@ -=== tests/cases/conformance/es6/functionDeclarations/FunctionDeclarationWIthLabel_es6.ts === -label: function fn() { } ->label : any ->fn : () => void - -label: function* gen() { } ->label : any ->gen : () => IterableIterator - diff --git a/tests/baselines/reference/api/tsserverlibrary.d.ts b/tests/baselines/reference/api/tsserverlibrary.d.ts index 57deee2ab9856..fbc4aceb09475 100644 --- a/tests/baselines/reference/api/tsserverlibrary.d.ts +++ b/tests/baselines/reference/api/tsserverlibrary.d.ts @@ -3047,6 +3047,1123 @@ declare namespace ts { let sys: System; } declare namespace ts { +<<<<<<< HEAD +======= + const Diagnostics: { + Unterminated_string_literal: DiagnosticMessage; + Identifier_expected: DiagnosticMessage; + _0_expected: DiagnosticMessage; + A_file_cannot_have_a_reference_to_itself: DiagnosticMessage; + Trailing_comma_not_allowed: DiagnosticMessage; + Asterisk_Slash_expected: DiagnosticMessage; + An_element_access_expression_should_take_an_argument: DiagnosticMessage; + Unexpected_token: DiagnosticMessage; + A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma: DiagnosticMessage; + A_rest_parameter_must_be_last_in_a_parameter_list: DiagnosticMessage; + Parameter_cannot_have_question_mark_and_initializer: DiagnosticMessage; + A_required_parameter_cannot_follow_an_optional_parameter: DiagnosticMessage; + An_index_signature_cannot_have_a_rest_parameter: DiagnosticMessage; + An_index_signature_parameter_cannot_have_an_accessibility_modifier: DiagnosticMessage; + An_index_signature_parameter_cannot_have_a_question_mark: DiagnosticMessage; + An_index_signature_parameter_cannot_have_an_initializer: DiagnosticMessage; + An_index_signature_must_have_a_type_annotation: DiagnosticMessage; + An_index_signature_parameter_must_have_a_type_annotation: DiagnosticMessage; + An_index_signature_parameter_type_must_be_string_or_number: DiagnosticMessage; + readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature: DiagnosticMessage; + Accessibility_modifier_already_seen: DiagnosticMessage; + _0_modifier_must_precede_1_modifier: DiagnosticMessage; + _0_modifier_already_seen: DiagnosticMessage; + _0_modifier_cannot_appear_on_a_class_element: DiagnosticMessage; + super_must_be_followed_by_an_argument_list_or_member_access: DiagnosticMessage; + Only_ambient_modules_can_use_quoted_names: DiagnosticMessage; + Statements_are_not_allowed_in_ambient_contexts: DiagnosticMessage; + A_declare_modifier_cannot_be_used_in_an_already_ambient_context: DiagnosticMessage; + Initializers_are_not_allowed_in_ambient_contexts: DiagnosticMessage; + _0_modifier_cannot_be_used_in_an_ambient_context: DiagnosticMessage; + _0_modifier_cannot_be_used_with_a_class_declaration: DiagnosticMessage; + _0_modifier_cannot_be_used_here: DiagnosticMessage; + _0_modifier_cannot_appear_on_a_data_property: DiagnosticMessage; + _0_modifier_cannot_appear_on_a_module_or_namespace_element: DiagnosticMessage; + A_0_modifier_cannot_be_used_with_an_interface_declaration: DiagnosticMessage; + A_declare_modifier_is_required_for_a_top_level_declaration_in_a_d_ts_file: DiagnosticMessage; + A_rest_parameter_cannot_be_optional: DiagnosticMessage; + A_rest_parameter_cannot_have_an_initializer: DiagnosticMessage; + A_set_accessor_must_have_exactly_one_parameter: DiagnosticMessage; + A_set_accessor_cannot_have_an_optional_parameter: DiagnosticMessage; + A_set_accessor_parameter_cannot_have_an_initializer: DiagnosticMessage; + A_set_accessor_cannot_have_rest_parameter: DiagnosticMessage; + A_get_accessor_cannot_have_parameters: DiagnosticMessage; + Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value: DiagnosticMessage; + Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher: DiagnosticMessage; + An_async_function_or_method_must_have_a_valid_awaitable_return_type: DiagnosticMessage; + The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member: DiagnosticMessage; + A_promise_must_have_a_then_method: DiagnosticMessage; + The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback: DiagnosticMessage; + Enum_member_must_have_initializer: DiagnosticMessage; + Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method: DiagnosticMessage; + An_export_assignment_cannot_be_used_in_a_namespace: DiagnosticMessage; + The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type: DiagnosticMessage; + In_ambient_enum_declarations_member_initializer_must_be_constant_expression: DiagnosticMessage; + Unexpected_token_A_constructor_method_accessor_or_property_was_expected: DiagnosticMessage; + Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces: DiagnosticMessage; + _0_modifier_cannot_appear_on_a_type_member: DiagnosticMessage; + _0_modifier_cannot_appear_on_an_index_signature: DiagnosticMessage; + A_0_modifier_cannot_be_used_with_an_import_declaration: DiagnosticMessage; + Invalid_reference_directive_syntax: DiagnosticMessage; + Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0: DiagnosticMessage; + An_accessor_cannot_be_declared_in_an_ambient_context: DiagnosticMessage; + _0_modifier_cannot_appear_on_a_constructor_declaration: DiagnosticMessage; + _0_modifier_cannot_appear_on_a_parameter: DiagnosticMessage; + Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement: DiagnosticMessage; + Type_parameters_cannot_appear_on_a_constructor_declaration: DiagnosticMessage; + Type_annotation_cannot_appear_on_a_constructor_declaration: DiagnosticMessage; + An_accessor_cannot_have_type_parameters: DiagnosticMessage; + A_set_accessor_cannot_have_a_return_type_annotation: DiagnosticMessage; + An_index_signature_must_have_exactly_one_parameter: DiagnosticMessage; + _0_list_cannot_be_empty: DiagnosticMessage; + Type_parameter_list_cannot_be_empty: DiagnosticMessage; + Type_argument_list_cannot_be_empty: DiagnosticMessage; + Invalid_use_of_0_in_strict_mode: DiagnosticMessage; + with_statements_are_not_allowed_in_strict_mode: DiagnosticMessage; + delete_cannot_be_called_on_an_identifier_in_strict_mode: DiagnosticMessage; + A_for_await_of_statement_is_only_allowed_within_an_async_function_or_async_generator: DiagnosticMessage; + A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement: DiagnosticMessage; + A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement: DiagnosticMessage; + Jump_target_cannot_cross_function_boundary: DiagnosticMessage; + A_return_statement_can_only_be_used_within_a_function_body: DiagnosticMessage; + Expression_expected: DiagnosticMessage; + Type_expected: DiagnosticMessage; + A_default_clause_cannot_appear_more_than_once_in_a_switch_statement: DiagnosticMessage; + Duplicate_label_0: DiagnosticMessage; + A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement: DiagnosticMessage; + A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement: DiagnosticMessage; + An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode: DiagnosticMessage; + An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name: DiagnosticMessage; + An_object_literal_cannot_have_property_and_accessor_with_the_same_name: DiagnosticMessage; + An_export_assignment_cannot_have_modifiers: DiagnosticMessage; + Octal_literals_are_not_allowed_in_strict_mode: DiagnosticMessage; + Variable_declaration_list_cannot_be_empty: DiagnosticMessage; + Digit_expected: DiagnosticMessage; + Hexadecimal_digit_expected: DiagnosticMessage; + Unexpected_end_of_text: DiagnosticMessage; + Invalid_character: DiagnosticMessage; + Declaration_or_statement_expected: DiagnosticMessage; + Statement_expected: DiagnosticMessage; + case_or_default_expected: DiagnosticMessage; + Property_or_signature_expected: DiagnosticMessage; + Enum_member_expected: DiagnosticMessage; + Variable_declaration_expected: DiagnosticMessage; + Argument_expression_expected: DiagnosticMessage; + Property_assignment_expected: DiagnosticMessage; + Expression_or_comma_expected: DiagnosticMessage; + Parameter_declaration_expected: DiagnosticMessage; + Type_parameter_declaration_expected: DiagnosticMessage; + Type_argument_expected: DiagnosticMessage; + String_literal_expected: DiagnosticMessage; + Line_break_not_permitted_here: DiagnosticMessage; + or_expected: DiagnosticMessage; + Declaration_expected: DiagnosticMessage; + Import_declarations_in_a_namespace_cannot_reference_a_module: DiagnosticMessage; + Cannot_use_imports_exports_or_module_augmentations_when_module_is_none: DiagnosticMessage; + File_name_0_differs_from_already_included_file_name_1_only_in_casing: DiagnosticMessage; + new_T_cannot_be_used_to_create_an_array_Use_new_Array_T_instead: DiagnosticMessage; + const_declarations_must_be_initialized: DiagnosticMessage; + const_declarations_can_only_be_declared_inside_a_block: DiagnosticMessage; + let_declarations_can_only_be_declared_inside_a_block: DiagnosticMessage; + Unterminated_template_literal: DiagnosticMessage; + Unterminated_regular_expression_literal: DiagnosticMessage; + An_object_member_cannot_be_declared_optional: DiagnosticMessage; + A_yield_expression_is_only_allowed_in_a_generator_body: DiagnosticMessage; + Computed_property_names_are_not_allowed_in_enums: DiagnosticMessage; + A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type: DiagnosticMessage; + 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: DiagnosticMessage; + A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type: DiagnosticMessage; + A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type: DiagnosticMessage; + A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type: DiagnosticMessage; + A_comma_expression_is_not_allowed_in_a_computed_property_name: DiagnosticMessage; + extends_clause_already_seen: DiagnosticMessage; + extends_clause_must_precede_implements_clause: DiagnosticMessage; + Classes_can_only_extend_a_single_class: DiagnosticMessage; + implements_clause_already_seen: DiagnosticMessage; + Interface_declaration_cannot_have_implements_clause: DiagnosticMessage; + Binary_digit_expected: DiagnosticMessage; + Octal_digit_expected: DiagnosticMessage; + Unexpected_token_expected: DiagnosticMessage; + Property_destructuring_pattern_expected: DiagnosticMessage; + Array_element_destructuring_pattern_expected: DiagnosticMessage; + A_destructuring_declaration_must_have_an_initializer: DiagnosticMessage; + An_implementation_cannot_be_declared_in_ambient_contexts: DiagnosticMessage; + Modifiers_cannot_appear_here: DiagnosticMessage; + Merge_conflict_marker_encountered: DiagnosticMessage; + A_rest_element_cannot_have_an_initializer: DiagnosticMessage; + A_parameter_property_may_not_be_declared_using_a_binding_pattern: DiagnosticMessage; + Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement: DiagnosticMessage; + The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer: DiagnosticMessage; + The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer: DiagnosticMessage; + An_import_declaration_cannot_have_modifiers: DiagnosticMessage; + Module_0_has_no_default_export: DiagnosticMessage; + An_export_declaration_cannot_have_modifiers: DiagnosticMessage; + Export_declarations_are_not_permitted_in_a_namespace: DiagnosticMessage; + Catch_clause_variable_cannot_have_a_type_annotation: DiagnosticMessage; + Catch_clause_variable_cannot_have_an_initializer: DiagnosticMessage; + An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive: DiagnosticMessage; + Unterminated_Unicode_escape_sequence: DiagnosticMessage; + Line_terminator_not_permitted_before_arrow: DiagnosticMessage; + Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead: DiagnosticMessage; + Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead: DiagnosticMessage; + Cannot_re_export_a_type_when_the_isolatedModules_flag_is_provided: DiagnosticMessage; + Decorators_are_not_valid_here: DiagnosticMessage; + Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name: DiagnosticMessage; + Cannot_compile_namespaces_when_the_isolatedModules_flag_is_provided: DiagnosticMessage; + Ambient_const_enums_are_not_allowed_when_the_isolatedModules_flag_is_provided: DiagnosticMessage; + Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode: DiagnosticMessage; + A_class_declaration_without_the_default_modifier_must_have_a_name: DiagnosticMessage; + Identifier_expected_0_is_a_reserved_word_in_strict_mode: DiagnosticMessage; + Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode: DiagnosticMessage; + Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode: DiagnosticMessage; + Invalid_use_of_0_Modules_are_automatically_in_strict_mode: DiagnosticMessage; + Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules: DiagnosticMessage; + Export_assignment_is_not_supported_when_module_flag_is_system: DiagnosticMessage; + Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_to_remove_this_warning: DiagnosticMessage; + Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher: DiagnosticMessage; + Generators_are_not_allowed_in_an_ambient_context: DiagnosticMessage; + An_overload_signature_cannot_be_declared_as_a_generator: DiagnosticMessage; + _0_tag_already_specified: DiagnosticMessage; + Signature_0_must_be_a_type_predicate: DiagnosticMessage; + Cannot_find_parameter_0: DiagnosticMessage; + Type_predicate_0_is_not_assignable_to_1: DiagnosticMessage; + Parameter_0_is_not_in_the_same_position_as_parameter_1: DiagnosticMessage; + A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods: DiagnosticMessage; + A_type_predicate_cannot_reference_a_rest_parameter: DiagnosticMessage; + A_type_predicate_cannot_reference_element_0_in_a_binding_pattern: DiagnosticMessage; + An_export_assignment_can_only_be_used_in_a_module: DiagnosticMessage; + An_import_declaration_can_only_be_used_in_a_namespace_or_module: DiagnosticMessage; + An_export_declaration_can_only_be_used_in_a_module: DiagnosticMessage; + An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file: DiagnosticMessage; + A_namespace_declaration_is_only_allowed_in_a_namespace_or_module: DiagnosticMessage; + The_return_type_of_a_property_decorator_function_must_be_either_void_or_any: DiagnosticMessage; + The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any: DiagnosticMessage; + Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression: DiagnosticMessage; + Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression: DiagnosticMessage; + Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression: DiagnosticMessage; + Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression: DiagnosticMessage; + abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration: DiagnosticMessage; + _0_modifier_cannot_be_used_with_1_modifier: DiagnosticMessage; + Abstract_methods_can_only_appear_within_an_abstract_class: DiagnosticMessage; + Method_0_cannot_have_an_implementation_because_it_is_marked_abstract: DiagnosticMessage; + An_interface_property_cannot_have_an_initializer: DiagnosticMessage; + A_type_literal_property_cannot_have_an_initializer: DiagnosticMessage; + A_class_member_cannot_have_the_0_keyword: DiagnosticMessage; + A_decorator_can_only_decorate_a_method_implementation_not_an_overload: DiagnosticMessage; + Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5: DiagnosticMessage; + Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode: DiagnosticMessage; + Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode: DiagnosticMessage; + _0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag: DiagnosticMessage; + A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal: DiagnosticMessage; + A_definite_assignment_assertion_is_not_permitted_in_this_context: DiagnosticMessage; + A_rest_element_must_be_last_in_a_tuple_type: DiagnosticMessage; + A_required_element_cannot_follow_an_optional_element: DiagnosticMessage; + with_statements_are_not_allowed_in_an_async_function_block: DiagnosticMessage; + await_expression_is_only_allowed_within_an_async_function: DiagnosticMessage; + can_only_be_used_in_an_object_literal_property_inside_a_destructuring_assignment: DiagnosticMessage; + The_body_of_an_if_statement_cannot_be_the_empty_statement: DiagnosticMessage; + Global_module_exports_may_only_appear_in_module_files: DiagnosticMessage; + Global_module_exports_may_only_appear_in_declaration_files: DiagnosticMessage; + Global_module_exports_may_only_appear_at_top_level: DiagnosticMessage; + A_parameter_property_cannot_be_declared_using_a_rest_parameter: DiagnosticMessage; + An_abstract_accessor_cannot_have_an_implementation: DiagnosticMessage; + A_default_export_can_only_be_used_in_an_ECMAScript_style_module: DiagnosticMessage; + Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member: DiagnosticMessage; + Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member: DiagnosticMessage; + Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member: DiagnosticMessage; + Dynamic_import_is_only_supported_when_module_flag_is_commonjs_or_esNext: DiagnosticMessage; + Dynamic_import_must_have_one_specifier_as_an_argument: DiagnosticMessage; + Specifier_of_dynamic_import_cannot_be_spread_element: DiagnosticMessage; + Dynamic_import_cannot_have_type_arguments: DiagnosticMessage; + String_literal_with_double_quotes_expected: DiagnosticMessage; + Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal: DiagnosticMessage; + _0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0: DiagnosticMessage; + A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly: DiagnosticMessage; + A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly: DiagnosticMessage; + A_variable_whose_type_is_a_unique_symbol_type_must_be_const: DiagnosticMessage; + unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name: DiagnosticMessage; + unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement: DiagnosticMessage; + unique_symbol_types_are_not_allowed_here: DiagnosticMessage; + An_index_signature_parameter_type_cannot_be_a_type_alias_Consider_writing_0_Colon_1_Colon_2_instead: DiagnosticMessage; + An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead: DiagnosticMessage; + infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type: DiagnosticMessage; + Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here: DiagnosticMessage; + Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here: DiagnosticMessage; + Type_arguments_cannot_be_used_here: DiagnosticMessage; + The_import_meta_meta_property_is_only_allowed_using_ESNext_for_the_target_and_module_compiler_options: DiagnosticMessage; + _0_declarations_cannot_be_labeled: DiagnosticMessage; + Duplicate_identifier_0: DiagnosticMessage; + Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor: DiagnosticMessage; + Static_members_cannot_reference_class_type_parameters: DiagnosticMessage; + Circular_definition_of_import_alias_0: DiagnosticMessage; + Cannot_find_name_0: DiagnosticMessage; + Module_0_has_no_exported_member_1: DiagnosticMessage; + File_0_is_not_a_module: DiagnosticMessage; + Cannot_find_module_0: DiagnosticMessage; + Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity: DiagnosticMessage; + An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements: DiagnosticMessage; + Type_0_recursively_references_itself_as_a_base_type: DiagnosticMessage; + A_class_may_only_extend_another_class: DiagnosticMessage; + An_interface_may_only_extend_a_class_or_another_interface: DiagnosticMessage; + Type_parameter_0_has_a_circular_constraint: DiagnosticMessage; + Generic_type_0_requires_1_type_argument_s: DiagnosticMessage; + Type_0_is_not_generic: DiagnosticMessage; + Global_type_0_must_be_a_class_or_interface_type: DiagnosticMessage; + Global_type_0_must_have_1_type_parameter_s: DiagnosticMessage; + Cannot_find_global_type_0: DiagnosticMessage; + Named_property_0_of_types_1_and_2_are_not_identical: DiagnosticMessage; + Interface_0_cannot_simultaneously_extend_types_1_and_2: DiagnosticMessage; + Excessive_stack_depth_comparing_types_0_and_1: DiagnosticMessage; + Type_0_is_not_assignable_to_type_1: DiagnosticMessage; + Cannot_redeclare_exported_variable_0: DiagnosticMessage; + Property_0_is_missing_in_type_1: DiagnosticMessage; + Property_0_is_private_in_type_1_but_not_in_type_2: DiagnosticMessage; + Types_of_property_0_are_incompatible: DiagnosticMessage; + Property_0_is_optional_in_type_1_but_required_in_type_2: DiagnosticMessage; + Types_of_parameters_0_and_1_are_incompatible: DiagnosticMessage; + Index_signature_is_missing_in_type_0: DiagnosticMessage; + Index_signatures_are_incompatible: DiagnosticMessage; + this_cannot_be_referenced_in_a_module_or_namespace_body: DiagnosticMessage; + this_cannot_be_referenced_in_current_location: DiagnosticMessage; + this_cannot_be_referenced_in_constructor_arguments: DiagnosticMessage; + this_cannot_be_referenced_in_a_static_property_initializer: DiagnosticMessage; + super_can_only_be_referenced_in_a_derived_class: DiagnosticMessage; + super_cannot_be_referenced_in_constructor_arguments: DiagnosticMessage; + Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors: DiagnosticMessage; + super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class: DiagnosticMessage; + Property_0_does_not_exist_on_type_1: DiagnosticMessage; + Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword: DiagnosticMessage; + Property_0_is_private_and_only_accessible_within_class_1: DiagnosticMessage; + An_index_expression_argument_must_be_of_type_string_number_symbol_or_any: DiagnosticMessage; + This_syntax_requires_an_imported_helper_named_1_but_module_0_has_no_exported_member_1: DiagnosticMessage; + Type_0_does_not_satisfy_the_constraint_1: DiagnosticMessage; + Argument_of_type_0_is_not_assignable_to_parameter_of_type_1: DiagnosticMessage; + Call_target_does_not_contain_any_signatures: DiagnosticMessage; + Untyped_function_calls_may_not_accept_type_arguments: DiagnosticMessage; + Value_of_type_0_is_not_callable_Did_you_mean_to_include_new: DiagnosticMessage; + Cannot_invoke_an_expression_whose_type_lacks_a_call_signature_Type_0_has_no_compatible_call_signatures: DiagnosticMessage; + Only_a_void_function_can_be_called_with_the_new_keyword: DiagnosticMessage; + Cannot_use_new_with_an_expression_whose_type_lacks_a_call_or_construct_signature: DiagnosticMessage; + Type_0_cannot_be_converted_to_type_1: DiagnosticMessage; + Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1: DiagnosticMessage; + This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found: DiagnosticMessage; + A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value: DiagnosticMessage; + An_arithmetic_operand_must_be_of_type_any_number_or_an_enum_type: DiagnosticMessage; + The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access: DiagnosticMessage; + The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter: DiagnosticMessage; + The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type: DiagnosticMessage; + The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol: DiagnosticMessage; + The_right_hand_side_of_an_in_expression_must_be_of_type_any_an_object_type_or_a_type_parameter: DiagnosticMessage; + The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type: DiagnosticMessage; + The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type: DiagnosticMessage; + The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access: DiagnosticMessage; + Operator_0_cannot_be_applied_to_types_1_and_2: DiagnosticMessage; + Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined: DiagnosticMessage; + This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap: DiagnosticMessage; + Type_parameter_name_cannot_be_0: DiagnosticMessage; + A_parameter_property_is_only_allowed_in_a_constructor_implementation: DiagnosticMessage; + A_rest_parameter_must_be_of_an_array_type: DiagnosticMessage; + A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation: DiagnosticMessage; + Parameter_0_cannot_be_referenced_in_its_initializer: DiagnosticMessage; + Initializer_of_parameter_0_cannot_reference_identifier_1_declared_after_it: DiagnosticMessage; + Duplicate_string_index_signature: DiagnosticMessage; + Duplicate_number_index_signature: DiagnosticMessage; + A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_properties_or_has_parameter_properties: DiagnosticMessage; + Constructors_for_derived_classes_must_contain_a_super_call: DiagnosticMessage; + A_get_accessor_must_return_a_value: DiagnosticMessage; + Getter_and_setter_accessors_do_not_agree_in_visibility: DiagnosticMessage; + get_and_set_accessor_must_have_the_same_type: DiagnosticMessage; + A_signature_with_an_implementation_cannot_use_a_string_literal_type: DiagnosticMessage; + Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature: DiagnosticMessage; + Overload_signatures_must_all_be_exported_or_non_exported: DiagnosticMessage; + Overload_signatures_must_all_be_ambient_or_non_ambient: DiagnosticMessage; + Overload_signatures_must_all_be_public_private_or_protected: DiagnosticMessage; + Overload_signatures_must_all_be_optional_or_required: DiagnosticMessage; + Function_overload_must_be_static: DiagnosticMessage; + Function_overload_must_not_be_static: DiagnosticMessage; + Function_implementation_name_must_be_0: DiagnosticMessage; + Constructor_implementation_is_missing: DiagnosticMessage; + Function_implementation_is_missing_or_not_immediately_following_the_declaration: DiagnosticMessage; + Multiple_constructor_implementations_are_not_allowed: DiagnosticMessage; + Duplicate_function_implementation: DiagnosticMessage; + Overload_signature_is_not_compatible_with_function_implementation: DiagnosticMessage; + Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local: DiagnosticMessage; + Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters: DiagnosticMessage; + Declaration_name_conflicts_with_built_in_global_identifier_0: DiagnosticMessage; + Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference: DiagnosticMessage; + Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference: DiagnosticMessage; + Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference: DiagnosticMessage; + Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference: DiagnosticMessage; + Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2: DiagnosticMessage; + The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation: DiagnosticMessage; + The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any: DiagnosticMessage; + The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access: DiagnosticMessage; + 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: DiagnosticMessage; + Setters_cannot_return_a_value: DiagnosticMessage; + Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class: DiagnosticMessage; + The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any: DiagnosticMessage; + Property_0_of_type_1_is_not_assignable_to_string_index_type_2: DiagnosticMessage; + Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2: DiagnosticMessage; + Numeric_index_type_0_is_not_assignable_to_string_index_type_1: DiagnosticMessage; + Class_name_cannot_be_0: DiagnosticMessage; + Class_0_incorrectly_extends_base_class_1: DiagnosticMessage; + Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2: DiagnosticMessage; + Class_static_side_0_incorrectly_extends_base_class_static_side_1: DiagnosticMessage; + Class_0_incorrectly_implements_interface_1: DiagnosticMessage; + A_class_may_only_implement_another_class_or_interface: DiagnosticMessage; + Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor: DiagnosticMessage; + Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_property: DiagnosticMessage; + Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function: DiagnosticMessage; + Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function: DiagnosticMessage; + Interface_name_cannot_be_0: DiagnosticMessage; + All_declarations_of_0_must_have_identical_type_parameters: DiagnosticMessage; + Interface_0_incorrectly_extends_interface_1: DiagnosticMessage; + Enum_name_cannot_be_0: DiagnosticMessage; + In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element: DiagnosticMessage; + A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged: DiagnosticMessage; + A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged: DiagnosticMessage; + Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces: DiagnosticMessage; + Ambient_module_declaration_cannot_specify_relative_module_name: DiagnosticMessage; + Module_0_is_hidden_by_a_local_declaration_with_the_same_name: DiagnosticMessage; + Import_name_cannot_be_0: DiagnosticMessage; + Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name: DiagnosticMessage; + Import_declaration_conflicts_with_local_declaration_of_0: DiagnosticMessage; + Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module: DiagnosticMessage; + Types_have_separate_declarations_of_a_private_property_0: DiagnosticMessage; + Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2: DiagnosticMessage; + Property_0_is_protected_in_type_1_but_public_in_type_2: DiagnosticMessage; + Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses: DiagnosticMessage; + Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1: DiagnosticMessage; + The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead: DiagnosticMessage; + Block_scoped_variable_0_used_before_its_declaration: DiagnosticMessage; + Class_0_used_before_its_declaration: DiagnosticMessage; + Enum_0_used_before_its_declaration: DiagnosticMessage; + Cannot_redeclare_block_scoped_variable_0: DiagnosticMessage; + An_enum_member_cannot_have_a_numeric_name: DiagnosticMessage; + The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_type_arguments_explicitly: DiagnosticMessage; + Variable_0_is_used_before_being_assigned: DiagnosticMessage; + Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0: DiagnosticMessage; + Type_alias_0_circularly_references_itself: DiagnosticMessage; + Type_alias_name_cannot_be_0: DiagnosticMessage; + An_AMD_module_cannot_have_multiple_name_assignments: DiagnosticMessage; + Type_0_has_no_property_1_and_no_string_index_signature: DiagnosticMessage; + Type_0_has_no_property_1: DiagnosticMessage; + Type_0_is_not_an_array_type: DiagnosticMessage; + A_rest_element_must_be_last_in_a_destructuring_pattern: DiagnosticMessage; + A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature: DiagnosticMessage; + A_computed_property_name_must_be_of_type_string_number_symbol_or_any: DiagnosticMessage; + this_cannot_be_referenced_in_a_computed_property_name: DiagnosticMessage; + super_cannot_be_referenced_in_a_computed_property_name: DiagnosticMessage; + A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type: DiagnosticMessage; + Cannot_find_global_value_0: DiagnosticMessage; + The_0_operator_cannot_be_applied_to_type_symbol: DiagnosticMessage; + Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object: DiagnosticMessage; + A_computed_property_name_of_the_form_0_must_be_of_type_symbol: DiagnosticMessage; + Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher: DiagnosticMessage; + Enum_declarations_must_all_be_const_or_non_const: DiagnosticMessage; + In_const_enum_declarations_member_initializer_must_be_constant_expression: DiagnosticMessage; + 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: DiagnosticMessage; + A_const_enum_member_can_only_be_accessed_using_a_string_literal: DiagnosticMessage; + const_enum_member_initializer_was_evaluated_to_a_non_finite_value: DiagnosticMessage; + const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN: DiagnosticMessage; + Property_0_does_not_exist_on_const_enum_1: DiagnosticMessage; + let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations: DiagnosticMessage; + Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1: DiagnosticMessage; + The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation: DiagnosticMessage; + Export_declaration_conflicts_with_exported_declaration_of_0: DiagnosticMessage; + The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access: DiagnosticMessage; + Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator: DiagnosticMessage; + An_iterator_must_have_a_next_method: DiagnosticMessage; + The_type_returned_by_the_next_method_of_an_iterator_must_have_a_value_property: DiagnosticMessage; + The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern: DiagnosticMessage; + Cannot_redeclare_identifier_0_in_catch_clause: DiagnosticMessage; + Tuple_type_0_with_length_1_cannot_be_assigned_to_tuple_with_length_2: DiagnosticMessage; + Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher: DiagnosticMessage; + Type_0_is_not_an_array_type_or_a_string_type: DiagnosticMessage; + The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression: DiagnosticMessage; + Module_0_resolves_to_a_non_module_entity_and_cannot_be_imported_using_this_construct: DiagnosticMessage; + Module_0_uses_export_and_cannot_be_used_with_export_Asterisk: DiagnosticMessage; + An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments: DiagnosticMessage; + A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments: DiagnosticMessage; + A_rest_element_cannot_contain_a_binding_pattern: DiagnosticMessage; + _0_is_referenced_directly_or_indirectly_in_its_own_type_annotation: DiagnosticMessage; + Cannot_find_namespace_0: DiagnosticMessage; + Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator: DiagnosticMessage; + A_generator_cannot_have_a_void_type_annotation: DiagnosticMessage; + _0_is_referenced_directly_or_indirectly_in_its_own_base_expression: DiagnosticMessage; + Type_0_is_not_a_constructor_function_type: DiagnosticMessage; + No_base_constructor_has_the_specified_number_of_type_arguments: DiagnosticMessage; + Base_constructor_return_type_0_is_not_a_class_or_interface_type: DiagnosticMessage; + Base_constructors_must_all_have_the_same_return_type: DiagnosticMessage; + Cannot_create_an_instance_of_an_abstract_class: DiagnosticMessage; + Overload_signatures_must_all_be_abstract_or_non_abstract: DiagnosticMessage; + Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression: DiagnosticMessage; + Classes_containing_abstract_methods_must_be_marked_abstract: DiagnosticMessage; + Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2: DiagnosticMessage; + All_declarations_of_an_abstract_method_must_be_consecutive: DiagnosticMessage; + Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type: DiagnosticMessage; + A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard: DiagnosticMessage; + An_async_iterator_must_have_a_next_method: DiagnosticMessage; + Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions: DiagnosticMessage; + Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions: DiagnosticMessage; + The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method: DiagnosticMessage; + yield_expressions_cannot_be_used_in_a_parameter_initializer: DiagnosticMessage; + await_expressions_cannot_be_used_in_a_parameter_initializer: DiagnosticMessage; + Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value: DiagnosticMessage; + A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface: DiagnosticMessage; + The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary: DiagnosticMessage; + A_module_cannot_have_multiple_default_exports: DiagnosticMessage; + Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions: DiagnosticMessage; + Property_0_is_incompatible_with_index_signature: DiagnosticMessage; + Object_is_possibly_null: DiagnosticMessage; + Object_is_possibly_undefined: DiagnosticMessage; + Object_is_possibly_null_or_undefined: DiagnosticMessage; + A_function_returning_never_cannot_have_a_reachable_end_point: DiagnosticMessage; + Enum_type_0_has_members_with_initializers_that_are_not_literals: DiagnosticMessage; + Type_0_cannot_be_used_to_index_type_1: DiagnosticMessage; + Type_0_has_no_matching_index_signature_for_type_1: DiagnosticMessage; + Type_0_cannot_be_used_as_an_index_type: DiagnosticMessage; + Cannot_assign_to_0_because_it_is_not_a_variable: DiagnosticMessage; + Cannot_assign_to_0_because_it_is_a_constant_or_a_read_only_property: DiagnosticMessage; + The_target_of_an_assignment_must_be_a_variable_or_a_property_access: DiagnosticMessage; + Index_signature_in_type_0_only_permits_reading: DiagnosticMessage; + Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference: DiagnosticMessage; + Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference: DiagnosticMessage; + A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any: DiagnosticMessage; + Property_0_has_conflicting_declarations_and_is_inaccessible_in_type_1: DiagnosticMessage; + The_type_returned_by_the_next_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property: DiagnosticMessage; + Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator: DiagnosticMessage; + Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator: DiagnosticMessage; + Generic_type_instantiation_is_excessively_deep_and_possibly_infinite: DiagnosticMessage; + Property_0_does_not_exist_on_type_1_Did_you_mean_2: DiagnosticMessage; + Cannot_find_name_0_Did_you_mean_1: DiagnosticMessage; + Computed_values_are_not_permitted_in_an_enum_with_string_valued_members: DiagnosticMessage; + Expected_0_arguments_but_got_1: DiagnosticMessage; + Expected_at_least_0_arguments_but_got_1: DiagnosticMessage; + Expected_0_arguments_but_got_1_or_more: DiagnosticMessage; + Expected_at_least_0_arguments_but_got_1_or_more: DiagnosticMessage; + Expected_0_type_arguments_but_got_1: DiagnosticMessage; + Type_0_has_no_properties_in_common_with_type_1: DiagnosticMessage; + Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it: DiagnosticMessage; + Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2: DiagnosticMessage; + Base_class_expressions_cannot_reference_class_type_parameters: DiagnosticMessage; + The_containing_function_or_module_body_is_too_large_for_control_flow_analysis: DiagnosticMessage; + Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor: DiagnosticMessage; + Property_0_is_used_before_being_assigned: DiagnosticMessage; + A_rest_element_cannot_have_a_property_name: DiagnosticMessage; + Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations: DiagnosticMessage; + Type_0_is_not_an_array_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators: DiagnosticMessage; + Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators: DiagnosticMessage; + Property_0_does_not_exist_on_type_1_Did_you_forget_to_use_await: DiagnosticMessage; + Object_is_of_type_unknown: DiagnosticMessage; + Rest_signatures_are_incompatible: DiagnosticMessage; + Property_0_is_incompatible_with_rest_element_type: DiagnosticMessage; + A_rest_element_type_must_be_an_array_type: DiagnosticMessage; + JSX_element_attributes_type_0_may_not_be_a_union_type: DiagnosticMessage; + The_return_type_of_a_JSX_element_constructor_must_return_an_object_type: DiagnosticMessage; + JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist: DiagnosticMessage; + Property_0_in_type_1_is_not_assignable_to_type_2: DiagnosticMessage; + JSX_element_type_0_does_not_have_any_construct_or_call_signatures: DiagnosticMessage; + JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements: DiagnosticMessage; + Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property: DiagnosticMessage; + JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property: DiagnosticMessage; + The_global_type_JSX_0_may_not_have_more_than_one_property: DiagnosticMessage; + JSX_spread_child_must_be_an_array_type: DiagnosticMessage; + Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity: DiagnosticMessage; + A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums: DiagnosticMessage; + Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead: DiagnosticMessage; + Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1: DiagnosticMessage; + Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_package_author_to_update_the_package_definition: DiagnosticMessage; + Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_the_package_definition: DiagnosticMessage; + JSX_expressions_must_have_one_parent_element: DiagnosticMessage; + Type_0_provides_no_match_for_the_signature_1: DiagnosticMessage; + super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher: DiagnosticMessage; + super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions: DiagnosticMessage; + Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module: DiagnosticMessage; + Cannot_find_name_0_Did_you_mean_the_static_member_1_0: DiagnosticMessage; + Cannot_find_name_0_Did_you_mean_the_instance_member_this_0: DiagnosticMessage; + Invalid_module_name_in_augmentation_module_0_cannot_be_found: DiagnosticMessage; + Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented: DiagnosticMessage; + Exports_and_export_assignments_are_not_permitted_in_module_augmentations: DiagnosticMessage; + Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module: DiagnosticMessage; + export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible: DiagnosticMessage; + Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations: DiagnosticMessage; + Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context: DiagnosticMessage; + Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity: DiagnosticMessage; + Cannot_assign_a_0_constructor_type_to_a_1_constructor_type: DiagnosticMessage; + Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration: DiagnosticMessage; + Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration: DiagnosticMessage; + Cannot_extend_a_class_0_Class_constructor_is_marked_as_private: DiagnosticMessage; + Accessors_must_both_be_abstract_or_non_abstract: DiagnosticMessage; + A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type: DiagnosticMessage; + Type_0_is_not_comparable_to_type_1: DiagnosticMessage; + A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void: DiagnosticMessage; + A_0_parameter_must_be_the_first_parameter: DiagnosticMessage; + A_constructor_cannot_have_a_this_parameter: DiagnosticMessage; + get_and_set_accessor_must_have_the_same_this_type: DiagnosticMessage; + this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation: DiagnosticMessage; + The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1: DiagnosticMessage; + The_this_types_of_each_signature_are_incompatible: DiagnosticMessage; + _0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead: DiagnosticMessage; + All_declarations_of_0_must_have_identical_modifiers: DiagnosticMessage; + Cannot_find_type_definition_file_for_0: DiagnosticMessage; + Cannot_extend_an_interface_0_Did_you_mean_implements: DiagnosticMessage; + An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead: DiagnosticMessage; + _0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible: DiagnosticMessage; + _0_only_refers_to_a_type_but_is_being_used_as_a_value_here: DiagnosticMessage; + Namespace_0_has_no_exported_member_1: DiagnosticMessage; + Left_side_of_comma_operator_is_unused_and_has_no_side_effects: DiagnosticMessage; + The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead: DiagnosticMessage; + An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option: DiagnosticMessage; + Spread_types_may_only_be_created_from_object_types: DiagnosticMessage; + Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1: DiagnosticMessage; + Rest_types_may_only_be_created_from_object_types: DiagnosticMessage; + The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access: DiagnosticMessage; + _0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here: DiagnosticMessage; + The_operand_of_a_delete_operator_must_be_a_property_reference: DiagnosticMessage; + The_operand_of_a_delete_operator_cannot_be_a_read_only_property: DiagnosticMessage; + An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option: DiagnosticMessage; + Required_type_parameters_may_not_follow_optional_type_parameters: DiagnosticMessage; + Generic_type_0_requires_between_1_and_2_type_arguments: DiagnosticMessage; + Cannot_use_namespace_0_as_a_value: DiagnosticMessage; + Cannot_use_namespace_0_as_a_type: DiagnosticMessage; + _0_are_specified_twice_The_attribute_named_0_will_be_overwritten: DiagnosticMessage; + A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option: DiagnosticMessage; + A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option: DiagnosticMessage; + 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: DiagnosticMessage; + The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context: DiagnosticMessage; + Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor: DiagnosticMessage; + Type_parameter_0_has_a_circular_default: DiagnosticMessage; + Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2: DiagnosticMessage; + Duplicate_declaration_0: DiagnosticMessage; + Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated: DiagnosticMessage; + Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass: DiagnosticMessage; + Cannot_invoke_an_object_which_is_possibly_null: DiagnosticMessage; + Cannot_invoke_an_object_which_is_possibly_undefined: DiagnosticMessage; + Cannot_invoke_an_object_which_is_possibly_null_or_undefined: DiagnosticMessage; + Module_0_has_no_exported_member_1_Did_you_mean_2: DiagnosticMessage; + Class_name_cannot_be_Object_when_targeting_ES5_with_module_0: DiagnosticMessage; + Cannot_find_lib_definition_for_0: DiagnosticMessage; + Cannot_find_lib_definition_for_0_Did_you_mean_1: DiagnosticMessage; + Import_declaration_0_is_using_private_name_1: DiagnosticMessage; + Type_parameter_0_of_exported_class_has_or_is_using_private_name_1: DiagnosticMessage; + Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1: DiagnosticMessage; + Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1: DiagnosticMessage; + Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1: DiagnosticMessage; + Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1: DiagnosticMessage; + Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1: DiagnosticMessage; + Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1: DiagnosticMessage; + Type_parameter_0_of_exported_function_has_or_is_using_private_name_1: DiagnosticMessage; + Implements_clause_of_exported_class_0_has_or_is_using_private_name_1: DiagnosticMessage; + extends_clause_of_exported_class_0_has_or_is_using_private_name_1: DiagnosticMessage; + extends_clause_of_exported_interface_0_has_or_is_using_private_name_1: DiagnosticMessage; + Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: DiagnosticMessage; + Exported_variable_0_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; + Exported_variable_0_has_or_is_using_private_name_1: DiagnosticMessage; + Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: DiagnosticMessage; + Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; + Public_static_property_0_of_exported_class_has_or_is_using_private_name_1: DiagnosticMessage; + Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: DiagnosticMessage; + Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; + Public_property_0_of_exported_class_has_or_is_using_private_name_1: DiagnosticMessage; + Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; + Property_0_of_exported_interface_has_or_is_using_private_name_1: DiagnosticMessage; + Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; + Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1: DiagnosticMessage; + Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; + Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1: DiagnosticMessage; + Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: DiagnosticMessage; + Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; + Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1: DiagnosticMessage; + Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: DiagnosticMessage; + Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; + Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1: DiagnosticMessage; + Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1: DiagnosticMessage; + Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0: DiagnosticMessage; + Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1: DiagnosticMessage; + Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0: DiagnosticMessage; + Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1: DiagnosticMessage; + Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0: DiagnosticMessage; + Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named: DiagnosticMessage; + Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1: DiagnosticMessage; + Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0: DiagnosticMessage; + Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named: DiagnosticMessage; + Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1: DiagnosticMessage; + Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0: DiagnosticMessage; + Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1: DiagnosticMessage; + Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0: DiagnosticMessage; + Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named: DiagnosticMessage; + Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1: DiagnosticMessage; + Return_type_of_exported_function_has_or_is_using_private_name_0: DiagnosticMessage; + Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: DiagnosticMessage; + Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; + Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1: DiagnosticMessage; + Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; + Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1: DiagnosticMessage; + Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; + Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1: DiagnosticMessage; + Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: DiagnosticMessage; + Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; + Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1: DiagnosticMessage; + Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: DiagnosticMessage; + Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; + Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1: DiagnosticMessage; + Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; + Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1: DiagnosticMessage; + Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: DiagnosticMessage; + Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; + Parameter_0_of_exported_function_has_or_is_using_private_name_1: DiagnosticMessage; + Exported_type_alias_0_has_or_is_using_private_name_1: DiagnosticMessage; + Default_export_of_the_module_has_or_is_using_private_name_0: DiagnosticMessage; + Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1: DiagnosticMessage; + Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict: DiagnosticMessage; + Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; + Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1: DiagnosticMessage; + Property_0_of_exported_class_expression_may_not_be_private_or_protected: DiagnosticMessage; + Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: DiagnosticMessage; + Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; + Public_static_method_0_of_exported_class_has_or_is_using_private_name_1: DiagnosticMessage; + Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: DiagnosticMessage; + Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; + Public_method_0_of_exported_class_has_or_is_using_private_name_1: DiagnosticMessage; + Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; + Method_0_of_exported_interface_has_or_is_using_private_name_1: DiagnosticMessage; + The_current_host_does_not_support_the_0_option: DiagnosticMessage; + Cannot_find_the_common_subdirectory_path_for_the_input_files: DiagnosticMessage; + File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0: DiagnosticMessage; + Cannot_read_file_0_Colon_1: DiagnosticMessage; + Failed_to_parse_file_0_Colon_1: DiagnosticMessage; + Unknown_compiler_option_0: DiagnosticMessage; + Compiler_option_0_requires_a_value_of_type_1: DiagnosticMessage; + Could_not_write_file_0_Colon_1: DiagnosticMessage; + Option_project_cannot_be_mixed_with_source_files_on_a_command_line: DiagnosticMessage; + Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher: DiagnosticMessage; + Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided: DiagnosticMessage; + Option_0_cannot_be_specified_without_specifying_option_1: DiagnosticMessage; + Option_0_cannot_be_specified_with_option_1: DiagnosticMessage; + A_tsconfig_json_file_is_already_defined_at_Colon_0: DiagnosticMessage; + Cannot_write_file_0_because_it_would_overwrite_input_file: DiagnosticMessage; + Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files: DiagnosticMessage; + Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0: DiagnosticMessage; + The_specified_path_does_not_exist_Colon_0: DiagnosticMessage; + Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier: DiagnosticMessage; + Option_paths_cannot_be_used_without_specifying_baseUrl_option: DiagnosticMessage; + Pattern_0_can_have_at_most_one_Asterisk_character: DiagnosticMessage; + Substitution_0_in_pattern_1_in_can_have_at_most_one_Asterisk_character: DiagnosticMessage; + Substitutions_for_pattern_0_should_be_an_array: DiagnosticMessage; + Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2: DiagnosticMessage; + File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0: DiagnosticMessage; + Substitutions_for_pattern_0_shouldn_t_be_an_empty_array: DiagnosticMessage; + Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name: DiagnosticMessage; + Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig: DiagnosticMessage; + Option_0_cannot_be_specified_without_specifying_option_1_or_option_2: DiagnosticMessage; + Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy: DiagnosticMessage; + Generates_a_sourcemap_for_each_corresponding_d_ts_file: DiagnosticMessage; + Concatenate_and_emit_output_to_single_file: DiagnosticMessage; + Generates_corresponding_d_ts_file: DiagnosticMessage; + Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations: DiagnosticMessage; + Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations: DiagnosticMessage; + Watch_input_files: DiagnosticMessage; + Redirect_output_structure_to_the_directory: DiagnosticMessage; + Do_not_erase_const_enum_declarations_in_generated_code: DiagnosticMessage; + Do_not_emit_outputs_if_any_errors_were_reported: DiagnosticMessage; + Do_not_emit_comments_to_output: DiagnosticMessage; + Do_not_emit_outputs: DiagnosticMessage; + Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking: DiagnosticMessage; + Skip_type_checking_of_declaration_files: DiagnosticMessage; + Do_not_resolve_the_real_path_of_symlinks: DiagnosticMessage; + Only_emit_d_ts_declaration_files: DiagnosticMessage; + Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_ES2018_or_ESNEXT: DiagnosticMessage; + Specify_module_code_generation_Colon_none_commonjs_amd_system_umd_es2015_or_ESNext: DiagnosticMessage; + Print_this_message: DiagnosticMessage; + Print_the_compiler_s_version: DiagnosticMessage; + Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json: DiagnosticMessage; + Syntax_Colon_0: DiagnosticMessage; + options: DiagnosticMessage; + file: DiagnosticMessage; + Examples_Colon_0: DiagnosticMessage; + Options_Colon: DiagnosticMessage; + Version_0: DiagnosticMessage; + Insert_command_line_options_and_files_from_a_file: DiagnosticMessage; + Starting_compilation_in_watch_mode: DiagnosticMessage; + File_change_detected_Starting_incremental_compilation: DiagnosticMessage; + KIND: DiagnosticMessage; + FILE: DiagnosticMessage; + VERSION: DiagnosticMessage; + LOCATION: DiagnosticMessage; + DIRECTORY: DiagnosticMessage; + STRATEGY: DiagnosticMessage; + FILE_OR_DIRECTORY: DiagnosticMessage; + Generates_corresponding_map_file: DiagnosticMessage; + Compiler_option_0_expects_an_argument: DiagnosticMessage; + Unterminated_quoted_string_in_response_file_0: DiagnosticMessage; + Argument_for_0_option_must_be_Colon_1: DiagnosticMessage; + Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1: DiagnosticMessage; + Unsupported_locale_0: DiagnosticMessage; + Unable_to_open_file_0: DiagnosticMessage; + Corrupted_locale_file_0: DiagnosticMessage; + Raise_error_on_expressions_and_declarations_with_an_implied_any_type: DiagnosticMessage; + File_0_not_found: DiagnosticMessage; + File_0_has_unsupported_extension_The_only_supported_extensions_are_1: DiagnosticMessage; + Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures: DiagnosticMessage; + Do_not_emit_declarations_for_code_that_has_an_internal_annotation: DiagnosticMessage; + Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir: DiagnosticMessage; + File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files: DiagnosticMessage; + Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix: DiagnosticMessage; + NEWLINE: DiagnosticMessage; + Option_0_can_only_be_specified_in_tsconfig_json_file: DiagnosticMessage; + Enables_experimental_support_for_ES7_decorators: DiagnosticMessage; + Enables_experimental_support_for_emitting_type_metadata_for_decorators: DiagnosticMessage; + Enables_experimental_support_for_ES7_async_functions: DiagnosticMessage; + Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6: DiagnosticMessage; + Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file: DiagnosticMessage; + Successfully_created_a_tsconfig_json_file: DiagnosticMessage; + Suppress_excess_property_checks_for_object_literals: DiagnosticMessage; + Stylize_errors_and_messages_using_color_and_context_experimental: DiagnosticMessage; + Do_not_report_errors_on_unused_labels: DiagnosticMessage; + Report_error_when_not_all_code_paths_in_function_return_a_value: DiagnosticMessage; + Report_errors_for_fallthrough_cases_in_switch_statement: DiagnosticMessage; + Do_not_report_errors_on_unreachable_code: DiagnosticMessage; + Disallow_inconsistently_cased_references_to_the_same_file: DiagnosticMessage; + Specify_library_files_to_be_included_in_the_compilation: DiagnosticMessage; + Specify_JSX_code_generation_Colon_preserve_react_native_or_react: DiagnosticMessage; + File_0_has_an_unsupported_extension_so_skipping_it: DiagnosticMessage; + Only_amd_and_system_modules_are_supported_alongside_0: DiagnosticMessage; + Base_directory_to_resolve_non_absolute_module_names: DiagnosticMessage; + Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit: DiagnosticMessage; + Enable_tracing_of_the_name_resolution_process: DiagnosticMessage; + Resolving_module_0_from_1: DiagnosticMessage; + Explicitly_specified_module_resolution_kind_Colon_0: DiagnosticMessage; + Module_resolution_kind_is_not_specified_using_0: DiagnosticMessage; + Module_name_0_was_successfully_resolved_to_1: DiagnosticMessage; + Module_name_0_was_not_resolved: DiagnosticMessage; + paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0: DiagnosticMessage; + Module_name_0_matched_pattern_1: DiagnosticMessage; + Trying_substitution_0_candidate_module_location_Colon_1: DiagnosticMessage; + Resolving_module_name_0_relative_to_base_url_1_2: DiagnosticMessage; + Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1: DiagnosticMessage; + File_0_does_not_exist: DiagnosticMessage; + File_0_exist_use_it_as_a_name_resolution_result: DiagnosticMessage; + Loading_module_0_from_node_modules_folder_target_file_type_1: DiagnosticMessage; + Found_package_json_at_0: DiagnosticMessage; + package_json_does_not_have_a_0_field: DiagnosticMessage; + package_json_has_0_field_1_that_references_2: DiagnosticMessage; + Allow_javascript_files_to_be_compiled: DiagnosticMessage; + Option_0_should_have_array_of_strings_as_a_value: DiagnosticMessage; + Checking_if_0_is_the_longest_matching_prefix_for_1_2: DiagnosticMessage; + Expected_type_of_0_field_in_package_json_to_be_string_got_1: DiagnosticMessage; + baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1: DiagnosticMessage; + rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0: DiagnosticMessage; + Longest_matching_prefix_for_0_is_1: DiagnosticMessage; + Loading_0_from_the_root_dir_1_candidate_location_2: DiagnosticMessage; + Trying_other_entries_in_rootDirs: DiagnosticMessage; + Module_resolution_using_rootDirs_has_failed: DiagnosticMessage; + Do_not_emit_use_strict_directives_in_module_output: DiagnosticMessage; + Enable_strict_null_checks: DiagnosticMessage; + Unknown_option_excludes_Did_you_mean_exclude: DiagnosticMessage; + Raise_error_on_this_expressions_with_an_implied_any_type: DiagnosticMessage; + Resolving_type_reference_directive_0_containing_file_1_root_directory_2: DiagnosticMessage; + Resolving_using_primary_search_paths: DiagnosticMessage; + Resolving_from_node_modules_folder: DiagnosticMessage; + Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2: DiagnosticMessage; + Type_reference_directive_0_was_not_resolved: DiagnosticMessage; + Resolving_with_primary_search_path_0: DiagnosticMessage; + Root_directory_cannot_be_determined_skipping_primary_search_paths: DiagnosticMessage; + Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set: DiagnosticMessage; + Type_declaration_files_to_be_included_in_compilation: DiagnosticMessage; + Looking_up_in_node_modules_folder_initial_location_0: DiagnosticMessage; + Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder: DiagnosticMessage; + Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1: DiagnosticMessage; + Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set: DiagnosticMessage; + Resolving_real_path_for_0_result_1: DiagnosticMessage; + Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system: DiagnosticMessage; + File_name_0_has_a_1_extension_stripping_it: DiagnosticMessage; + _0_is_declared_but_its_value_is_never_read: DiagnosticMessage; + Report_errors_on_unused_locals: DiagnosticMessage; + Report_errors_on_unused_parameters: DiagnosticMessage; + The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files: DiagnosticMessage; + Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1: DiagnosticMessage; + Property_0_is_declared_but_its_value_is_never_read: DiagnosticMessage; + Import_emit_helpers_from_tslib: DiagnosticMessage; + Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2: DiagnosticMessage; + Parse_in_strict_mode_and_emit_use_strict_for_each_source_file: DiagnosticMessage; + Module_0_was_resolved_to_1_but_jsx_is_not_set: DiagnosticMessage; + Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1: DiagnosticMessage; + Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified: DiagnosticMessage; + Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h: DiagnosticMessage; + Resolution_for_module_0_was_found_in_cache_from_location_1: DiagnosticMessage; + Directory_0_does_not_exist_skipping_all_lookups_in_it: DiagnosticMessage; + Show_diagnostic_information: DiagnosticMessage; + Show_verbose_diagnostic_information: DiagnosticMessage; + Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file: DiagnosticMessage; + Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set: DiagnosticMessage; + Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule: DiagnosticMessage; + Print_names_of_generated_files_part_of_the_compilation: DiagnosticMessage; + Print_names_of_files_part_of_the_compilation: DiagnosticMessage; + The_locale_used_when_displaying_messages_to_the_user_e_g_en_us: DiagnosticMessage; + Do_not_generate_custom_helper_functions_like_extends_in_compiled_output: DiagnosticMessage; + Do_not_include_the_default_library_file_lib_d_ts: DiagnosticMessage; + Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files: DiagnosticMessage; + Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files: DiagnosticMessage; + List_of_folders_to_include_type_definitions_from: DiagnosticMessage; + Disable_size_limitations_on_JavaScript_projects: DiagnosticMessage; + The_character_set_of_the_input_files: DiagnosticMessage; + Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files: DiagnosticMessage; + Do_not_truncate_error_messages: DiagnosticMessage; + Output_directory_for_generated_declaration_files: DiagnosticMessage; + A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl: DiagnosticMessage; + List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime: DiagnosticMessage; + Show_all_compiler_options: DiagnosticMessage; + Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file: DiagnosticMessage; + Command_line_Options: DiagnosticMessage; + Basic_Options: DiagnosticMessage; + Strict_Type_Checking_Options: DiagnosticMessage; + Module_Resolution_Options: DiagnosticMessage; + Source_Map_Options: DiagnosticMessage; + Additional_Checks: DiagnosticMessage; + Experimental_Options: DiagnosticMessage; + Advanced_Options: DiagnosticMessage; + Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3: DiagnosticMessage; + Enable_all_strict_type_checking_options: DiagnosticMessage; + List_of_language_service_plugins: DiagnosticMessage; + Scoped_package_detected_looking_in_0: DiagnosticMessage; + Reusing_resolution_of_module_0_to_file_1_from_old_program: DiagnosticMessage; + Reusing_module_resolutions_originating_in_0_since_resolutions_are_unchanged_from_old_program: DiagnosticMessage; + Disable_strict_checking_of_generic_signatures_in_function_types: DiagnosticMessage; + Enable_strict_checking_of_function_types: DiagnosticMessage; + Enable_strict_checking_of_property_initialization_in_classes: DiagnosticMessage; + Numeric_separators_are_not_allowed_here: DiagnosticMessage; + Multiple_consecutive_numeric_separators_are_not_permitted: DiagnosticMessage; + Found_package_json_at_0_Package_ID_is_1: DiagnosticMessage; + Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen: DiagnosticMessage; + All_imports_in_import_declaration_are_unused: DiagnosticMessage; + Found_1_error_Watching_for_file_changes: DiagnosticMessage; + Found_0_errors_Watching_for_file_changes: DiagnosticMessage; + Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols: DiagnosticMessage; + _0_is_declared_but_never_used: DiagnosticMessage; + Include_modules_imported_with_json_extension: DiagnosticMessage; + All_destructured_elements_are_unused: DiagnosticMessage; + All_variables_are_unused: DiagnosticMessage; + Projects_to_reference: DiagnosticMessage; + Enable_project_compilation: DiagnosticMessage; + Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0: DiagnosticMessage; + Composite_projects_may_not_disable_declaration_emit: DiagnosticMessage; + Output_file_0_has_not_been_built_from_source_file_1: DiagnosticMessage; + Referenced_project_0_must_have_setting_composite_Colon_true: DiagnosticMessage; + File_0_is_not_in_project_file_list_Projects_must_list_all_files_or_use_an_include_pattern: DiagnosticMessage; + Cannot_prepend_project_0_because_it_does_not_have_outFile_set: DiagnosticMessage; + Output_file_0_from_project_1_does_not_exist: DiagnosticMessage; + Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2: DiagnosticMessage; + Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2: DiagnosticMessage; + Project_0_is_out_of_date_because_output_file_1_does_not_exist: DiagnosticMessage; + Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date: DiagnosticMessage; + Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies: DiagnosticMessage; + Projects_in_this_build_Colon_0: DiagnosticMessage; + A_non_dry_build_would_delete_the_following_files_Colon_0: DiagnosticMessage; + A_non_dry_build_would_build_project_0: DiagnosticMessage; + Building_project_0: DiagnosticMessage; + Updating_output_timestamps_of_project_0: DiagnosticMessage; + delete_this_Project_0_is_up_to_date_because_it_was_previously_built: DiagnosticMessage; + Project_0_is_up_to_date: DiagnosticMessage; + Skipping_build_of_project_0_because_its_dependency_1_has_errors: DiagnosticMessage; + Project_0_can_t_be_built_because_its_dependency_1_has_errors: DiagnosticMessage; + Build_one_or_more_projects_and_their_dependencies_if_out_of_date: DiagnosticMessage; + Delete_the_outputs_of_all_projects: DiagnosticMessage; + Enable_verbose_logging: DiagnosticMessage; + Show_what_would_be_built_or_deleted_if_specified_with_clean: DiagnosticMessage; + Build_all_projects_including_those_that_appear_to_be_up_to_date: DiagnosticMessage; + Option_build_must_be_the_first_command_line_argument: DiagnosticMessage; + Options_0_and_1_cannot_be_combined: DiagnosticMessage; + Skipping_clean_because_not_all_projects_could_be_located: DiagnosticMessage; + Variable_0_implicitly_has_an_1_type: DiagnosticMessage; + Parameter_0_implicitly_has_an_1_type: DiagnosticMessage; + Member_0_implicitly_has_an_1_type: DiagnosticMessage; + new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type: DiagnosticMessage; + _0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type: DiagnosticMessage; + Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type: DiagnosticMessage; + Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type: DiagnosticMessage; + Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number: DiagnosticMessage; + Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type: DiagnosticMessage; + Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature: DiagnosticMessage; + Object_literal_s_property_0_implicitly_has_an_1_type: DiagnosticMessage; + Rest_parameter_0_implicitly_has_an_any_type: DiagnosticMessage; + Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type: DiagnosticMessage; + _0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer: DiagnosticMessage; + _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: DiagnosticMessage; + 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: DiagnosticMessage; + Generator_implicitly_has_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type: DiagnosticMessage; + JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists: DiagnosticMessage; + Unreachable_code_detected: DiagnosticMessage; + Unused_label: DiagnosticMessage; + Fallthrough_case_in_switch: DiagnosticMessage; + Not_all_code_paths_return_a_value: DiagnosticMessage; + Binding_element_0_implicitly_has_an_1_type: DiagnosticMessage; + Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation: DiagnosticMessage; + Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation: DiagnosticMessage; + Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined: DiagnosticMessage; + Try_npm_install_types_Slash_0_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0: DiagnosticMessage; + Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0: DiagnosticMessage; + Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports: DiagnosticMessage; + Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead: DiagnosticMessage; + Mapped_object_type_implicitly_has_an_any_template_type: DiagnosticMessage; + If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_0: DiagnosticMessage; + You_cannot_rename_this_element: DiagnosticMessage; + You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library: DiagnosticMessage; + import_can_only_be_used_in_a_ts_file: DiagnosticMessage; + export_can_only_be_used_in_a_ts_file: DiagnosticMessage; + type_parameter_declarations_can_only_be_used_in_a_ts_file: DiagnosticMessage; + implements_clauses_can_only_be_used_in_a_ts_file: DiagnosticMessage; + interface_declarations_can_only_be_used_in_a_ts_file: DiagnosticMessage; + module_declarations_can_only_be_used_in_a_ts_file: DiagnosticMessage; + type_aliases_can_only_be_used_in_a_ts_file: DiagnosticMessage; + _0_can_only_be_used_in_a_ts_file: DiagnosticMessage; + types_can_only_be_used_in_a_ts_file: DiagnosticMessage; + type_arguments_can_only_be_used_in_a_ts_file: DiagnosticMessage; + parameter_modifiers_can_only_be_used_in_a_ts_file: DiagnosticMessage; + non_null_assertions_can_only_be_used_in_a_ts_file: DiagnosticMessage; + enum_declarations_can_only_be_used_in_a_ts_file: DiagnosticMessage; + type_assertion_expressions_can_only_be_used_in_a_ts_file: DiagnosticMessage; + Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0: DiagnosticMessage; + Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0: DiagnosticMessage; + Report_errors_in_js_files: DiagnosticMessage; + JSDoc_types_can_only_be_used_inside_documentation_comments: DiagnosticMessage; + JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags: DiagnosticMessage; + JSDoc_0_is_not_attached_to_a_class: DiagnosticMessage; + JSDoc_0_1_does_not_match_the_extends_2_clause: DiagnosticMessage; + JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name: DiagnosticMessage; + Class_declarations_cannot_have_more_than_one_augments_or_extends_tag: DiagnosticMessage; + Expected_0_type_arguments_provide_these_with_an_extends_tag: DiagnosticMessage; + Expected_0_1_type_arguments_provide_these_with_an_extends_tag: DiagnosticMessage; + JSDoc_may_only_appear_in_the_last_parameter_of_a_signature: DiagnosticMessage; + JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type: DiagnosticMessage; + Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_class_extends_clause: DiagnosticMessage; + class_expressions_are_not_currently_supported: DiagnosticMessage; + Language_service_is_disabled: DiagnosticMessage; + JSX_attributes_must_only_be_assigned_a_non_empty_expression: DiagnosticMessage; + JSX_elements_cannot_have_multiple_attributes_with_the_same_name: DiagnosticMessage; + Expected_corresponding_JSX_closing_tag_for_0: DiagnosticMessage; + JSX_attribute_expected: DiagnosticMessage; + Cannot_use_JSX_unless_the_jsx_flag_is_provided: DiagnosticMessage; + A_constructor_cannot_contain_a_super_call_when_its_class_extends_null: DiagnosticMessage; + 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: DiagnosticMessage; + A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses: DiagnosticMessage; + JSX_element_0_has_no_corresponding_closing_tag: DiagnosticMessage; + super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class: DiagnosticMessage; + Unknown_type_acquisition_option_0: DiagnosticMessage; + super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class: DiagnosticMessage; + _0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2: DiagnosticMessage; + Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor: DiagnosticMessage; + JSX_fragment_has_no_corresponding_closing_tag: DiagnosticMessage; + Expected_corresponding_closing_tag_for_JSX_fragment: DiagnosticMessage; + JSX_fragment_is_not_supported_when_using_jsxFactory: DiagnosticMessage; + JSX_fragment_is_not_supported_when_using_an_inline_JSX_factory_pragma: DiagnosticMessage; + Circularity_detected_while_resolving_configuration_Colon_0: DiagnosticMessage; + A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not: DiagnosticMessage; + The_files_list_in_config_file_0_is_empty: DiagnosticMessage; + No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2: DiagnosticMessage; + File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module: DiagnosticMessage; + This_constructor_function_may_be_converted_to_a_class_declaration: DiagnosticMessage; + Import_may_be_converted_to_a_default_import: DiagnosticMessage; + JSDoc_types_may_be_moved_to_TypeScript_types: DiagnosticMessage; + require_call_may_be_converted_to_an_import: DiagnosticMessage; + Add_missing_super_call: DiagnosticMessage; + Make_super_call_the_first_statement_in_the_constructor: DiagnosticMessage; + Change_extends_to_implements: DiagnosticMessage; + Remove_declaration_for_Colon_0: DiagnosticMessage; + Remove_import_from_0: DiagnosticMessage; + Implement_interface_0: DiagnosticMessage; + Implement_inherited_abstract_class: DiagnosticMessage; + Add_0_to_unresolved_variable: DiagnosticMessage; + Remove_destructuring: DiagnosticMessage; + Remove_variable_statement: DiagnosticMessage; + Import_0_from_module_1: DiagnosticMessage; + Change_0_to_1: DiagnosticMessage; + Add_0_to_existing_import_declaration_from_1: DiagnosticMessage; + Declare_property_0: DiagnosticMessage; + Add_index_signature_for_property_0: DiagnosticMessage; + Disable_checking_for_this_file: DiagnosticMessage; + Ignore_this_error_message: DiagnosticMessage; + Initialize_property_0_in_the_constructor: DiagnosticMessage; + Initialize_static_property_0: DiagnosticMessage; + Change_spelling_to_0: DiagnosticMessage; + Declare_method_0: DiagnosticMessage; + Declare_static_method_0: DiagnosticMessage; + Prefix_0_with_an_underscore: DiagnosticMessage; + Rewrite_as_the_indexed_access_type_0: DiagnosticMessage; + Declare_static_property_0: DiagnosticMessage; + Call_decorator_expression: DiagnosticMessage; + Add_async_modifier_to_containing_function: DiagnosticMessage; + Convert_function_to_an_ES2015_class: DiagnosticMessage; + Convert_function_0_to_class: DiagnosticMessage; + Extract_to_0_in_1: DiagnosticMessage; + Extract_function: DiagnosticMessage; + Extract_constant: DiagnosticMessage; + Extract_to_0_in_enclosing_scope: DiagnosticMessage; + Extract_to_0_in_1_scope: DiagnosticMessage; + Annotate_with_type_from_JSDoc: DiagnosticMessage; + Annotate_with_types_from_JSDoc: DiagnosticMessage; + Infer_type_of_0_from_usage: DiagnosticMessage; + Infer_parameter_types_from_usage: DiagnosticMessage; + Convert_to_default_import: DiagnosticMessage; + Install_0: DiagnosticMessage; + Replace_import_with_0: DiagnosticMessage; + Use_synthetic_default_member: DiagnosticMessage; + Convert_to_ES6_module: DiagnosticMessage; + Add_undefined_type_to_property_0: DiagnosticMessage; + Add_initializer_to_property_0: DiagnosticMessage; + Add_definite_assignment_assertion_to_property_0: DiagnosticMessage; + Add_all_missing_members: DiagnosticMessage; + Infer_all_types_from_usage: DiagnosticMessage; + Delete_all_unused_declarations: DiagnosticMessage; + Prefix_all_unused_declarations_with_where_possible: DiagnosticMessage; + Fix_all_detected_spelling_errors: DiagnosticMessage; + Add_initializers_to_all_uninitialized_properties: DiagnosticMessage; + Add_definite_assignment_assertions_to_all_uninitialized_properties: DiagnosticMessage; + Add_undefined_type_to_all_uninitialized_properties: DiagnosticMessage; + Change_all_jsdoc_style_types_to_TypeScript: DiagnosticMessage; + Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types: DiagnosticMessage; + Implement_all_unimplemented_interfaces: DiagnosticMessage; + Install_all_missing_types_packages: DiagnosticMessage; + Rewrite_all_as_indexed_access_types: DiagnosticMessage; + Convert_all_to_default_imports: DiagnosticMessage; + Make_all_super_calls_the_first_statement_in_their_constructor: DiagnosticMessage; + Add_qualifier_to_all_unresolved_variables_matching_a_member_name: DiagnosticMessage; + Change_all_extended_interfaces_to_implements: DiagnosticMessage; + Add_all_missing_super_calls: DiagnosticMessage; + Implement_all_inherited_abstract_classes: DiagnosticMessage; + Add_all_missing_async_modifiers: DiagnosticMessage; + Add_ts_ignore_to_all_error_messages: DiagnosticMessage; + Annotate_everything_with_types_from_JSDoc: DiagnosticMessage; + Add_to_all_uncalled_decorators: DiagnosticMessage; + Convert_all_constructor_functions_to_classes: DiagnosticMessage; + Generate_get_and_set_accessors: DiagnosticMessage; + Convert_require_to_import: DiagnosticMessage; + Convert_all_require_to_import: DiagnosticMessage; + Move_to_a_new_file: DiagnosticMessage; + Remove_unreachable_code: DiagnosticMessage; + Remove_all_unreachable_code: DiagnosticMessage; + Add_missing_typeof: DiagnosticMessage; + Remove_unused_label: DiagnosticMessage; + Remove_all_unused_labels: DiagnosticMessage; + Convert_0_to_mapped_object_type: DiagnosticMessage; + Convert_namespace_import_to_named_imports: DiagnosticMessage; + Convert_named_imports_to_namespace_import: DiagnosticMessage; + Add_or_remove_braces_in_an_arrow_function: DiagnosticMessage; + Add_braces_to_arrow_function: DiagnosticMessage; + Remove_braces_from_arrow_function: DiagnosticMessage; + Convert_default_export_to_named_export: DiagnosticMessage; + Convert_named_export_to_default_export: DiagnosticMessage; + Add_missing_enum_member_0: DiagnosticMessage; + Add_all_missing_enum_members: DiagnosticMessage; + }; +} +declare namespace ts { +>>>>>>> move labeled statement check to binder and add more pattern for check type ErrorCallback = (message: DiagnosticMessage, length: number) => void; interface Scanner { getStartPos(): number; diff --git a/tests/baselines/reference/labeledStatementWithLabel.errors.txt b/tests/baselines/reference/labeledStatementWithLabel.errors.txt new file mode 100644 index 0000000000000..c7259e484eaaa --- /dev/null +++ b/tests/baselines/reference/labeledStatementWithLabel.errors.txt @@ -0,0 +1,23 @@ +tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel.ts(11,8): error TS1235: A namespace declaration is only allowed in a namespace or module. +tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel.ts(12,8): error TS1235: A namespace declaration is only allowed in a namespace or module. + + +==== tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel.ts (2 errors) ==== + label: function fn() { } + label: function* gen() { } + label: async function gen1() { } + label: enum E {} + label: interface I {} + label: class C { } + label: var a = 1; + label: let b = 1; + label: const c = 1; + + label: module M { } + ~~~~~~ +!!! error TS1235: A namespace declaration is only allowed in a namespace or module. + label: namespace N {} + ~~~~~~~~~ +!!! error TS1235: A namespace declaration is only allowed in a namespace or module. + label: type T = {} + \ No newline at end of file diff --git a/tests/baselines/reference/FunctionDeclarationWIthLabel.js b/tests/baselines/reference/labeledStatementWithLabel.js similarity index 58% rename from tests/baselines/reference/FunctionDeclarationWIthLabel.js rename to tests/baselines/reference/labeledStatementWithLabel.js index c09fdc35d323a..4d5dc499e2573 100644 --- a/tests/baselines/reference/FunctionDeclarationWIthLabel.js +++ b/tests/baselines/reference/labeledStatementWithLabel.js @@ -1,9 +1,28 @@ -//// [FunctionDeclarationWIthLabel.ts] +//// [labeledStatementWithLabel.ts] label: function fn() { } label: function* gen() { } +label: async function gen1() { } +label: enum E {} +label: interface I {} +label: class C { } +label: var a = 1; +label: let b = 1; +label: const c = 1; + +label: module M { } +label: namespace N {} +label: type T = {} -//// [FunctionDeclarationWIthLabel.js] +//// [labeledStatementWithLabel.js] +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; @@ -35,3 +54,27 @@ label: function fn() { } label: function gen() { return __generator(this, function (_a) { return [2 /*return*/]; }); } +label: function gen1() { + return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) { + return [2 /*return*/]; + }); }); +} +label: { + var E; + (function (E) { + })(E || (E = {})); +} +label: +label: { + var C = /** @class */ (function () { + function C() { + } + return C; + }()); +} +label: var a = 1; +label: var b = 1; +label: var c = 1; +label: +label: +label: diff --git a/tests/baselines/reference/labeledStatementWithLabel.symbols b/tests/baselines/reference/labeledStatementWithLabel.symbols new file mode 100644 index 0000000000000..ab019c20d51dc --- /dev/null +++ b/tests/baselines/reference/labeledStatementWithLabel.symbols @@ -0,0 +1,37 @@ +=== tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel.ts === +label: function fn() { } +>fn : Symbol(fn, Decl(labeledStatementWithLabel.ts, 0, 6)) + +label: function* gen() { } +>gen : Symbol(gen, Decl(labeledStatementWithLabel.ts, 1, 6)) + +label: async function gen1() { } +>gen1 : Symbol(gen1, Decl(labeledStatementWithLabel.ts, 2, 6)) + +label: enum E {} +>E : Symbol(E, Decl(labeledStatementWithLabel.ts, 3, 6)) + +label: interface I {} +>I : Symbol(I, Decl(labeledStatementWithLabel.ts, 4, 6)) + +label: class C { } +>C : Symbol(C, Decl(labeledStatementWithLabel.ts, 5, 6)) + +label: var a = 1; +>a : Symbol(a, Decl(labeledStatementWithLabel.ts, 6, 10)) + +label: let b = 1; +>b : Symbol(b, Decl(labeledStatementWithLabel.ts, 7, 10)) + +label: const c = 1; +>c : Symbol(c, Decl(labeledStatementWithLabel.ts, 8, 12)) + +label: module M { } +>M : Symbol(M, Decl(labeledStatementWithLabel.ts, 10, 6)) + +label: namespace N {} +>N : Symbol(N, Decl(labeledStatementWithLabel.ts, 11, 6)) + +label: type T = {} +>T : Symbol(T, Decl(labeledStatementWithLabel.ts, 12, 6)) + diff --git a/tests/baselines/reference/labeledStatementWithLabel.types b/tests/baselines/reference/labeledStatementWithLabel.types new file mode 100644 index 0000000000000..9a1c12becf526 --- /dev/null +++ b/tests/baselines/reference/labeledStatementWithLabel.types @@ -0,0 +1,52 @@ +=== tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel.ts === +label: function fn() { } +>label : any +>fn : () => void + +label: function* gen() { } +>label : any +>gen : () => IterableIterator + +label: async function gen1() { } +>label : any +>gen1 : () => Promise + +label: enum E {} +>label : any +>E : E + +label: interface I {} +>label : any +>I : I + +label: class C { } +>label : any +>C : C + +label: var a = 1; +>label : any +>a : number +>1 : 1 + +label: let b = 1; +>label : any +>b : number +>1 : 1 + +label: const c = 1; +>label : any +>c : 1 +>1 : 1 + +label: module M { } +>label : any +>M : any + +label: namespace N {} +>label : any +>N : any + +label: type T = {} +>label : any +>T : {} + diff --git a/tests/baselines/reference/labeledStatementWithLabel_es2015.errors.txt b/tests/baselines/reference/labeledStatementWithLabel_es2015.errors.txt new file mode 100644 index 0000000000000..95c136b953de6 --- /dev/null +++ b/tests/baselines/reference/labeledStatementWithLabel_es2015.errors.txt @@ -0,0 +1,23 @@ +tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_es2015.ts(11,8): error TS1235: A namespace declaration is only allowed in a namespace or module. +tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_es2015.ts(12,8): error TS1235: A namespace declaration is only allowed in a namespace or module. + + +==== tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_es2015.ts (2 errors) ==== + label: function fn() { } + label: function* gen() { } + label: async function gen1() { } + label: enum E {} + label: interface I {} + label: class C { } + label: var a = 1; + label: let b = 1; + label: const c = 1; + + label: module M { } + ~~~~~~ +!!! error TS1235: A namespace declaration is only allowed in a namespace or module. + label: namespace N {} + ~~~~~~~~~ +!!! error TS1235: A namespace declaration is only allowed in a namespace or module. + label: type T = {} + \ No newline at end of file diff --git a/tests/baselines/reference/labeledStatementWithLabel_es2015.js b/tests/baselines/reference/labeledStatementWithLabel_es2015.js new file mode 100644 index 0000000000000..e2eea4c53be0b --- /dev/null +++ b/tests/baselines/reference/labeledStatementWithLabel_es2015.js @@ -0,0 +1,44 @@ +//// [labeledStatementWithLabel_es2015.ts] +label: function fn() { } +label: function* gen() { } +label: async function gen1() { } +label: enum E {} +label: interface I {} +label: class C { } +label: var a = 1; +label: let b = 1; +label: const c = 1; + +label: module M { } +label: namespace N {} +label: type T = {} + + +//// [labeledStatementWithLabel_es2015.js] +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +label: function fn() { } +label: function* gen() { } +label: function gen1() { + return __awaiter(this, void 0, void 0, function* () { }); +} +label: { + var E; + (function (E) { + })(E || (E = {})); +} +label: +label: class C { +} +label: var a = 1; +label: let b = 1; +label: const c = 1; +label: +label: +label: diff --git a/tests/baselines/reference/labeledStatementWithLabel_es2015.symbols b/tests/baselines/reference/labeledStatementWithLabel_es2015.symbols new file mode 100644 index 0000000000000..3e776d1152b55 --- /dev/null +++ b/tests/baselines/reference/labeledStatementWithLabel_es2015.symbols @@ -0,0 +1,37 @@ +=== tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_es2015.ts === +label: function fn() { } +>fn : Symbol(fn, Decl(labeledStatementWithLabel_es2015.ts, 0, 6)) + +label: function* gen() { } +>gen : Symbol(gen, Decl(labeledStatementWithLabel_es2015.ts, 1, 6)) + +label: async function gen1() { } +>gen1 : Symbol(gen1, Decl(labeledStatementWithLabel_es2015.ts, 2, 6)) + +label: enum E {} +>E : Symbol(E, Decl(labeledStatementWithLabel_es2015.ts, 3, 6)) + +label: interface I {} +>I : Symbol(I, Decl(labeledStatementWithLabel_es2015.ts, 4, 6)) + +label: class C { } +>C : Symbol(C, Decl(labeledStatementWithLabel_es2015.ts, 5, 6)) + +label: var a = 1; +>a : Symbol(a, Decl(labeledStatementWithLabel_es2015.ts, 6, 10)) + +label: let b = 1; +>b : Symbol(b, Decl(labeledStatementWithLabel_es2015.ts, 7, 10)) + +label: const c = 1; +>c : Symbol(c, Decl(labeledStatementWithLabel_es2015.ts, 8, 12)) + +label: module M { } +>M : Symbol(M, Decl(labeledStatementWithLabel_es2015.ts, 10, 6)) + +label: namespace N {} +>N : Symbol(N, Decl(labeledStatementWithLabel_es2015.ts, 11, 6)) + +label: type T = {} +>T : Symbol(T, Decl(labeledStatementWithLabel_es2015.ts, 12, 6)) + diff --git a/tests/baselines/reference/labeledStatementWithLabel_es2015.types b/tests/baselines/reference/labeledStatementWithLabel_es2015.types new file mode 100644 index 0000000000000..7f59d4f0fedf3 --- /dev/null +++ b/tests/baselines/reference/labeledStatementWithLabel_es2015.types @@ -0,0 +1,52 @@ +=== tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_es2015.ts === +label: function fn() { } +>label : any +>fn : () => void + +label: function* gen() { } +>label : any +>gen : () => IterableIterator + +label: async function gen1() { } +>label : any +>gen1 : () => Promise + +label: enum E {} +>label : any +>E : E + +label: interface I {} +>label : any +>I : I + +label: class C { } +>label : any +>C : C + +label: var a = 1; +>label : any +>a : number +>1 : 1 + +label: let b = 1; +>label : any +>b : number +>1 : 1 + +label: const c = 1; +>label : any +>c : 1 +>1 : 1 + +label: module M { } +>label : any +>M : any + +label: namespace N {} +>label : any +>N : any + +label: type T = {} +>label : any +>T : {} + diff --git a/tests/baselines/reference/labeledStatementWithLabel_strict.errors.txt b/tests/baselines/reference/labeledStatementWithLabel_strict.errors.txt new file mode 100644 index 0000000000000..125086187109f --- /dev/null +++ b/tests/baselines/reference/labeledStatementWithLabel_strict.errors.txt @@ -0,0 +1,60 @@ +tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(2,1): error TS1344: 'FunctionDeclaration' declarations cannot be labeled. +tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(3,1): error TS1344: 'FunctionDeclaration' declarations cannot be labeled. +tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(4,1): error TS1344: 'FunctionDeclaration' declarations cannot be labeled. +tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(5,1): error TS1344: 'EnumDeclaration' declarations cannot be labeled. +tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(6,1): error TS1344: 'InterfaceDeclaration' declarations cannot be labeled. +tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(7,1): error TS1344: 'ClassDeclaration' declarations cannot be labeled. +tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(8,1): error TS1344: 'VariableStatement' declarations cannot be labeled. +tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(9,1): error TS1344: 'VariableStatement' declarations cannot be labeled. +tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(10,1): error TS1344: 'VariableStatement' declarations cannot be labeled. +tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(12,1): error TS1344: 'ModuleDeclaration' declarations cannot be labeled. +tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(12,8): error TS1235: A namespace declaration is only allowed in a namespace or module. +tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(13,1): error TS1344: 'ModuleDeclaration' declarations cannot be labeled. +tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(13,8): error TS1235: A namespace declaration is only allowed in a namespace or module. +tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(14,1): error TS1344: 'TypeAliasDeclaration' declarations cannot be labeled. + + +==== tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts (14 errors) ==== + "use strict" + label: function fn() { } + ~~~~~ +!!! error TS1344: 'FunctionDeclaration' declarations cannot be labeled. + label: function* gen() { } + ~~~~~ +!!! error TS1344: 'FunctionDeclaration' declarations cannot be labeled. + label: async function gen1() { } + ~~~~~ +!!! error TS1344: 'FunctionDeclaration' declarations cannot be labeled. + label: enum E {} + ~~~~~ +!!! error TS1344: 'EnumDeclaration' declarations cannot be labeled. + label: interface I {} + ~~~~~ +!!! error TS1344: 'InterfaceDeclaration' declarations cannot be labeled. + label: class C { } + ~~~~~ +!!! error TS1344: 'ClassDeclaration' declarations cannot be labeled. + label: var a = 1; + ~~~~~ +!!! error TS1344: 'VariableStatement' declarations cannot be labeled. + label: let b = 1; + ~~~~~ +!!! error TS1344: 'VariableStatement' declarations cannot be labeled. + label: const c = 1; + ~~~~~ +!!! error TS1344: 'VariableStatement' declarations cannot be labeled. + + label: module M { } + ~~~~~ +!!! error TS1344: 'ModuleDeclaration' declarations cannot be labeled. + ~~~~~~ +!!! error TS1235: A namespace declaration is only allowed in a namespace or module. + label: namespace N {} + ~~~~~ +!!! error TS1344: 'ModuleDeclaration' declarations cannot be labeled. + ~~~~~~~~~ +!!! error TS1235: A namespace declaration is only allowed in a namespace or module. + label: type T = {} + ~~~~~ +!!! error TS1344: 'TypeAliasDeclaration' declarations cannot be labeled. + \ No newline at end of file diff --git a/tests/baselines/reference/labeledStatementWithLabel_strict.js b/tests/baselines/reference/labeledStatementWithLabel_strict.js new file mode 100644 index 0000000000000..c4ac2caed06fd --- /dev/null +++ b/tests/baselines/reference/labeledStatementWithLabel_strict.js @@ -0,0 +1,46 @@ +//// [labeledStatementWithLabel_strict.ts] +"use strict" +label: function fn() { } +label: function* gen() { } +label: async function gen1() { } +label: enum E {} +label: interface I {} +label: class C { } +label: var a = 1; +label: let b = 1; +label: const c = 1; + +label: module M { } +label: namespace N {} +label: type T = {} + + +//// [labeledStatementWithLabel_strict.js] +"use strict"; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +label: function fn() { } +label: function* gen() { } +label: function gen1() { + return __awaiter(this, void 0, void 0, function* () { }); +} +label: { + var E; + (function (E) { + })(E || (E = {})); +} +label: +label: class C { +} +label: var a = 1; +label: let b = 1; +label: const c = 1; +label: +label: +label: diff --git a/tests/baselines/reference/labeledStatementWithLabel_strict.symbols b/tests/baselines/reference/labeledStatementWithLabel_strict.symbols new file mode 100644 index 0000000000000..c5a721824cc00 --- /dev/null +++ b/tests/baselines/reference/labeledStatementWithLabel_strict.symbols @@ -0,0 +1,38 @@ +=== tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts === +"use strict" +label: function fn() { } +>fn : Symbol(fn, Decl(labeledStatementWithLabel_strict.ts, 1, 6)) + +label: function* gen() { } +>gen : Symbol(gen, Decl(labeledStatementWithLabel_strict.ts, 2, 6)) + +label: async function gen1() { } +>gen1 : Symbol(gen1, Decl(labeledStatementWithLabel_strict.ts, 3, 6)) + +label: enum E {} +>E : Symbol(E, Decl(labeledStatementWithLabel_strict.ts, 4, 6)) + +label: interface I {} +>I : Symbol(I, Decl(labeledStatementWithLabel_strict.ts, 5, 6)) + +label: class C { } +>C : Symbol(C, Decl(labeledStatementWithLabel_strict.ts, 6, 6)) + +label: var a = 1; +>a : Symbol(a, Decl(labeledStatementWithLabel_strict.ts, 7, 10)) + +label: let b = 1; +>b : Symbol(b, Decl(labeledStatementWithLabel_strict.ts, 8, 10)) + +label: const c = 1; +>c : Symbol(c, Decl(labeledStatementWithLabel_strict.ts, 9, 12)) + +label: module M { } +>M : Symbol(M, Decl(labeledStatementWithLabel_strict.ts, 11, 6)) + +label: namespace N {} +>N : Symbol(N, Decl(labeledStatementWithLabel_strict.ts, 12, 6)) + +label: type T = {} +>T : Symbol(T, Decl(labeledStatementWithLabel_strict.ts, 13, 6)) + diff --git a/tests/baselines/reference/labeledStatementWithLabel_strict.types b/tests/baselines/reference/labeledStatementWithLabel_strict.types new file mode 100644 index 0000000000000..02bce60c5b1ff --- /dev/null +++ b/tests/baselines/reference/labeledStatementWithLabel_strict.types @@ -0,0 +1,55 @@ +=== tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts === +"use strict" +>"use strict" : "use strict" + +label: function fn() { } +>label : any +>fn : () => void + +label: function* gen() { } +>label : any +>gen : () => IterableIterator + +label: async function gen1() { } +>label : any +>gen1 : () => Promise + +label: enum E {} +>label : any +>E : E + +label: interface I {} +>label : any +>I : I + +label: class C { } +>label : any +>C : C + +label: var a = 1; +>label : any +>a : number +>1 : 1 + +label: let b = 1; +>label : any +>b : number +>1 : 1 + +label: const c = 1; +>label : any +>c : 1 +>1 : 1 + +label: module M { } +>label : any +>M : any + +label: namespace N {} +>label : any +>N : any + +label: type T = {} +>label : any +>T : {} + diff --git a/tests/cases/conformance/es6/functionDeclarations/FunctionDeclarationWIthLabel.ts b/tests/cases/conformance/es6/functionDeclarations/FunctionDeclarationWIthLabel.ts deleted file mode 100644 index 82b91e723ef86..0000000000000 --- a/tests/cases/conformance/es6/functionDeclarations/FunctionDeclarationWIthLabel.ts +++ /dev/null @@ -1,2 +0,0 @@ -label: function fn() { } -label: function* gen() { } diff --git a/tests/cases/conformance/es6/functionDeclarations/FunctionDeclarationWIthLabel_es6.ts b/tests/cases/conformance/es6/functionDeclarations/FunctionDeclarationWIthLabel_es6.ts deleted file mode 100644 index 2aba7488173ca..0000000000000 --- a/tests/cases/conformance/es6/functionDeclarations/FunctionDeclarationWIthLabel_es6.ts +++ /dev/null @@ -1,3 +0,0 @@ -// @target: es2015 -label: function fn() { } -label: function* gen() { } diff --git a/tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel.ts b/tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel.ts new file mode 100644 index 0000000000000..a37bd61ae3b72 --- /dev/null +++ b/tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel.ts @@ -0,0 +1,15 @@ +// @lib: es2015 + +label: function fn() { } +label: function* gen() { } +label: async function gen1() { } +label: enum E {} +label: interface I {} +label: class C { } +label: var a = 1; +label: let b = 1; +label: const c = 1; + +label: module M { } +label: namespace N {} +label: type T = {} diff --git a/tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_es2015.ts b/tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_es2015.ts new file mode 100644 index 0000000000000..85edf801ae0c0 --- /dev/null +++ b/tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_es2015.ts @@ -0,0 +1,15 @@ +// @target: es2015 + +label: function fn() { } +label: function* gen() { } +label: async function gen1() { } +label: enum E {} +label: interface I {} +label: class C { } +label: var a = 1; +label: let b = 1; +label: const c = 1; + +label: module M { } +label: namespace N {} +label: type T = {} diff --git a/tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts b/tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts new file mode 100644 index 0000000000000..f1821b7184d4a --- /dev/null +++ b/tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts @@ -0,0 +1,15 @@ +// @target: es2015 +"use strict" +label: function fn() { } +label: function* gen() { } +label: async function gen1() { } +label: enum E {} +label: interface I {} +label: class C { } +label: var a = 1; +label: let b = 1; +label: const c = 1; + +label: module M { } +label: namespace N {} +label: type T = {} From d6ba3567c7f3bca8bdba802dcb738e1e7b3b0d1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=96=87=E7=92=90?= Date: Tue, 3 Jul 2018 10:17:13 +0800 Subject: [PATCH 4/5] update diagnostic message --- src/compiler/binder.ts | 2 +- src/compiler/diagnosticMessages.json | 2 +- .../reference/api/tsserverlibrary.d.ts | 2 +- ...abeledStatementWithLabel_strict.errors.txt | 48 +++++++++---------- 4 files changed, 27 insertions(+), 27 deletions(-) diff --git a/src/compiler/binder.ts b/src/compiler/binder.ts index 83522b61a871e..8de8d30afc28e 100644 --- a/src/compiler/binder.ts +++ b/src/compiler/binder.ts @@ -1917,7 +1917,7 @@ namespace ts { // Grammar checking for labeledStatement if (inStrictMode && options.target! >= ScriptTarget.ES2015) { if (isDeclarationStatement(node.statement) || isVariableStatement(node.statement)) { - errorOnFirstToken(node.label, Diagnostics._0_declarations_cannot_be_labeled, formatSyntaxKind(node.statement.kind)); + errorOnFirstToken(node.label, Diagnostics.A_label_is_not_allowed_here); } } } diff --git a/src/compiler/diagnosticMessages.json b/src/compiler/diagnosticMessages.json index 635c6bcedc9a3..ef310cf271726 100644 --- a/src/compiler/diagnosticMessages.json +++ b/src/compiler/diagnosticMessages.json @@ -983,7 +983,7 @@ "category": "Error", "code": 1343 }, - "'{0}' declarations cannot be labeled.": { + "'A label is not allowed here.": { "category": "Error", "code": 1344 }, diff --git a/tests/baselines/reference/api/tsserverlibrary.d.ts b/tests/baselines/reference/api/tsserverlibrary.d.ts index fbc4aceb09475..c65d0efc9c09b 100644 --- a/tests/baselines/reference/api/tsserverlibrary.d.ts +++ b/tests/baselines/reference/api/tsserverlibrary.d.ts @@ -3296,7 +3296,7 @@ declare namespace ts { Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here: DiagnosticMessage; Type_arguments_cannot_be_used_here: DiagnosticMessage; The_import_meta_meta_property_is_only_allowed_using_ESNext_for_the_target_and_module_compiler_options: DiagnosticMessage; - _0_declarations_cannot_be_labeled: DiagnosticMessage; + A_label_is_not_allowed_here: DiagnosticMessage; Duplicate_identifier_0: DiagnosticMessage; Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor: DiagnosticMessage; Static_members_cannot_reference_class_type_parameters: DiagnosticMessage; diff --git a/tests/baselines/reference/labeledStatementWithLabel_strict.errors.txt b/tests/baselines/reference/labeledStatementWithLabel_strict.errors.txt index 125086187109f..863604a083680 100644 --- a/tests/baselines/reference/labeledStatementWithLabel_strict.errors.txt +++ b/tests/baselines/reference/labeledStatementWithLabel_strict.errors.txt @@ -1,60 +1,60 @@ -tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(2,1): error TS1344: 'FunctionDeclaration' declarations cannot be labeled. -tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(3,1): error TS1344: 'FunctionDeclaration' declarations cannot be labeled. -tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(4,1): error TS1344: 'FunctionDeclaration' declarations cannot be labeled. -tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(5,1): error TS1344: 'EnumDeclaration' declarations cannot be labeled. -tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(6,1): error TS1344: 'InterfaceDeclaration' declarations cannot be labeled. -tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(7,1): error TS1344: 'ClassDeclaration' declarations cannot be labeled. -tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(8,1): error TS1344: 'VariableStatement' declarations cannot be labeled. -tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(9,1): error TS1344: 'VariableStatement' declarations cannot be labeled. -tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(10,1): error TS1344: 'VariableStatement' declarations cannot be labeled. -tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(12,1): error TS1344: 'ModuleDeclaration' declarations cannot be labeled. +tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(2,1): error TS1344: 'A label is not allowed here. +tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(3,1): error TS1344: 'A label is not allowed here. +tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(4,1): error TS1344: 'A label is not allowed here. +tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(5,1): error TS1344: 'A label is not allowed here. +tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(6,1): error TS1344: 'A label is not allowed here. +tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(7,1): error TS1344: 'A label is not allowed here. +tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(8,1): error TS1344: 'A label is not allowed here. +tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(9,1): error TS1344: 'A label is not allowed here. +tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(10,1): error TS1344: 'A label is not allowed here. +tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(12,1): error TS1344: 'A label is not allowed here. tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(12,8): error TS1235: A namespace declaration is only allowed in a namespace or module. -tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(13,1): error TS1344: 'ModuleDeclaration' declarations cannot be labeled. +tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(13,1): error TS1344: 'A label is not allowed here. tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(13,8): error TS1235: A namespace declaration is only allowed in a namespace or module. -tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(14,1): error TS1344: 'TypeAliasDeclaration' declarations cannot be labeled. +tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts(14,1): error TS1344: 'A label is not allowed here. ==== tests/cases/conformance/statements/labeledStatements/labeledStatementWithLabel_strict.ts (14 errors) ==== "use strict" label: function fn() { } ~~~~~ -!!! error TS1344: 'FunctionDeclaration' declarations cannot be labeled. +!!! error TS1344: 'A label is not allowed here. label: function* gen() { } ~~~~~ -!!! error TS1344: 'FunctionDeclaration' declarations cannot be labeled. +!!! error TS1344: 'A label is not allowed here. label: async function gen1() { } ~~~~~ -!!! error TS1344: 'FunctionDeclaration' declarations cannot be labeled. +!!! error TS1344: 'A label is not allowed here. label: enum E {} ~~~~~ -!!! error TS1344: 'EnumDeclaration' declarations cannot be labeled. +!!! error TS1344: 'A label is not allowed here. label: interface I {} ~~~~~ -!!! error TS1344: 'InterfaceDeclaration' declarations cannot be labeled. +!!! error TS1344: 'A label is not allowed here. label: class C { } ~~~~~ -!!! error TS1344: 'ClassDeclaration' declarations cannot be labeled. +!!! error TS1344: 'A label is not allowed here. label: var a = 1; ~~~~~ -!!! error TS1344: 'VariableStatement' declarations cannot be labeled. +!!! error TS1344: 'A label is not allowed here. label: let b = 1; ~~~~~ -!!! error TS1344: 'VariableStatement' declarations cannot be labeled. +!!! error TS1344: 'A label is not allowed here. label: const c = 1; ~~~~~ -!!! error TS1344: 'VariableStatement' declarations cannot be labeled. +!!! error TS1344: 'A label is not allowed here. label: module M { } ~~~~~ -!!! error TS1344: 'ModuleDeclaration' declarations cannot be labeled. +!!! error TS1344: 'A label is not allowed here. ~~~~~~ !!! error TS1235: A namespace declaration is only allowed in a namespace or module. label: namespace N {} ~~~~~ -!!! error TS1344: 'ModuleDeclaration' declarations cannot be labeled. +!!! error TS1344: 'A label is not allowed here. ~~~~~~~~~ !!! error TS1235: A namespace declaration is only allowed in a namespace or module. label: type T = {} ~~~~~ -!!! error TS1344: 'TypeAliasDeclaration' declarations cannot be labeled. +!!! error TS1344: 'A label is not allowed here. \ No newline at end of file From 8ce321fa6243ba7563ea19fe896412c4246afbce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=96=87=E7=92=90?= Date: Wed, 18 Jul 2018 15:00:20 +0800 Subject: [PATCH 5/5] update baseline --- .../reference/api/tsserverlibrary.d.ts | 1117 ----------------- 1 file changed, 1117 deletions(-) diff --git a/tests/baselines/reference/api/tsserverlibrary.d.ts b/tests/baselines/reference/api/tsserverlibrary.d.ts index ca2c1b83f813e..bfa6eade530c5 100644 --- a/tests/baselines/reference/api/tsserverlibrary.d.ts +++ b/tests/baselines/reference/api/tsserverlibrary.d.ts @@ -3048,1123 +3048,6 @@ declare namespace ts { let sys: System; } declare namespace ts { -<<<<<<< HEAD -======= - const Diagnostics: { - Unterminated_string_literal: DiagnosticMessage; - Identifier_expected: DiagnosticMessage; - _0_expected: DiagnosticMessage; - A_file_cannot_have_a_reference_to_itself: DiagnosticMessage; - Trailing_comma_not_allowed: DiagnosticMessage; - Asterisk_Slash_expected: DiagnosticMessage; - An_element_access_expression_should_take_an_argument: DiagnosticMessage; - Unexpected_token: DiagnosticMessage; - A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma: DiagnosticMessage; - A_rest_parameter_must_be_last_in_a_parameter_list: DiagnosticMessage; - Parameter_cannot_have_question_mark_and_initializer: DiagnosticMessage; - A_required_parameter_cannot_follow_an_optional_parameter: DiagnosticMessage; - An_index_signature_cannot_have_a_rest_parameter: DiagnosticMessage; - An_index_signature_parameter_cannot_have_an_accessibility_modifier: DiagnosticMessage; - An_index_signature_parameter_cannot_have_a_question_mark: DiagnosticMessage; - An_index_signature_parameter_cannot_have_an_initializer: DiagnosticMessage; - An_index_signature_must_have_a_type_annotation: DiagnosticMessage; - An_index_signature_parameter_must_have_a_type_annotation: DiagnosticMessage; - An_index_signature_parameter_type_must_be_string_or_number: DiagnosticMessage; - readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature: DiagnosticMessage; - Accessibility_modifier_already_seen: DiagnosticMessage; - _0_modifier_must_precede_1_modifier: DiagnosticMessage; - _0_modifier_already_seen: DiagnosticMessage; - _0_modifier_cannot_appear_on_a_class_element: DiagnosticMessage; - super_must_be_followed_by_an_argument_list_or_member_access: DiagnosticMessage; - Only_ambient_modules_can_use_quoted_names: DiagnosticMessage; - Statements_are_not_allowed_in_ambient_contexts: DiagnosticMessage; - A_declare_modifier_cannot_be_used_in_an_already_ambient_context: DiagnosticMessage; - Initializers_are_not_allowed_in_ambient_contexts: DiagnosticMessage; - _0_modifier_cannot_be_used_in_an_ambient_context: DiagnosticMessage; - _0_modifier_cannot_be_used_with_a_class_declaration: DiagnosticMessage; - _0_modifier_cannot_be_used_here: DiagnosticMessage; - _0_modifier_cannot_appear_on_a_data_property: DiagnosticMessage; - _0_modifier_cannot_appear_on_a_module_or_namespace_element: DiagnosticMessage; - A_0_modifier_cannot_be_used_with_an_interface_declaration: DiagnosticMessage; - A_declare_modifier_is_required_for_a_top_level_declaration_in_a_d_ts_file: DiagnosticMessage; - A_rest_parameter_cannot_be_optional: DiagnosticMessage; - A_rest_parameter_cannot_have_an_initializer: DiagnosticMessage; - A_set_accessor_must_have_exactly_one_parameter: DiagnosticMessage; - A_set_accessor_cannot_have_an_optional_parameter: DiagnosticMessage; - A_set_accessor_parameter_cannot_have_an_initializer: DiagnosticMessage; - A_set_accessor_cannot_have_rest_parameter: DiagnosticMessage; - A_get_accessor_cannot_have_parameters: DiagnosticMessage; - Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value: DiagnosticMessage; - Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher: DiagnosticMessage; - An_async_function_or_method_must_have_a_valid_awaitable_return_type: DiagnosticMessage; - The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member: DiagnosticMessage; - A_promise_must_have_a_then_method: DiagnosticMessage; - The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback: DiagnosticMessage; - Enum_member_must_have_initializer: DiagnosticMessage; - Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method: DiagnosticMessage; - An_export_assignment_cannot_be_used_in_a_namespace: DiagnosticMessage; - The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type: DiagnosticMessage; - In_ambient_enum_declarations_member_initializer_must_be_constant_expression: DiagnosticMessage; - Unexpected_token_A_constructor_method_accessor_or_property_was_expected: DiagnosticMessage; - Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces: DiagnosticMessage; - _0_modifier_cannot_appear_on_a_type_member: DiagnosticMessage; - _0_modifier_cannot_appear_on_an_index_signature: DiagnosticMessage; - A_0_modifier_cannot_be_used_with_an_import_declaration: DiagnosticMessage; - Invalid_reference_directive_syntax: DiagnosticMessage; - Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0: DiagnosticMessage; - An_accessor_cannot_be_declared_in_an_ambient_context: DiagnosticMessage; - _0_modifier_cannot_appear_on_a_constructor_declaration: DiagnosticMessage; - _0_modifier_cannot_appear_on_a_parameter: DiagnosticMessage; - Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement: DiagnosticMessage; - Type_parameters_cannot_appear_on_a_constructor_declaration: DiagnosticMessage; - Type_annotation_cannot_appear_on_a_constructor_declaration: DiagnosticMessage; - An_accessor_cannot_have_type_parameters: DiagnosticMessage; - A_set_accessor_cannot_have_a_return_type_annotation: DiagnosticMessage; - An_index_signature_must_have_exactly_one_parameter: DiagnosticMessage; - _0_list_cannot_be_empty: DiagnosticMessage; - Type_parameter_list_cannot_be_empty: DiagnosticMessage; - Type_argument_list_cannot_be_empty: DiagnosticMessage; - Invalid_use_of_0_in_strict_mode: DiagnosticMessage; - with_statements_are_not_allowed_in_strict_mode: DiagnosticMessage; - delete_cannot_be_called_on_an_identifier_in_strict_mode: DiagnosticMessage; - A_for_await_of_statement_is_only_allowed_within_an_async_function_or_async_generator: DiagnosticMessage; - A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement: DiagnosticMessage; - A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement: DiagnosticMessage; - Jump_target_cannot_cross_function_boundary: DiagnosticMessage; - A_return_statement_can_only_be_used_within_a_function_body: DiagnosticMessage; - Expression_expected: DiagnosticMessage; - Type_expected: DiagnosticMessage; - A_default_clause_cannot_appear_more_than_once_in_a_switch_statement: DiagnosticMessage; - Duplicate_label_0: DiagnosticMessage; - A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement: DiagnosticMessage; - A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement: DiagnosticMessage; - An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode: DiagnosticMessage; - An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name: DiagnosticMessage; - An_object_literal_cannot_have_property_and_accessor_with_the_same_name: DiagnosticMessage; - An_export_assignment_cannot_have_modifiers: DiagnosticMessage; - Octal_literals_are_not_allowed_in_strict_mode: DiagnosticMessage; - Variable_declaration_list_cannot_be_empty: DiagnosticMessage; - Digit_expected: DiagnosticMessage; - Hexadecimal_digit_expected: DiagnosticMessage; - Unexpected_end_of_text: DiagnosticMessage; - Invalid_character: DiagnosticMessage; - Declaration_or_statement_expected: DiagnosticMessage; - Statement_expected: DiagnosticMessage; - case_or_default_expected: DiagnosticMessage; - Property_or_signature_expected: DiagnosticMessage; - Enum_member_expected: DiagnosticMessage; - Variable_declaration_expected: DiagnosticMessage; - Argument_expression_expected: DiagnosticMessage; - Property_assignment_expected: DiagnosticMessage; - Expression_or_comma_expected: DiagnosticMessage; - Parameter_declaration_expected: DiagnosticMessage; - Type_parameter_declaration_expected: DiagnosticMessage; - Type_argument_expected: DiagnosticMessage; - String_literal_expected: DiagnosticMessage; - Line_break_not_permitted_here: DiagnosticMessage; - or_expected: DiagnosticMessage; - Declaration_expected: DiagnosticMessage; - Import_declarations_in_a_namespace_cannot_reference_a_module: DiagnosticMessage; - Cannot_use_imports_exports_or_module_augmentations_when_module_is_none: DiagnosticMessage; - File_name_0_differs_from_already_included_file_name_1_only_in_casing: DiagnosticMessage; - new_T_cannot_be_used_to_create_an_array_Use_new_Array_T_instead: DiagnosticMessage; - const_declarations_must_be_initialized: DiagnosticMessage; - const_declarations_can_only_be_declared_inside_a_block: DiagnosticMessage; - let_declarations_can_only_be_declared_inside_a_block: DiagnosticMessage; - Unterminated_template_literal: DiagnosticMessage; - Unterminated_regular_expression_literal: DiagnosticMessage; - An_object_member_cannot_be_declared_optional: DiagnosticMessage; - A_yield_expression_is_only_allowed_in_a_generator_body: DiagnosticMessage; - Computed_property_names_are_not_allowed_in_enums: DiagnosticMessage; - A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type: DiagnosticMessage; - 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: DiagnosticMessage; - A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type: DiagnosticMessage; - A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type: DiagnosticMessage; - A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type: DiagnosticMessage; - A_comma_expression_is_not_allowed_in_a_computed_property_name: DiagnosticMessage; - extends_clause_already_seen: DiagnosticMessage; - extends_clause_must_precede_implements_clause: DiagnosticMessage; - Classes_can_only_extend_a_single_class: DiagnosticMessage; - implements_clause_already_seen: DiagnosticMessage; - Interface_declaration_cannot_have_implements_clause: DiagnosticMessage; - Binary_digit_expected: DiagnosticMessage; - Octal_digit_expected: DiagnosticMessage; - Unexpected_token_expected: DiagnosticMessage; - Property_destructuring_pattern_expected: DiagnosticMessage; - Array_element_destructuring_pattern_expected: DiagnosticMessage; - A_destructuring_declaration_must_have_an_initializer: DiagnosticMessage; - An_implementation_cannot_be_declared_in_ambient_contexts: DiagnosticMessage; - Modifiers_cannot_appear_here: DiagnosticMessage; - Merge_conflict_marker_encountered: DiagnosticMessage; - A_rest_element_cannot_have_an_initializer: DiagnosticMessage; - A_parameter_property_may_not_be_declared_using_a_binding_pattern: DiagnosticMessage; - Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement: DiagnosticMessage; - The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer: DiagnosticMessage; - The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer: DiagnosticMessage; - An_import_declaration_cannot_have_modifiers: DiagnosticMessage; - Module_0_has_no_default_export: DiagnosticMessage; - An_export_declaration_cannot_have_modifiers: DiagnosticMessage; - Export_declarations_are_not_permitted_in_a_namespace: DiagnosticMessage; - Catch_clause_variable_cannot_have_a_type_annotation: DiagnosticMessage; - Catch_clause_variable_cannot_have_an_initializer: DiagnosticMessage; - An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive: DiagnosticMessage; - Unterminated_Unicode_escape_sequence: DiagnosticMessage; - Line_terminator_not_permitted_before_arrow: DiagnosticMessage; - Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead: DiagnosticMessage; - Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead: DiagnosticMessage; - Cannot_re_export_a_type_when_the_isolatedModules_flag_is_provided: DiagnosticMessage; - Decorators_are_not_valid_here: DiagnosticMessage; - Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name: DiagnosticMessage; - Cannot_compile_namespaces_when_the_isolatedModules_flag_is_provided: DiagnosticMessage; - Ambient_const_enums_are_not_allowed_when_the_isolatedModules_flag_is_provided: DiagnosticMessage; - Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode: DiagnosticMessage; - A_class_declaration_without_the_default_modifier_must_have_a_name: DiagnosticMessage; - Identifier_expected_0_is_a_reserved_word_in_strict_mode: DiagnosticMessage; - Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode: DiagnosticMessage; - Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode: DiagnosticMessage; - Invalid_use_of_0_Modules_are_automatically_in_strict_mode: DiagnosticMessage; - Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules: DiagnosticMessage; - Export_assignment_is_not_supported_when_module_flag_is_system: DiagnosticMessage; - Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_to_remove_this_warning: DiagnosticMessage; - Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher: DiagnosticMessage; - Generators_are_not_allowed_in_an_ambient_context: DiagnosticMessage; - An_overload_signature_cannot_be_declared_as_a_generator: DiagnosticMessage; - _0_tag_already_specified: DiagnosticMessage; - Signature_0_must_be_a_type_predicate: DiagnosticMessage; - Cannot_find_parameter_0: DiagnosticMessage; - Type_predicate_0_is_not_assignable_to_1: DiagnosticMessage; - Parameter_0_is_not_in_the_same_position_as_parameter_1: DiagnosticMessage; - A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods: DiagnosticMessage; - A_type_predicate_cannot_reference_a_rest_parameter: DiagnosticMessage; - A_type_predicate_cannot_reference_element_0_in_a_binding_pattern: DiagnosticMessage; - An_export_assignment_can_only_be_used_in_a_module: DiagnosticMessage; - An_import_declaration_can_only_be_used_in_a_namespace_or_module: DiagnosticMessage; - An_export_declaration_can_only_be_used_in_a_module: DiagnosticMessage; - An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file: DiagnosticMessage; - A_namespace_declaration_is_only_allowed_in_a_namespace_or_module: DiagnosticMessage; - The_return_type_of_a_property_decorator_function_must_be_either_void_or_any: DiagnosticMessage; - The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any: DiagnosticMessage; - Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression: DiagnosticMessage; - Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression: DiagnosticMessage; - Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression: DiagnosticMessage; - Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression: DiagnosticMessage; - abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration: DiagnosticMessage; - _0_modifier_cannot_be_used_with_1_modifier: DiagnosticMessage; - Abstract_methods_can_only_appear_within_an_abstract_class: DiagnosticMessage; - Method_0_cannot_have_an_implementation_because_it_is_marked_abstract: DiagnosticMessage; - An_interface_property_cannot_have_an_initializer: DiagnosticMessage; - A_type_literal_property_cannot_have_an_initializer: DiagnosticMessage; - A_class_member_cannot_have_the_0_keyword: DiagnosticMessage; - A_decorator_can_only_decorate_a_method_implementation_not_an_overload: DiagnosticMessage; - Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5: DiagnosticMessage; - Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode: DiagnosticMessage; - Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode: DiagnosticMessage; - _0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag: DiagnosticMessage; - A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal: DiagnosticMessage; - A_definite_assignment_assertion_is_not_permitted_in_this_context: DiagnosticMessage; - A_rest_element_must_be_last_in_a_tuple_type: DiagnosticMessage; - A_required_element_cannot_follow_an_optional_element: DiagnosticMessage; - with_statements_are_not_allowed_in_an_async_function_block: DiagnosticMessage; - await_expression_is_only_allowed_within_an_async_function: DiagnosticMessage; - can_only_be_used_in_an_object_literal_property_inside_a_destructuring_assignment: DiagnosticMessage; - The_body_of_an_if_statement_cannot_be_the_empty_statement: DiagnosticMessage; - Global_module_exports_may_only_appear_in_module_files: DiagnosticMessage; - Global_module_exports_may_only_appear_in_declaration_files: DiagnosticMessage; - Global_module_exports_may_only_appear_at_top_level: DiagnosticMessage; - A_parameter_property_cannot_be_declared_using_a_rest_parameter: DiagnosticMessage; - An_abstract_accessor_cannot_have_an_implementation: DiagnosticMessage; - A_default_export_can_only_be_used_in_an_ECMAScript_style_module: DiagnosticMessage; - Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member: DiagnosticMessage; - Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member: DiagnosticMessage; - Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member: DiagnosticMessage; - Dynamic_import_is_only_supported_when_module_flag_is_commonjs_or_esNext: DiagnosticMessage; - Dynamic_import_must_have_one_specifier_as_an_argument: DiagnosticMessage; - Specifier_of_dynamic_import_cannot_be_spread_element: DiagnosticMessage; - Dynamic_import_cannot_have_type_arguments: DiagnosticMessage; - String_literal_with_double_quotes_expected: DiagnosticMessage; - Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal: DiagnosticMessage; - _0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0: DiagnosticMessage; - A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly: DiagnosticMessage; - A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly: DiagnosticMessage; - A_variable_whose_type_is_a_unique_symbol_type_must_be_const: DiagnosticMessage; - unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name: DiagnosticMessage; - unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement: DiagnosticMessage; - unique_symbol_types_are_not_allowed_here: DiagnosticMessage; - An_index_signature_parameter_type_cannot_be_a_type_alias_Consider_writing_0_Colon_1_Colon_2_instead: DiagnosticMessage; - An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead: DiagnosticMessage; - infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type: DiagnosticMessage; - Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here: DiagnosticMessage; - Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here: DiagnosticMessage; - Type_arguments_cannot_be_used_here: DiagnosticMessage; - The_import_meta_meta_property_is_only_allowed_using_ESNext_for_the_target_and_module_compiler_options: DiagnosticMessage; - A_label_is_not_allowed_here: DiagnosticMessage; - Duplicate_identifier_0: DiagnosticMessage; - Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor: DiagnosticMessage; - Static_members_cannot_reference_class_type_parameters: DiagnosticMessage; - Circular_definition_of_import_alias_0: DiagnosticMessage; - Cannot_find_name_0: DiagnosticMessage; - Module_0_has_no_exported_member_1: DiagnosticMessage; - File_0_is_not_a_module: DiagnosticMessage; - Cannot_find_module_0: DiagnosticMessage; - Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity: DiagnosticMessage; - An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements: DiagnosticMessage; - Type_0_recursively_references_itself_as_a_base_type: DiagnosticMessage; - A_class_may_only_extend_another_class: DiagnosticMessage; - An_interface_may_only_extend_a_class_or_another_interface: DiagnosticMessage; - Type_parameter_0_has_a_circular_constraint: DiagnosticMessage; - Generic_type_0_requires_1_type_argument_s: DiagnosticMessage; - Type_0_is_not_generic: DiagnosticMessage; - Global_type_0_must_be_a_class_or_interface_type: DiagnosticMessage; - Global_type_0_must_have_1_type_parameter_s: DiagnosticMessage; - Cannot_find_global_type_0: DiagnosticMessage; - Named_property_0_of_types_1_and_2_are_not_identical: DiagnosticMessage; - Interface_0_cannot_simultaneously_extend_types_1_and_2: DiagnosticMessage; - Excessive_stack_depth_comparing_types_0_and_1: DiagnosticMessage; - Type_0_is_not_assignable_to_type_1: DiagnosticMessage; - Cannot_redeclare_exported_variable_0: DiagnosticMessage; - Property_0_is_missing_in_type_1: DiagnosticMessage; - Property_0_is_private_in_type_1_but_not_in_type_2: DiagnosticMessage; - Types_of_property_0_are_incompatible: DiagnosticMessage; - Property_0_is_optional_in_type_1_but_required_in_type_2: DiagnosticMessage; - Types_of_parameters_0_and_1_are_incompatible: DiagnosticMessage; - Index_signature_is_missing_in_type_0: DiagnosticMessage; - Index_signatures_are_incompatible: DiagnosticMessage; - this_cannot_be_referenced_in_a_module_or_namespace_body: DiagnosticMessage; - this_cannot_be_referenced_in_current_location: DiagnosticMessage; - this_cannot_be_referenced_in_constructor_arguments: DiagnosticMessage; - this_cannot_be_referenced_in_a_static_property_initializer: DiagnosticMessage; - super_can_only_be_referenced_in_a_derived_class: DiagnosticMessage; - super_cannot_be_referenced_in_constructor_arguments: DiagnosticMessage; - Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors: DiagnosticMessage; - super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class: DiagnosticMessage; - Property_0_does_not_exist_on_type_1: DiagnosticMessage; - Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword: DiagnosticMessage; - Property_0_is_private_and_only_accessible_within_class_1: DiagnosticMessage; - An_index_expression_argument_must_be_of_type_string_number_symbol_or_any: DiagnosticMessage; - This_syntax_requires_an_imported_helper_named_1_but_module_0_has_no_exported_member_1: DiagnosticMessage; - Type_0_does_not_satisfy_the_constraint_1: DiagnosticMessage; - Argument_of_type_0_is_not_assignable_to_parameter_of_type_1: DiagnosticMessage; - Call_target_does_not_contain_any_signatures: DiagnosticMessage; - Untyped_function_calls_may_not_accept_type_arguments: DiagnosticMessage; - Value_of_type_0_is_not_callable_Did_you_mean_to_include_new: DiagnosticMessage; - Cannot_invoke_an_expression_whose_type_lacks_a_call_signature_Type_0_has_no_compatible_call_signatures: DiagnosticMessage; - Only_a_void_function_can_be_called_with_the_new_keyword: DiagnosticMessage; - Cannot_use_new_with_an_expression_whose_type_lacks_a_call_or_construct_signature: DiagnosticMessage; - Type_0_cannot_be_converted_to_type_1: DiagnosticMessage; - Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1: DiagnosticMessage; - This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found: DiagnosticMessage; - A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value: DiagnosticMessage; - An_arithmetic_operand_must_be_of_type_any_number_or_an_enum_type: DiagnosticMessage; - The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access: DiagnosticMessage; - The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter: DiagnosticMessage; - The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type: DiagnosticMessage; - The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol: DiagnosticMessage; - The_right_hand_side_of_an_in_expression_must_be_of_type_any_an_object_type_or_a_type_parameter: DiagnosticMessage; - The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type: DiagnosticMessage; - The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type: DiagnosticMessage; - The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access: DiagnosticMessage; - Operator_0_cannot_be_applied_to_types_1_and_2: DiagnosticMessage; - Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined: DiagnosticMessage; - This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap: DiagnosticMessage; - Type_parameter_name_cannot_be_0: DiagnosticMessage; - A_parameter_property_is_only_allowed_in_a_constructor_implementation: DiagnosticMessage; - A_rest_parameter_must_be_of_an_array_type: DiagnosticMessage; - A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation: DiagnosticMessage; - Parameter_0_cannot_be_referenced_in_its_initializer: DiagnosticMessage; - Initializer_of_parameter_0_cannot_reference_identifier_1_declared_after_it: DiagnosticMessage; - Duplicate_string_index_signature: DiagnosticMessage; - Duplicate_number_index_signature: DiagnosticMessage; - A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_properties_or_has_parameter_properties: DiagnosticMessage; - Constructors_for_derived_classes_must_contain_a_super_call: DiagnosticMessage; - A_get_accessor_must_return_a_value: DiagnosticMessage; - Getter_and_setter_accessors_do_not_agree_in_visibility: DiagnosticMessage; - get_and_set_accessor_must_have_the_same_type: DiagnosticMessage; - A_signature_with_an_implementation_cannot_use_a_string_literal_type: DiagnosticMessage; - Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature: DiagnosticMessage; - Overload_signatures_must_all_be_exported_or_non_exported: DiagnosticMessage; - Overload_signatures_must_all_be_ambient_or_non_ambient: DiagnosticMessage; - Overload_signatures_must_all_be_public_private_or_protected: DiagnosticMessage; - Overload_signatures_must_all_be_optional_or_required: DiagnosticMessage; - Function_overload_must_be_static: DiagnosticMessage; - Function_overload_must_not_be_static: DiagnosticMessage; - Function_implementation_name_must_be_0: DiagnosticMessage; - Constructor_implementation_is_missing: DiagnosticMessage; - Function_implementation_is_missing_or_not_immediately_following_the_declaration: DiagnosticMessage; - Multiple_constructor_implementations_are_not_allowed: DiagnosticMessage; - Duplicate_function_implementation: DiagnosticMessage; - Overload_signature_is_not_compatible_with_function_implementation: DiagnosticMessage; - Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local: DiagnosticMessage; - Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters: DiagnosticMessage; - Declaration_name_conflicts_with_built_in_global_identifier_0: DiagnosticMessage; - Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference: DiagnosticMessage; - Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference: DiagnosticMessage; - Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference: DiagnosticMessage; - Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference: DiagnosticMessage; - Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2: DiagnosticMessage; - The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation: DiagnosticMessage; - The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any: DiagnosticMessage; - The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access: DiagnosticMessage; - 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: DiagnosticMessage; - Setters_cannot_return_a_value: DiagnosticMessage; - Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class: DiagnosticMessage; - The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any: DiagnosticMessage; - Property_0_of_type_1_is_not_assignable_to_string_index_type_2: DiagnosticMessage; - Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2: DiagnosticMessage; - Numeric_index_type_0_is_not_assignable_to_string_index_type_1: DiagnosticMessage; - Class_name_cannot_be_0: DiagnosticMessage; - Class_0_incorrectly_extends_base_class_1: DiagnosticMessage; - Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2: DiagnosticMessage; - Class_static_side_0_incorrectly_extends_base_class_static_side_1: DiagnosticMessage; - Class_0_incorrectly_implements_interface_1: DiagnosticMessage; - A_class_may_only_implement_another_class_or_interface: DiagnosticMessage; - Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor: DiagnosticMessage; - Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_property: DiagnosticMessage; - Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function: DiagnosticMessage; - Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function: DiagnosticMessage; - Interface_name_cannot_be_0: DiagnosticMessage; - All_declarations_of_0_must_have_identical_type_parameters: DiagnosticMessage; - Interface_0_incorrectly_extends_interface_1: DiagnosticMessage; - Enum_name_cannot_be_0: DiagnosticMessage; - In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element: DiagnosticMessage; - A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged: DiagnosticMessage; - A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged: DiagnosticMessage; - Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces: DiagnosticMessage; - Ambient_module_declaration_cannot_specify_relative_module_name: DiagnosticMessage; - Module_0_is_hidden_by_a_local_declaration_with_the_same_name: DiagnosticMessage; - Import_name_cannot_be_0: DiagnosticMessage; - Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name: DiagnosticMessage; - Import_declaration_conflicts_with_local_declaration_of_0: DiagnosticMessage; - Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module: DiagnosticMessage; - Types_have_separate_declarations_of_a_private_property_0: DiagnosticMessage; - Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2: DiagnosticMessage; - Property_0_is_protected_in_type_1_but_public_in_type_2: DiagnosticMessage; - Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses: DiagnosticMessage; - Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1: DiagnosticMessage; - The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead: DiagnosticMessage; - Block_scoped_variable_0_used_before_its_declaration: DiagnosticMessage; - Class_0_used_before_its_declaration: DiagnosticMessage; - Enum_0_used_before_its_declaration: DiagnosticMessage; - Cannot_redeclare_block_scoped_variable_0: DiagnosticMessage; - An_enum_member_cannot_have_a_numeric_name: DiagnosticMessage; - The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_type_arguments_explicitly: DiagnosticMessage; - Variable_0_is_used_before_being_assigned: DiagnosticMessage; - Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0: DiagnosticMessage; - Type_alias_0_circularly_references_itself: DiagnosticMessage; - Type_alias_name_cannot_be_0: DiagnosticMessage; - An_AMD_module_cannot_have_multiple_name_assignments: DiagnosticMessage; - Type_0_has_no_property_1_and_no_string_index_signature: DiagnosticMessage; - Type_0_has_no_property_1: DiagnosticMessage; - Type_0_is_not_an_array_type: DiagnosticMessage; - A_rest_element_must_be_last_in_a_destructuring_pattern: DiagnosticMessage; - A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature: DiagnosticMessage; - A_computed_property_name_must_be_of_type_string_number_symbol_or_any: DiagnosticMessage; - this_cannot_be_referenced_in_a_computed_property_name: DiagnosticMessage; - super_cannot_be_referenced_in_a_computed_property_name: DiagnosticMessage; - A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type: DiagnosticMessage; - Cannot_find_global_value_0: DiagnosticMessage; - The_0_operator_cannot_be_applied_to_type_symbol: DiagnosticMessage; - Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object: DiagnosticMessage; - A_computed_property_name_of_the_form_0_must_be_of_type_symbol: DiagnosticMessage; - Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher: DiagnosticMessage; - Enum_declarations_must_all_be_const_or_non_const: DiagnosticMessage; - In_const_enum_declarations_member_initializer_must_be_constant_expression: DiagnosticMessage; - 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: DiagnosticMessage; - A_const_enum_member_can_only_be_accessed_using_a_string_literal: DiagnosticMessage; - const_enum_member_initializer_was_evaluated_to_a_non_finite_value: DiagnosticMessage; - const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN: DiagnosticMessage; - Property_0_does_not_exist_on_const_enum_1: DiagnosticMessage; - let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations: DiagnosticMessage; - Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1: DiagnosticMessage; - The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation: DiagnosticMessage; - Export_declaration_conflicts_with_exported_declaration_of_0: DiagnosticMessage; - The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access: DiagnosticMessage; - Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator: DiagnosticMessage; - An_iterator_must_have_a_next_method: DiagnosticMessage; - The_type_returned_by_the_next_method_of_an_iterator_must_have_a_value_property: DiagnosticMessage; - The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern: DiagnosticMessage; - Cannot_redeclare_identifier_0_in_catch_clause: DiagnosticMessage; - Tuple_type_0_with_length_1_cannot_be_assigned_to_tuple_with_length_2: DiagnosticMessage; - Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher: DiagnosticMessage; - Type_0_is_not_an_array_type_or_a_string_type: DiagnosticMessage; - The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression: DiagnosticMessage; - Module_0_resolves_to_a_non_module_entity_and_cannot_be_imported_using_this_construct: DiagnosticMessage; - Module_0_uses_export_and_cannot_be_used_with_export_Asterisk: DiagnosticMessage; - An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments: DiagnosticMessage; - A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments: DiagnosticMessage; - A_rest_element_cannot_contain_a_binding_pattern: DiagnosticMessage; - _0_is_referenced_directly_or_indirectly_in_its_own_type_annotation: DiagnosticMessage; - Cannot_find_namespace_0: DiagnosticMessage; - Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator: DiagnosticMessage; - A_generator_cannot_have_a_void_type_annotation: DiagnosticMessage; - _0_is_referenced_directly_or_indirectly_in_its_own_base_expression: DiagnosticMessage; - Type_0_is_not_a_constructor_function_type: DiagnosticMessage; - No_base_constructor_has_the_specified_number_of_type_arguments: DiagnosticMessage; - Base_constructor_return_type_0_is_not_a_class_or_interface_type: DiagnosticMessage; - Base_constructors_must_all_have_the_same_return_type: DiagnosticMessage; - Cannot_create_an_instance_of_an_abstract_class: DiagnosticMessage; - Overload_signatures_must_all_be_abstract_or_non_abstract: DiagnosticMessage; - Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression: DiagnosticMessage; - Classes_containing_abstract_methods_must_be_marked_abstract: DiagnosticMessage; - Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2: DiagnosticMessage; - All_declarations_of_an_abstract_method_must_be_consecutive: DiagnosticMessage; - Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type: DiagnosticMessage; - A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard: DiagnosticMessage; - An_async_iterator_must_have_a_next_method: DiagnosticMessage; - Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions: DiagnosticMessage; - Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions: DiagnosticMessage; - The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method: DiagnosticMessage; - yield_expressions_cannot_be_used_in_a_parameter_initializer: DiagnosticMessage; - await_expressions_cannot_be_used_in_a_parameter_initializer: DiagnosticMessage; - Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value: DiagnosticMessage; - A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface: DiagnosticMessage; - The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary: DiagnosticMessage; - A_module_cannot_have_multiple_default_exports: DiagnosticMessage; - Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions: DiagnosticMessage; - Property_0_is_incompatible_with_index_signature: DiagnosticMessage; - Object_is_possibly_null: DiagnosticMessage; - Object_is_possibly_undefined: DiagnosticMessage; - Object_is_possibly_null_or_undefined: DiagnosticMessage; - A_function_returning_never_cannot_have_a_reachable_end_point: DiagnosticMessage; - Enum_type_0_has_members_with_initializers_that_are_not_literals: DiagnosticMessage; - Type_0_cannot_be_used_to_index_type_1: DiagnosticMessage; - Type_0_has_no_matching_index_signature_for_type_1: DiagnosticMessage; - Type_0_cannot_be_used_as_an_index_type: DiagnosticMessage; - Cannot_assign_to_0_because_it_is_not_a_variable: DiagnosticMessage; - Cannot_assign_to_0_because_it_is_a_constant_or_a_read_only_property: DiagnosticMessage; - The_target_of_an_assignment_must_be_a_variable_or_a_property_access: DiagnosticMessage; - Index_signature_in_type_0_only_permits_reading: DiagnosticMessage; - Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference: DiagnosticMessage; - Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference: DiagnosticMessage; - A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any: DiagnosticMessage; - Property_0_has_conflicting_declarations_and_is_inaccessible_in_type_1: DiagnosticMessage; - The_type_returned_by_the_next_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property: DiagnosticMessage; - Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator: DiagnosticMessage; - Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator: DiagnosticMessage; - Generic_type_instantiation_is_excessively_deep_and_possibly_infinite: DiagnosticMessage; - Property_0_does_not_exist_on_type_1_Did_you_mean_2: DiagnosticMessage; - Cannot_find_name_0_Did_you_mean_1: DiagnosticMessage; - Computed_values_are_not_permitted_in_an_enum_with_string_valued_members: DiagnosticMessage; - Expected_0_arguments_but_got_1: DiagnosticMessage; - Expected_at_least_0_arguments_but_got_1: DiagnosticMessage; - Expected_0_arguments_but_got_1_or_more: DiagnosticMessage; - Expected_at_least_0_arguments_but_got_1_or_more: DiagnosticMessage; - Expected_0_type_arguments_but_got_1: DiagnosticMessage; - Type_0_has_no_properties_in_common_with_type_1: DiagnosticMessage; - Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it: DiagnosticMessage; - Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2: DiagnosticMessage; - Base_class_expressions_cannot_reference_class_type_parameters: DiagnosticMessage; - The_containing_function_or_module_body_is_too_large_for_control_flow_analysis: DiagnosticMessage; - Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor: DiagnosticMessage; - Property_0_is_used_before_being_assigned: DiagnosticMessage; - A_rest_element_cannot_have_a_property_name: DiagnosticMessage; - Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations: DiagnosticMessage; - Type_0_is_not_an_array_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators: DiagnosticMessage; - Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators: DiagnosticMessage; - Property_0_does_not_exist_on_type_1_Did_you_forget_to_use_await: DiagnosticMessage; - Object_is_of_type_unknown: DiagnosticMessage; - Rest_signatures_are_incompatible: DiagnosticMessage; - Property_0_is_incompatible_with_rest_element_type: DiagnosticMessage; - A_rest_element_type_must_be_an_array_type: DiagnosticMessage; - JSX_element_attributes_type_0_may_not_be_a_union_type: DiagnosticMessage; - The_return_type_of_a_JSX_element_constructor_must_return_an_object_type: DiagnosticMessage; - JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist: DiagnosticMessage; - Property_0_in_type_1_is_not_assignable_to_type_2: DiagnosticMessage; - JSX_element_type_0_does_not_have_any_construct_or_call_signatures: DiagnosticMessage; - JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements: DiagnosticMessage; - Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property: DiagnosticMessage; - JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property: DiagnosticMessage; - The_global_type_JSX_0_may_not_have_more_than_one_property: DiagnosticMessage; - JSX_spread_child_must_be_an_array_type: DiagnosticMessage; - Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity: DiagnosticMessage; - A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums: DiagnosticMessage; - Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead: DiagnosticMessage; - Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1: DiagnosticMessage; - Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_package_author_to_update_the_package_definition: DiagnosticMessage; - Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_the_package_definition: DiagnosticMessage; - JSX_expressions_must_have_one_parent_element: DiagnosticMessage; - Type_0_provides_no_match_for_the_signature_1: DiagnosticMessage; - super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher: DiagnosticMessage; - super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions: DiagnosticMessage; - Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module: DiagnosticMessage; - Cannot_find_name_0_Did_you_mean_the_static_member_1_0: DiagnosticMessage; - Cannot_find_name_0_Did_you_mean_the_instance_member_this_0: DiagnosticMessage; - Invalid_module_name_in_augmentation_module_0_cannot_be_found: DiagnosticMessage; - Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented: DiagnosticMessage; - Exports_and_export_assignments_are_not_permitted_in_module_augmentations: DiagnosticMessage; - Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module: DiagnosticMessage; - export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible: DiagnosticMessage; - Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations: DiagnosticMessage; - Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context: DiagnosticMessage; - Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity: DiagnosticMessage; - Cannot_assign_a_0_constructor_type_to_a_1_constructor_type: DiagnosticMessage; - Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration: DiagnosticMessage; - Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration: DiagnosticMessage; - Cannot_extend_a_class_0_Class_constructor_is_marked_as_private: DiagnosticMessage; - Accessors_must_both_be_abstract_or_non_abstract: DiagnosticMessage; - A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type: DiagnosticMessage; - Type_0_is_not_comparable_to_type_1: DiagnosticMessage; - A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void: DiagnosticMessage; - A_0_parameter_must_be_the_first_parameter: DiagnosticMessage; - A_constructor_cannot_have_a_this_parameter: DiagnosticMessage; - get_and_set_accessor_must_have_the_same_this_type: DiagnosticMessage; - this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation: DiagnosticMessage; - The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1: DiagnosticMessage; - The_this_types_of_each_signature_are_incompatible: DiagnosticMessage; - _0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead: DiagnosticMessage; - All_declarations_of_0_must_have_identical_modifiers: DiagnosticMessage; - Cannot_find_type_definition_file_for_0: DiagnosticMessage; - Cannot_extend_an_interface_0_Did_you_mean_implements: DiagnosticMessage; - An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead: DiagnosticMessage; - _0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible: DiagnosticMessage; - _0_only_refers_to_a_type_but_is_being_used_as_a_value_here: DiagnosticMessage; - Namespace_0_has_no_exported_member_1: DiagnosticMessage; - Left_side_of_comma_operator_is_unused_and_has_no_side_effects: DiagnosticMessage; - The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead: DiagnosticMessage; - An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option: DiagnosticMessage; - Spread_types_may_only_be_created_from_object_types: DiagnosticMessage; - Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1: DiagnosticMessage; - Rest_types_may_only_be_created_from_object_types: DiagnosticMessage; - The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access: DiagnosticMessage; - _0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here: DiagnosticMessage; - The_operand_of_a_delete_operator_must_be_a_property_reference: DiagnosticMessage; - The_operand_of_a_delete_operator_cannot_be_a_read_only_property: DiagnosticMessage; - An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option: DiagnosticMessage; - Required_type_parameters_may_not_follow_optional_type_parameters: DiagnosticMessage; - Generic_type_0_requires_between_1_and_2_type_arguments: DiagnosticMessage; - Cannot_use_namespace_0_as_a_value: DiagnosticMessage; - Cannot_use_namespace_0_as_a_type: DiagnosticMessage; - _0_are_specified_twice_The_attribute_named_0_will_be_overwritten: DiagnosticMessage; - A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option: DiagnosticMessage; - A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option: DiagnosticMessage; - 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: DiagnosticMessage; - The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context: DiagnosticMessage; - Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor: DiagnosticMessage; - Type_parameter_0_has_a_circular_default: DiagnosticMessage; - Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2: DiagnosticMessage; - Duplicate_declaration_0: DiagnosticMessage; - Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated: DiagnosticMessage; - Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass: DiagnosticMessage; - Cannot_invoke_an_object_which_is_possibly_null: DiagnosticMessage; - Cannot_invoke_an_object_which_is_possibly_undefined: DiagnosticMessage; - Cannot_invoke_an_object_which_is_possibly_null_or_undefined: DiagnosticMessage; - Module_0_has_no_exported_member_1_Did_you_mean_2: DiagnosticMessage; - Class_name_cannot_be_Object_when_targeting_ES5_with_module_0: DiagnosticMessage; - Cannot_find_lib_definition_for_0: DiagnosticMessage; - Cannot_find_lib_definition_for_0_Did_you_mean_1: DiagnosticMessage; - Import_declaration_0_is_using_private_name_1: DiagnosticMessage; - Type_parameter_0_of_exported_class_has_or_is_using_private_name_1: DiagnosticMessage; - Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1: DiagnosticMessage; - Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1: DiagnosticMessage; - Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1: DiagnosticMessage; - Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1: DiagnosticMessage; - Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1: DiagnosticMessage; - Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1: DiagnosticMessage; - Type_parameter_0_of_exported_function_has_or_is_using_private_name_1: DiagnosticMessage; - Implements_clause_of_exported_class_0_has_or_is_using_private_name_1: DiagnosticMessage; - extends_clause_of_exported_class_0_has_or_is_using_private_name_1: DiagnosticMessage; - extends_clause_of_exported_interface_0_has_or_is_using_private_name_1: DiagnosticMessage; - Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: DiagnosticMessage; - Exported_variable_0_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; - Exported_variable_0_has_or_is_using_private_name_1: DiagnosticMessage; - Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: DiagnosticMessage; - Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; - Public_static_property_0_of_exported_class_has_or_is_using_private_name_1: DiagnosticMessage; - Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: DiagnosticMessage; - Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; - Public_property_0_of_exported_class_has_or_is_using_private_name_1: DiagnosticMessage; - Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; - Property_0_of_exported_interface_has_or_is_using_private_name_1: DiagnosticMessage; - Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; - Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1: DiagnosticMessage; - Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; - Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1: DiagnosticMessage; - Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: DiagnosticMessage; - Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; - Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1: DiagnosticMessage; - Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: DiagnosticMessage; - Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; - Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1: DiagnosticMessage; - Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1: DiagnosticMessage; - Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0: DiagnosticMessage; - Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1: DiagnosticMessage; - Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0: DiagnosticMessage; - Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1: DiagnosticMessage; - Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0: DiagnosticMessage; - Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named: DiagnosticMessage; - Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1: DiagnosticMessage; - Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0: DiagnosticMessage; - Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named: DiagnosticMessage; - Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1: DiagnosticMessage; - Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0: DiagnosticMessage; - Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1: DiagnosticMessage; - Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0: DiagnosticMessage; - Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named: DiagnosticMessage; - Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1: DiagnosticMessage; - Return_type_of_exported_function_has_or_is_using_private_name_0: DiagnosticMessage; - Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: DiagnosticMessage; - Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; - Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1: DiagnosticMessage; - Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; - Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1: DiagnosticMessage; - Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; - Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1: DiagnosticMessage; - Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: DiagnosticMessage; - Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; - Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1: DiagnosticMessage; - Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: DiagnosticMessage; - Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; - Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1: DiagnosticMessage; - Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; - Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1: DiagnosticMessage; - Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: DiagnosticMessage; - Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; - Parameter_0_of_exported_function_has_or_is_using_private_name_1: DiagnosticMessage; - Exported_type_alias_0_has_or_is_using_private_name_1: DiagnosticMessage; - Default_export_of_the_module_has_or_is_using_private_name_0: DiagnosticMessage; - Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1: DiagnosticMessage; - Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict: DiagnosticMessage; - Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; - Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1: DiagnosticMessage; - Property_0_of_exported_class_expression_may_not_be_private_or_protected: DiagnosticMessage; - Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: DiagnosticMessage; - Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; - Public_static_method_0_of_exported_class_has_or_is_using_private_name_1: DiagnosticMessage; - Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: DiagnosticMessage; - Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; - Public_method_0_of_exported_class_has_or_is_using_private_name_1: DiagnosticMessage; - Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2: DiagnosticMessage; - Method_0_of_exported_interface_has_or_is_using_private_name_1: DiagnosticMessage; - The_current_host_does_not_support_the_0_option: DiagnosticMessage; - Cannot_find_the_common_subdirectory_path_for_the_input_files: DiagnosticMessage; - File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0: DiagnosticMessage; - Cannot_read_file_0_Colon_1: DiagnosticMessage; - Failed_to_parse_file_0_Colon_1: DiagnosticMessage; - Unknown_compiler_option_0: DiagnosticMessage; - Compiler_option_0_requires_a_value_of_type_1: DiagnosticMessage; - Could_not_write_file_0_Colon_1: DiagnosticMessage; - Option_project_cannot_be_mixed_with_source_files_on_a_command_line: DiagnosticMessage; - Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher: DiagnosticMessage; - Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided: DiagnosticMessage; - Option_0_cannot_be_specified_without_specifying_option_1: DiagnosticMessage; - Option_0_cannot_be_specified_with_option_1: DiagnosticMessage; - A_tsconfig_json_file_is_already_defined_at_Colon_0: DiagnosticMessage; - Cannot_write_file_0_because_it_would_overwrite_input_file: DiagnosticMessage; - Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files: DiagnosticMessage; - Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0: DiagnosticMessage; - The_specified_path_does_not_exist_Colon_0: DiagnosticMessage; - Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier: DiagnosticMessage; - Option_paths_cannot_be_used_without_specifying_baseUrl_option: DiagnosticMessage; - Pattern_0_can_have_at_most_one_Asterisk_character: DiagnosticMessage; - Substitution_0_in_pattern_1_in_can_have_at_most_one_Asterisk_character: DiagnosticMessage; - Substitutions_for_pattern_0_should_be_an_array: DiagnosticMessage; - Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2: DiagnosticMessage; - File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0: DiagnosticMessage; - Substitutions_for_pattern_0_shouldn_t_be_an_empty_array: DiagnosticMessage; - Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name: DiagnosticMessage; - Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig: DiagnosticMessage; - Option_0_cannot_be_specified_without_specifying_option_1_or_option_2: DiagnosticMessage; - Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy: DiagnosticMessage; - Generates_a_sourcemap_for_each_corresponding_d_ts_file: DiagnosticMessage; - Concatenate_and_emit_output_to_single_file: DiagnosticMessage; - Generates_corresponding_d_ts_file: DiagnosticMessage; - Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations: DiagnosticMessage; - Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations: DiagnosticMessage; - Watch_input_files: DiagnosticMessage; - Redirect_output_structure_to_the_directory: DiagnosticMessage; - Do_not_erase_const_enum_declarations_in_generated_code: DiagnosticMessage; - Do_not_emit_outputs_if_any_errors_were_reported: DiagnosticMessage; - Do_not_emit_comments_to_output: DiagnosticMessage; - Do_not_emit_outputs: DiagnosticMessage; - Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking: DiagnosticMessage; - Skip_type_checking_of_declaration_files: DiagnosticMessage; - Do_not_resolve_the_real_path_of_symlinks: DiagnosticMessage; - Only_emit_d_ts_declaration_files: DiagnosticMessage; - Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_ES2018_or_ESNEXT: DiagnosticMessage; - Specify_module_code_generation_Colon_none_commonjs_amd_system_umd_es2015_or_ESNext: DiagnosticMessage; - Print_this_message: DiagnosticMessage; - Print_the_compiler_s_version: DiagnosticMessage; - Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json: DiagnosticMessage; - Syntax_Colon_0: DiagnosticMessage; - options: DiagnosticMessage; - file: DiagnosticMessage; - Examples_Colon_0: DiagnosticMessage; - Options_Colon: DiagnosticMessage; - Version_0: DiagnosticMessage; - Insert_command_line_options_and_files_from_a_file: DiagnosticMessage; - Starting_compilation_in_watch_mode: DiagnosticMessage; - File_change_detected_Starting_incremental_compilation: DiagnosticMessage; - KIND: DiagnosticMessage; - FILE: DiagnosticMessage; - VERSION: DiagnosticMessage; - LOCATION: DiagnosticMessage; - DIRECTORY: DiagnosticMessage; - STRATEGY: DiagnosticMessage; - FILE_OR_DIRECTORY: DiagnosticMessage; - Generates_corresponding_map_file: DiagnosticMessage; - Compiler_option_0_expects_an_argument: DiagnosticMessage; - Unterminated_quoted_string_in_response_file_0: DiagnosticMessage; - Argument_for_0_option_must_be_Colon_1: DiagnosticMessage; - Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1: DiagnosticMessage; - Unsupported_locale_0: DiagnosticMessage; - Unable_to_open_file_0: DiagnosticMessage; - Corrupted_locale_file_0: DiagnosticMessage; - Raise_error_on_expressions_and_declarations_with_an_implied_any_type: DiagnosticMessage; - File_0_not_found: DiagnosticMessage; - File_0_has_unsupported_extension_The_only_supported_extensions_are_1: DiagnosticMessage; - Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures: DiagnosticMessage; - Do_not_emit_declarations_for_code_that_has_an_internal_annotation: DiagnosticMessage; - Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir: DiagnosticMessage; - File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files: DiagnosticMessage; - Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix: DiagnosticMessage; - NEWLINE: DiagnosticMessage; - Option_0_can_only_be_specified_in_tsconfig_json_file: DiagnosticMessage; - Enables_experimental_support_for_ES7_decorators: DiagnosticMessage; - Enables_experimental_support_for_emitting_type_metadata_for_decorators: DiagnosticMessage; - Enables_experimental_support_for_ES7_async_functions: DiagnosticMessage; - Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6: DiagnosticMessage; - Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file: DiagnosticMessage; - Successfully_created_a_tsconfig_json_file: DiagnosticMessage; - Suppress_excess_property_checks_for_object_literals: DiagnosticMessage; - Stylize_errors_and_messages_using_color_and_context_experimental: DiagnosticMessage; - Do_not_report_errors_on_unused_labels: DiagnosticMessage; - Report_error_when_not_all_code_paths_in_function_return_a_value: DiagnosticMessage; - Report_errors_for_fallthrough_cases_in_switch_statement: DiagnosticMessage; - Do_not_report_errors_on_unreachable_code: DiagnosticMessage; - Disallow_inconsistently_cased_references_to_the_same_file: DiagnosticMessage; - Specify_library_files_to_be_included_in_the_compilation: DiagnosticMessage; - Specify_JSX_code_generation_Colon_preserve_react_native_or_react: DiagnosticMessage; - File_0_has_an_unsupported_extension_so_skipping_it: DiagnosticMessage; - Only_amd_and_system_modules_are_supported_alongside_0: DiagnosticMessage; - Base_directory_to_resolve_non_absolute_module_names: DiagnosticMessage; - Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit: DiagnosticMessage; - Enable_tracing_of_the_name_resolution_process: DiagnosticMessage; - Resolving_module_0_from_1: DiagnosticMessage; - Explicitly_specified_module_resolution_kind_Colon_0: DiagnosticMessage; - Module_resolution_kind_is_not_specified_using_0: DiagnosticMessage; - Module_name_0_was_successfully_resolved_to_1: DiagnosticMessage; - Module_name_0_was_not_resolved: DiagnosticMessage; - paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0: DiagnosticMessage; - Module_name_0_matched_pattern_1: DiagnosticMessage; - Trying_substitution_0_candidate_module_location_Colon_1: DiagnosticMessage; - Resolving_module_name_0_relative_to_base_url_1_2: DiagnosticMessage; - Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1: DiagnosticMessage; - File_0_does_not_exist: DiagnosticMessage; - File_0_exist_use_it_as_a_name_resolution_result: DiagnosticMessage; - Loading_module_0_from_node_modules_folder_target_file_type_1: DiagnosticMessage; - Found_package_json_at_0: DiagnosticMessage; - package_json_does_not_have_a_0_field: DiagnosticMessage; - package_json_has_0_field_1_that_references_2: DiagnosticMessage; - Allow_javascript_files_to_be_compiled: DiagnosticMessage; - Option_0_should_have_array_of_strings_as_a_value: DiagnosticMessage; - Checking_if_0_is_the_longest_matching_prefix_for_1_2: DiagnosticMessage; - Expected_type_of_0_field_in_package_json_to_be_string_got_1: DiagnosticMessage; - baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1: DiagnosticMessage; - rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0: DiagnosticMessage; - Longest_matching_prefix_for_0_is_1: DiagnosticMessage; - Loading_0_from_the_root_dir_1_candidate_location_2: DiagnosticMessage; - Trying_other_entries_in_rootDirs: DiagnosticMessage; - Module_resolution_using_rootDirs_has_failed: DiagnosticMessage; - Do_not_emit_use_strict_directives_in_module_output: DiagnosticMessage; - Enable_strict_null_checks: DiagnosticMessage; - Unknown_option_excludes_Did_you_mean_exclude: DiagnosticMessage; - Raise_error_on_this_expressions_with_an_implied_any_type: DiagnosticMessage; - Resolving_type_reference_directive_0_containing_file_1_root_directory_2: DiagnosticMessage; - Resolving_using_primary_search_paths: DiagnosticMessage; - Resolving_from_node_modules_folder: DiagnosticMessage; - Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2: DiagnosticMessage; - Type_reference_directive_0_was_not_resolved: DiagnosticMessage; - Resolving_with_primary_search_path_0: DiagnosticMessage; - Root_directory_cannot_be_determined_skipping_primary_search_paths: DiagnosticMessage; - Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set: DiagnosticMessage; - Type_declaration_files_to_be_included_in_compilation: DiagnosticMessage; - Looking_up_in_node_modules_folder_initial_location_0: DiagnosticMessage; - Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder: DiagnosticMessage; - Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1: DiagnosticMessage; - Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set: DiagnosticMessage; - Resolving_real_path_for_0_result_1: DiagnosticMessage; - Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system: DiagnosticMessage; - File_name_0_has_a_1_extension_stripping_it: DiagnosticMessage; - _0_is_declared_but_its_value_is_never_read: DiagnosticMessage; - Report_errors_on_unused_locals: DiagnosticMessage; - Report_errors_on_unused_parameters: DiagnosticMessage; - The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files: DiagnosticMessage; - Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1: DiagnosticMessage; - Property_0_is_declared_but_its_value_is_never_read: DiagnosticMessage; - Import_emit_helpers_from_tslib: DiagnosticMessage; - Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2: DiagnosticMessage; - Parse_in_strict_mode_and_emit_use_strict_for_each_source_file: DiagnosticMessage; - Module_0_was_resolved_to_1_but_jsx_is_not_set: DiagnosticMessage; - Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1: DiagnosticMessage; - Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified: DiagnosticMessage; - Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h: DiagnosticMessage; - Resolution_for_module_0_was_found_in_cache_from_location_1: DiagnosticMessage; - Directory_0_does_not_exist_skipping_all_lookups_in_it: DiagnosticMessage; - Show_diagnostic_information: DiagnosticMessage; - Show_verbose_diagnostic_information: DiagnosticMessage; - Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file: DiagnosticMessage; - Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set: DiagnosticMessage; - Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule: DiagnosticMessage; - Print_names_of_generated_files_part_of_the_compilation: DiagnosticMessage; - Print_names_of_files_part_of_the_compilation: DiagnosticMessage; - The_locale_used_when_displaying_messages_to_the_user_e_g_en_us: DiagnosticMessage; - Do_not_generate_custom_helper_functions_like_extends_in_compiled_output: DiagnosticMessage; - Do_not_include_the_default_library_file_lib_d_ts: DiagnosticMessage; - Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files: DiagnosticMessage; - Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files: DiagnosticMessage; - List_of_folders_to_include_type_definitions_from: DiagnosticMessage; - Disable_size_limitations_on_JavaScript_projects: DiagnosticMessage; - The_character_set_of_the_input_files: DiagnosticMessage; - Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files: DiagnosticMessage; - Do_not_truncate_error_messages: DiagnosticMessage; - Output_directory_for_generated_declaration_files: DiagnosticMessage; - A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl: DiagnosticMessage; - List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime: DiagnosticMessage; - Show_all_compiler_options: DiagnosticMessage; - Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file: DiagnosticMessage; - Command_line_Options: DiagnosticMessage; - Basic_Options: DiagnosticMessage; - Strict_Type_Checking_Options: DiagnosticMessage; - Module_Resolution_Options: DiagnosticMessage; - Source_Map_Options: DiagnosticMessage; - Additional_Checks: DiagnosticMessage; - Experimental_Options: DiagnosticMessage; - Advanced_Options: DiagnosticMessage; - Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3: DiagnosticMessage; - Enable_all_strict_type_checking_options: DiagnosticMessage; - List_of_language_service_plugins: DiagnosticMessage; - Scoped_package_detected_looking_in_0: DiagnosticMessage; - Reusing_resolution_of_module_0_to_file_1_from_old_program: DiagnosticMessage; - Reusing_module_resolutions_originating_in_0_since_resolutions_are_unchanged_from_old_program: DiagnosticMessage; - Disable_strict_checking_of_generic_signatures_in_function_types: DiagnosticMessage; - Enable_strict_checking_of_function_types: DiagnosticMessage; - Enable_strict_checking_of_property_initialization_in_classes: DiagnosticMessage; - Numeric_separators_are_not_allowed_here: DiagnosticMessage; - Multiple_consecutive_numeric_separators_are_not_permitted: DiagnosticMessage; - Found_package_json_at_0_Package_ID_is_1: DiagnosticMessage; - Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen: DiagnosticMessage; - All_imports_in_import_declaration_are_unused: DiagnosticMessage; - Found_1_error_Watching_for_file_changes: DiagnosticMessage; - Found_0_errors_Watching_for_file_changes: DiagnosticMessage; - Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols: DiagnosticMessage; - _0_is_declared_but_never_used: DiagnosticMessage; - Include_modules_imported_with_json_extension: DiagnosticMessage; - All_destructured_elements_are_unused: DiagnosticMessage; - All_variables_are_unused: DiagnosticMessage; - Projects_to_reference: DiagnosticMessage; - Enable_project_compilation: DiagnosticMessage; - Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0: DiagnosticMessage; - Composite_projects_may_not_disable_declaration_emit: DiagnosticMessage; - Output_file_0_has_not_been_built_from_source_file_1: DiagnosticMessage; - Referenced_project_0_must_have_setting_composite_Colon_true: DiagnosticMessage; - File_0_is_not_in_project_file_list_Projects_must_list_all_files_or_use_an_include_pattern: DiagnosticMessage; - Cannot_prepend_project_0_because_it_does_not_have_outFile_set: DiagnosticMessage; - Output_file_0_from_project_1_does_not_exist: DiagnosticMessage; - Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2: DiagnosticMessage; - Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2: DiagnosticMessage; - Project_0_is_out_of_date_because_output_file_1_does_not_exist: DiagnosticMessage; - Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date: DiagnosticMessage; - Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies: DiagnosticMessage; - Projects_in_this_build_Colon_0: DiagnosticMessage; - A_non_dry_build_would_delete_the_following_files_Colon_0: DiagnosticMessage; - A_non_dry_build_would_build_project_0: DiagnosticMessage; - Building_project_0: DiagnosticMessage; - Updating_output_timestamps_of_project_0: DiagnosticMessage; - delete_this_Project_0_is_up_to_date_because_it_was_previously_built: DiagnosticMessage; - Project_0_is_up_to_date: DiagnosticMessage; - Skipping_build_of_project_0_because_its_dependency_1_has_errors: DiagnosticMessage; - Project_0_can_t_be_built_because_its_dependency_1_has_errors: DiagnosticMessage; - Build_one_or_more_projects_and_their_dependencies_if_out_of_date: DiagnosticMessage; - Delete_the_outputs_of_all_projects: DiagnosticMessage; - Enable_verbose_logging: DiagnosticMessage; - Show_what_would_be_built_or_deleted_if_specified_with_clean: DiagnosticMessage; - Build_all_projects_including_those_that_appear_to_be_up_to_date: DiagnosticMessage; - Option_build_must_be_the_first_command_line_argument: DiagnosticMessage; - Options_0_and_1_cannot_be_combined: DiagnosticMessage; - Skipping_clean_because_not_all_projects_could_be_located: DiagnosticMessage; - Variable_0_implicitly_has_an_1_type: DiagnosticMessage; - Parameter_0_implicitly_has_an_1_type: DiagnosticMessage; - Member_0_implicitly_has_an_1_type: DiagnosticMessage; - new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type: DiagnosticMessage; - _0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type: DiagnosticMessage; - Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type: DiagnosticMessage; - Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type: DiagnosticMessage; - Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number: DiagnosticMessage; - Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type: DiagnosticMessage; - Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature: DiagnosticMessage; - Object_literal_s_property_0_implicitly_has_an_1_type: DiagnosticMessage; - Rest_parameter_0_implicitly_has_an_any_type: DiagnosticMessage; - Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type: DiagnosticMessage; - _0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer: DiagnosticMessage; - _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: DiagnosticMessage; - 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: DiagnosticMessage; - Generator_implicitly_has_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type: DiagnosticMessage; - JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists: DiagnosticMessage; - Unreachable_code_detected: DiagnosticMessage; - Unused_label: DiagnosticMessage; - Fallthrough_case_in_switch: DiagnosticMessage; - Not_all_code_paths_return_a_value: DiagnosticMessage; - Binding_element_0_implicitly_has_an_1_type: DiagnosticMessage; - Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation: DiagnosticMessage; - Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation: DiagnosticMessage; - Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined: DiagnosticMessage; - Try_npm_install_types_Slash_0_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0: DiagnosticMessage; - Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0: DiagnosticMessage; - Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports: DiagnosticMessage; - Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead: DiagnosticMessage; - Mapped_object_type_implicitly_has_an_any_template_type: DiagnosticMessage; - If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_0: DiagnosticMessage; - You_cannot_rename_this_element: DiagnosticMessage; - You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library: DiagnosticMessage; - import_can_only_be_used_in_a_ts_file: DiagnosticMessage; - export_can_only_be_used_in_a_ts_file: DiagnosticMessage; - type_parameter_declarations_can_only_be_used_in_a_ts_file: DiagnosticMessage; - implements_clauses_can_only_be_used_in_a_ts_file: DiagnosticMessage; - interface_declarations_can_only_be_used_in_a_ts_file: DiagnosticMessage; - module_declarations_can_only_be_used_in_a_ts_file: DiagnosticMessage; - type_aliases_can_only_be_used_in_a_ts_file: DiagnosticMessage; - _0_can_only_be_used_in_a_ts_file: DiagnosticMessage; - types_can_only_be_used_in_a_ts_file: DiagnosticMessage; - type_arguments_can_only_be_used_in_a_ts_file: DiagnosticMessage; - parameter_modifiers_can_only_be_used_in_a_ts_file: DiagnosticMessage; - non_null_assertions_can_only_be_used_in_a_ts_file: DiagnosticMessage; - enum_declarations_can_only_be_used_in_a_ts_file: DiagnosticMessage; - type_assertion_expressions_can_only_be_used_in_a_ts_file: DiagnosticMessage; - Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0: DiagnosticMessage; - Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0: DiagnosticMessage; - Report_errors_in_js_files: DiagnosticMessage; - JSDoc_types_can_only_be_used_inside_documentation_comments: DiagnosticMessage; - JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags: DiagnosticMessage; - JSDoc_0_is_not_attached_to_a_class: DiagnosticMessage; - JSDoc_0_1_does_not_match_the_extends_2_clause: DiagnosticMessage; - JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name: DiagnosticMessage; - Class_declarations_cannot_have_more_than_one_augments_or_extends_tag: DiagnosticMessage; - Expected_0_type_arguments_provide_these_with_an_extends_tag: DiagnosticMessage; - Expected_0_1_type_arguments_provide_these_with_an_extends_tag: DiagnosticMessage; - JSDoc_may_only_appear_in_the_last_parameter_of_a_signature: DiagnosticMessage; - JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type: DiagnosticMessage; - Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_class_extends_clause: DiagnosticMessage; - class_expressions_are_not_currently_supported: DiagnosticMessage; - Language_service_is_disabled: DiagnosticMessage; - JSX_attributes_must_only_be_assigned_a_non_empty_expression: DiagnosticMessage; - JSX_elements_cannot_have_multiple_attributes_with_the_same_name: DiagnosticMessage; - Expected_corresponding_JSX_closing_tag_for_0: DiagnosticMessage; - JSX_attribute_expected: DiagnosticMessage; - Cannot_use_JSX_unless_the_jsx_flag_is_provided: DiagnosticMessage; - A_constructor_cannot_contain_a_super_call_when_its_class_extends_null: DiagnosticMessage; - 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: DiagnosticMessage; - A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses: DiagnosticMessage; - JSX_element_0_has_no_corresponding_closing_tag: DiagnosticMessage; - super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class: DiagnosticMessage; - Unknown_type_acquisition_option_0: DiagnosticMessage; - super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class: DiagnosticMessage; - _0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2: DiagnosticMessage; - Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor: DiagnosticMessage; - JSX_fragment_has_no_corresponding_closing_tag: DiagnosticMessage; - Expected_corresponding_closing_tag_for_JSX_fragment: DiagnosticMessage; - JSX_fragment_is_not_supported_when_using_jsxFactory: DiagnosticMessage; - JSX_fragment_is_not_supported_when_using_an_inline_JSX_factory_pragma: DiagnosticMessage; - Circularity_detected_while_resolving_configuration_Colon_0: DiagnosticMessage; - A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not: DiagnosticMessage; - The_files_list_in_config_file_0_is_empty: DiagnosticMessage; - No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2: DiagnosticMessage; - File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module: DiagnosticMessage; - This_constructor_function_may_be_converted_to_a_class_declaration: DiagnosticMessage; - Import_may_be_converted_to_a_default_import: DiagnosticMessage; - JSDoc_types_may_be_moved_to_TypeScript_types: DiagnosticMessage; - require_call_may_be_converted_to_an_import: DiagnosticMessage; - Add_missing_super_call: DiagnosticMessage; - Make_super_call_the_first_statement_in_the_constructor: DiagnosticMessage; - Change_extends_to_implements: DiagnosticMessage; - Remove_declaration_for_Colon_0: DiagnosticMessage; - Remove_import_from_0: DiagnosticMessage; - Implement_interface_0: DiagnosticMessage; - Implement_inherited_abstract_class: DiagnosticMessage; - Add_0_to_unresolved_variable: DiagnosticMessage; - Remove_destructuring: DiagnosticMessage; - Remove_variable_statement: DiagnosticMessage; - Import_0_from_module_1: DiagnosticMessage; - Change_0_to_1: DiagnosticMessage; - Add_0_to_existing_import_declaration_from_1: DiagnosticMessage; - Declare_property_0: DiagnosticMessage; - Add_index_signature_for_property_0: DiagnosticMessage; - Disable_checking_for_this_file: DiagnosticMessage; - Ignore_this_error_message: DiagnosticMessage; - Initialize_property_0_in_the_constructor: DiagnosticMessage; - Initialize_static_property_0: DiagnosticMessage; - Change_spelling_to_0: DiagnosticMessage; - Declare_method_0: DiagnosticMessage; - Declare_static_method_0: DiagnosticMessage; - Prefix_0_with_an_underscore: DiagnosticMessage; - Rewrite_as_the_indexed_access_type_0: DiagnosticMessage; - Declare_static_property_0: DiagnosticMessage; - Call_decorator_expression: DiagnosticMessage; - Add_async_modifier_to_containing_function: DiagnosticMessage; - Convert_function_to_an_ES2015_class: DiagnosticMessage; - Convert_function_0_to_class: DiagnosticMessage; - Extract_to_0_in_1: DiagnosticMessage; - Extract_function: DiagnosticMessage; - Extract_constant: DiagnosticMessage; - Extract_to_0_in_enclosing_scope: DiagnosticMessage; - Extract_to_0_in_1_scope: DiagnosticMessage; - Annotate_with_type_from_JSDoc: DiagnosticMessage; - Annotate_with_types_from_JSDoc: DiagnosticMessage; - Infer_type_of_0_from_usage: DiagnosticMessage; - Infer_parameter_types_from_usage: DiagnosticMessage; - Convert_to_default_import: DiagnosticMessage; - Install_0: DiagnosticMessage; - Replace_import_with_0: DiagnosticMessage; - Use_synthetic_default_member: DiagnosticMessage; - Convert_to_ES6_module: DiagnosticMessage; - Add_undefined_type_to_property_0: DiagnosticMessage; - Add_initializer_to_property_0: DiagnosticMessage; - Add_definite_assignment_assertion_to_property_0: DiagnosticMessage; - Add_all_missing_members: DiagnosticMessage; - Infer_all_types_from_usage: DiagnosticMessage; - Delete_all_unused_declarations: DiagnosticMessage; - Prefix_all_unused_declarations_with_where_possible: DiagnosticMessage; - Fix_all_detected_spelling_errors: DiagnosticMessage; - Add_initializers_to_all_uninitialized_properties: DiagnosticMessage; - Add_definite_assignment_assertions_to_all_uninitialized_properties: DiagnosticMessage; - Add_undefined_type_to_all_uninitialized_properties: DiagnosticMessage; - Change_all_jsdoc_style_types_to_TypeScript: DiagnosticMessage; - Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types: DiagnosticMessage; - Implement_all_unimplemented_interfaces: DiagnosticMessage; - Install_all_missing_types_packages: DiagnosticMessage; - Rewrite_all_as_indexed_access_types: DiagnosticMessage; - Convert_all_to_default_imports: DiagnosticMessage; - Make_all_super_calls_the_first_statement_in_their_constructor: DiagnosticMessage; - Add_qualifier_to_all_unresolved_variables_matching_a_member_name: DiagnosticMessage; - Change_all_extended_interfaces_to_implements: DiagnosticMessage; - Add_all_missing_super_calls: DiagnosticMessage; - Implement_all_inherited_abstract_classes: DiagnosticMessage; - Add_all_missing_async_modifiers: DiagnosticMessage; - Add_ts_ignore_to_all_error_messages: DiagnosticMessage; - Annotate_everything_with_types_from_JSDoc: DiagnosticMessage; - Add_to_all_uncalled_decorators: DiagnosticMessage; - Convert_all_constructor_functions_to_classes: DiagnosticMessage; - Generate_get_and_set_accessors: DiagnosticMessage; - Convert_require_to_import: DiagnosticMessage; - Convert_all_require_to_import: DiagnosticMessage; - Move_to_a_new_file: DiagnosticMessage; - Remove_unreachable_code: DiagnosticMessage; - Remove_all_unreachable_code: DiagnosticMessage; - Add_missing_typeof: DiagnosticMessage; - Remove_unused_label: DiagnosticMessage; - Remove_all_unused_labels: DiagnosticMessage; - Convert_0_to_mapped_object_type: DiagnosticMessage; - Convert_namespace_import_to_named_imports: DiagnosticMessage; - Convert_named_imports_to_namespace_import: DiagnosticMessage; - Add_or_remove_braces_in_an_arrow_function: DiagnosticMessage; - Add_braces_to_arrow_function: DiagnosticMessage; - Remove_braces_from_arrow_function: DiagnosticMessage; - Convert_default_export_to_named_export: DiagnosticMessage; - Convert_named_export_to_default_export: DiagnosticMessage; - Add_missing_enum_member_0: DiagnosticMessage; - Add_all_missing_enum_members: DiagnosticMessage; - }; -} -declare namespace ts { ->>>>>>> move labeled statement check to binder and add more pattern for check type ErrorCallback = (message: DiagnosticMessage, length: number) => void; interface Scanner { getStartPos(): number;