mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-04 03:09:39 -06:00
Add snapshot of release-1.0.3 sources
This commit is contained in:
parent
99ec3a9688
commit
79727ee12f
59
.gitignore
vendored
Normal file
59
.gitignore
vendored
Normal file
@ -0,0 +1,59 @@
|
||||
node_modules/
|
||||
built/
|
||||
bin/wrapped_tsc.js
|
||||
tests/cases/*.js
|
||||
tests/cases/*/*.js
|
||||
tests/cases/*/*/*.js
|
||||
tests/cases/*/*/*/*.js
|
||||
tests/cases/*/*/*/*/*.js
|
||||
tests/cases/*.js.map
|
||||
tests/cases/*/*.js.map
|
||||
tests/cases/*/*/*.js.map
|
||||
tests/cases/*/*/*/*.js.map
|
||||
tests/cases/*/*/*/*/*.js.map
|
||||
tests/cases/rwc/*
|
||||
!tests/cases/projects/r.js
|
||||
tests/cases/projects/*/local/*
|
||||
!tests/cases/projects/r.js
|
||||
tests/cases/projects/*/local/*
|
||||
!tests/cases/projects/*/reference/*/*.js
|
||||
!tests/cases/webharness/compilerToString.js
|
||||
tests/runners/*.js
|
||||
tests/runners/*/*.js
|
||||
tests/runners/rwc/*
|
||||
!tests/runners/rwc/rwcRunner.ts
|
||||
diff-*.html
|
||||
test-args.txt
|
||||
*.suo
|
||||
~*.docx
|
||||
tests/baselines/local/*
|
||||
tests/services/baselines/local/*
|
||||
tests/baselines/prototyping/local/*
|
||||
tests/baselines/rwc/*
|
||||
tests/services/baselines/prototyping/local/*
|
||||
tests/services/browser/typescriptServices.js
|
||||
src/compiler/*.js
|
||||
src/compiler/syntax/wrapped_SyntaxGenerator.js
|
||||
src/compiler/syntax/SyntaxGenerator.js
|
||||
src/compiler/syntax/SyntaxGenerator.d.ts
|
||||
src/services/*.js
|
||||
src/services/*/*.js
|
||||
src/harness/*.js
|
||||
src/prototype/*.js
|
||||
src/prototype/*/*.js
|
||||
baseline-report.html
|
||||
fidelity-report.html
|
||||
rwc-report.html
|
||||
*.swp
|
||||
build.json
|
||||
monaco.editor.json
|
||||
samples/win8/encyclopedia/Encyclopedia/js/*.js
|
||||
samples/win8/encyclopedia/Encyclopedia/js/*.js.map
|
||||
samples/win8/encyclopedia/Encyclopedia/bin/
|
||||
samples/win8/encyclopedia/Encyclopedia/bld/
|
||||
samples/win8/encyclopedia/Encyclopedia/Encyclopedia.jsproj.user
|
||||
*.actual
|
||||
tests/Fidelity/*.d.ts
|
||||
tests/Fidelity/*.js
|
||||
tests/cases/webharness/*.d.ts
|
||||
tests/cases/webhost/*.d.ts
|
||||
12
.npmignore
Normal file
12
.npmignore
Normal file
@ -0,0 +1,12 @@
|
||||
built
|
||||
doc
|
||||
samples
|
||||
src
|
||||
tests
|
||||
typings
|
||||
bin/winjs.d.ts
|
||||
bin/winrt.d.ts
|
||||
bin/*.bat
|
||||
bin/jquery.d.ts
|
||||
bin/typescriptServices.js
|
||||
Jakefile
|
||||
15
CopyrightNotice.txt
Normal file
15
CopyrightNotice.txt
Normal file
@ -0,0 +1,15 @@
|
||||
/*! *****************************************************************************
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||
this file except in compliance with the License. You may obtain a copy of the
|
||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||
|
||||
See the Apache Version 2.0 License for specific language governing permissions
|
||||
and limitations under the License.
|
||||
***************************************************************************** */
|
||||
|
||||
513
Jakefile
Normal file
513
Jakefile
Normal file
@ -0,0 +1,513 @@
|
||||
// This file contains the build logic for the public repo
|
||||
|
||||
var fs = require("fs");
|
||||
var path = require("path");
|
||||
|
||||
// Variables
|
||||
var compilerDirectory = "src/compiler/";
|
||||
var servicesDirectory = "src/services/";
|
||||
var harnessDirectory = "src/harness/";
|
||||
var runnersDirectory = "tests/runners/";
|
||||
var libraryDirectory = "typings/";
|
||||
|
||||
var builtDirectory = "built/";
|
||||
var builtLocalDirectory = "built/local/";
|
||||
var builtTestDirectory = "built/localtest/";
|
||||
var LKGDirectory = "bin/";
|
||||
|
||||
var copyright = "CopyrightNotice.txt";
|
||||
var thirdParty = "ThirdPartyNoticeText.txt";
|
||||
var compilerSources = [
|
||||
"ast.ts",
|
||||
"astHelpers.ts",
|
||||
"astWalker.ts",
|
||||
"base64.ts",
|
||||
"bloomFilter.ts",
|
||||
"declarationEmitter.ts",
|
||||
"diagnostics.ts",
|
||||
"document.ts",
|
||||
"emitter.ts",
|
||||
"enumerator.ts",
|
||||
"flags.ts",
|
||||
"hashTable.ts",
|
||||
"identifierWalker.ts",
|
||||
"pathUtils.ts",
|
||||
"precompile.ts",
|
||||
"process.ts",
|
||||
"references.ts",
|
||||
"referenceResolution.ts",
|
||||
"referenceResolver.ts",
|
||||
"settings.ts",
|
||||
"sourceMapping.ts",
|
||||
"syntaxTreeToAstVisitor.ts",
|
||||
"types.ts",
|
||||
"core/arrayUtilities.ts",
|
||||
"core/bitVector.ts",
|
||||
"core/bitMatrix.ts",
|
||||
"core/constants.ts",
|
||||
"core/debug.ts",
|
||||
"core/diagnosticCore.ts",
|
||||
"core/diagnosticCategory.ts",
|
||||
"core/diagnosticInfo.ts",
|
||||
"core/environment.ts",
|
||||
"core/errors.ts",
|
||||
"core/hash.ts",
|
||||
"core/hashTable.ts",
|
||||
"core/integerUtilities.ts",
|
||||
"core/lineAndCharacter.ts",
|
||||
"core/lineMap.ts",
|
||||
"core/linePosition.ts",
|
||||
"core/mathPrototype.ts",
|
||||
"core/references.ts",
|
||||
"core/require.ts",
|
||||
"core/stringTable.ts",
|
||||
"core/stringUtilities.ts",
|
||||
"core/timer.ts",
|
||||
"resources/diagnosticCode.generated.ts",
|
||||
"resources/diagnosticInformationMap.generated.ts",
|
||||
"resources/references.ts",
|
||||
"syntax/characterInfo.ts",
|
||||
"syntax/constants.ts",
|
||||
"syntax/depthLimitedWalker.ts",
|
||||
"syntax/formattingOptions.ts",
|
||||
"syntax/indentation.ts",
|
||||
"syntax/languageVersion.ts",
|
||||
"syntax/parseOptions.ts",
|
||||
"syntax/parser.ts",
|
||||
"syntax/positionedElement.ts",
|
||||
"syntax/positionTrackingWalker.ts",
|
||||
"syntax/references.ts",
|
||||
"syntax/scanner.ts",
|
||||
"syntax/scannerUtilities.generated.ts",
|
||||
"syntax/separatedSyntaxList.ts",
|
||||
"syntax/slidingWindow.ts",
|
||||
"syntax/strings.ts",
|
||||
"syntax/syntax.ts",
|
||||
"syntax/syntaxDedenter.ts",
|
||||
"syntax/syntaxElement.ts",
|
||||
"syntax/syntaxFactory.generated.ts",
|
||||
"syntax/syntaxFacts.ts",
|
||||
"syntax/syntaxFacts2.ts",
|
||||
"syntax/syntaxIndenter.ts",
|
||||
"syntax/syntaxInformationMap.ts",
|
||||
"syntax/syntaxIndenter.ts",
|
||||
"syntax/syntaxKind.ts",
|
||||
"syntax/syntaxList.ts",
|
||||
"syntax/syntaxNode.ts",
|
||||
"syntax/syntaxNodeInvariantsChecker.ts",
|
||||
"syntax/syntaxNodeOrToken.ts",
|
||||
"syntax/syntaxNodes.generated.ts",
|
||||
"syntax/syntaxRewriter.generated.ts",
|
||||
"syntax/syntaxToken.generated.ts",
|
||||
"syntax/syntaxToken.ts",
|
||||
"syntax/syntaxTokenReplacer.ts",
|
||||
"syntax/syntaxTree.ts",
|
||||
"syntax/syntaxTrivia.ts",
|
||||
"syntax/syntaxTriviaList.ts",
|
||||
"syntax/syntaxUtilities.ts",
|
||||
"syntax/syntaxVisitor.generated.ts",
|
||||
"syntax/syntaxWalker.generated.ts",
|
||||
"syntax/unicode.ts",
|
||||
"text/characterCodes.ts",
|
||||
"text/lineMap.ts",
|
||||
"text/references.ts",
|
||||
"text/scriptSnapshot.ts",
|
||||
"text/text.ts",
|
||||
"text/textChangeRange.ts",
|
||||
"text/textFactory.ts",
|
||||
"text/textLine.ts",
|
||||
"text/textSpan.ts",
|
||||
"text/textUtilities.ts",
|
||||
"typecheck/pullDeclCollection.ts",
|
||||
"typecheck/pullDecls.ts",
|
||||
"typecheck/pullFlags.ts",
|
||||
"typecheck/pullHelpers.ts",
|
||||
"typecheck/pullInstantiationHelpers.ts",
|
||||
"typecheck/pullSemanticInfo.ts",
|
||||
"typecheck/pullSymbolBinder.ts",
|
||||
"typecheck/pullSymbols.ts",
|
||||
"typecheck/pullTypeResolution.ts",
|
||||
"typecheck/pullTypeResolutionContext.ts",
|
||||
"typecheck/pullTypeEnclosingTypeWalker.ts",
|
||||
"typecheck/pullTypeInstantiation.ts",
|
||||
"typescript.ts"
|
||||
].map(function (f) {
|
||||
return path.join(compilerDirectory, f);
|
||||
});
|
||||
|
||||
var tscSources = [
|
||||
"io.ts",
|
||||
"optionsParser.ts",
|
||||
"tsc.ts"
|
||||
].map(function (f) {
|
||||
return path.join(compilerDirectory, f);
|
||||
});
|
||||
|
||||
var servicesSources = [
|
||||
"braceMatcher.ts",
|
||||
"breakpoints.ts",
|
||||
"classifier.ts",
|
||||
"compilerState.ts",
|
||||
"completionHelpers.ts",
|
||||
"completionSession.ts",
|
||||
"coreServices.ts",
|
||||
"getScriptLexicalStructureWalker.ts",
|
||||
"diagnosticServices.ts",
|
||||
"es5compat.ts",
|
||||
"findReferenceHelpers.ts",
|
||||
"indenter.ts",
|
||||
"keywordCompletions.ts",
|
||||
"languageService.ts",
|
||||
"outliningElementsCollector.ts",
|
||||
"pullLanguageService.ts",
|
||||
"shims.ts",
|
||||
"signatureInfoHelpers.ts",
|
||||
"formatting/formatter.ts",
|
||||
"formatting/formatting.ts",
|
||||
"formatting/formattingContext.ts",
|
||||
"formatting/formattingManager.ts",
|
||||
"formatting/formattingRequestKind.ts",
|
||||
"formatting/indentationNodeContext.ts",
|
||||
"formatting/indentationNodeContextPool.ts",
|
||||
"formatting/indentationTrackingWalker.ts",
|
||||
"formatting/multipleTokenIndenter.ts",
|
||||
"formatting/rule.ts",
|
||||
"formatting/ruleAction.ts",
|
||||
"formatting/ruleDescriptor.ts",
|
||||
"formatting/ruleFlag.ts",
|
||||
"formatting/ruleOperation.ts",
|
||||
"formatting/ruleOperationContext.ts",
|
||||
"formatting/rules.ts",
|
||||
"formatting/rulesMap.ts",
|
||||
"formatting/rulesProvider.ts",
|
||||
"formatting/singleTokenIndenter.ts",
|
||||
"formatting/snapshotPoint.ts",
|
||||
"formatting/textEditInfo.ts",
|
||||
"formatting/textSnapshot.ts",
|
||||
"formatting/textSnapshotLine.ts",
|
||||
"formatting/tokenRange.ts",
|
||||
"formatting/tokenSpan.ts",
|
||||
"typescriptServices.ts"
|
||||
].map(function (f) {
|
||||
return path.join(servicesDirectory, f);
|
||||
});
|
||||
|
||||
var harnessSources = [
|
||||
path.join(compilerDirectory, "io.ts"),
|
||||
path.join(compilerDirectory, "optionsParser.ts"),
|
||||
|
||||
path.join(harnessDirectory, "exec.ts"),
|
||||
path.join(harnessDirectory, "diff.ts"),
|
||||
path.join(harnessDirectory, "harness.ts"),
|
||||
path.join(harnessDirectory, "baselining.ts"),
|
||||
path.join(harnessDirectory, "fourslash.ts"),
|
||||
path.join(harnessDirectory, "runner.ts"),
|
||||
|
||||
path.join(runnersDirectory, "runnerBase.ts"),
|
||||
path.join(runnersDirectory, "compiler/compilerRunner.ts"),
|
||||
path.join(runnersDirectory, "compiler/typeWriter.ts"),
|
||||
path.join(runnersDirectory, "fourslash/fourslashRunner.ts"),
|
||||
path.join(runnersDirectory, "projects/projectsRunner.ts"),
|
||||
path.join(runnersDirectory, "unittest/unittestRunner.ts"),
|
||||
path.join(runnersDirectory, "rwc/rwcRunner.ts"),
|
||||
|
||||
path.join(runnersDirectory, "../cases/unittests/samples/samples.ts"),
|
||||
path.join(runnersDirectory, "../cases/unittests/compiler/callSignatureTests.ts"),
|
||||
path.join(runnersDirectory, "../cases/unittests/compiler/classOverloads.ts"),
|
||||
path.join(runnersDirectory, "../cases/unittests/compiler/constructSignatureTests.ts"),
|
||||
path.join(runnersDirectory, "../cases/unittests/compiler/declarationTests.ts"),
|
||||
path.join(runnersDirectory, "../cases/unittests/compiler/functionSignaturesTests.ts"),
|
||||
path.join(runnersDirectory, "../cases/unittests/compiler/identifiers.ts"),
|
||||
path.join(runnersDirectory, "../cases/unittests/compiler/moduleAlias.ts"),
|
||||
path.join(runnersDirectory, "../cases/unittests/compiler/pathing.ts"),
|
||||
path.join(runnersDirectory, "../cases/unittests/compiler/propertySignatureTests.ts"),
|
||||
];
|
||||
|
||||
var libraryFiles = [
|
||||
"lib.d.ts",
|
||||
"jquery.d.ts",
|
||||
"winjs.d.ts",
|
||||
"winrt.d.ts"
|
||||
];
|
||||
|
||||
var librarySources = libraryFiles.map(function (f) {
|
||||
return path.join(libraryDirectory, f);
|
||||
});
|
||||
|
||||
var libraryTargets = libraryFiles.map(function (f) {
|
||||
return path.join(builtLocalDirectory, f);
|
||||
});
|
||||
|
||||
// Prepends the contents of prefixFile to destinationFile
|
||||
function prependFile(prefixFile, destinationFile) {
|
||||
if (!fs.existsSync(prefixFile)) {
|
||||
fail(prefixFile + " does not exist!");
|
||||
}
|
||||
if (!fs.existsSync(destinationFile)) {
|
||||
fail(destinationFile + " failed to be created!");
|
||||
}
|
||||
var temp = "temptemp";
|
||||
jake.cpR(prefixFile, temp);
|
||||
fs.appendFileSync(temp, fs.readFileSync(destinationFile));
|
||||
fs.renameSync(temp, destinationFile);
|
||||
}
|
||||
|
||||
var useDebugMode = false;
|
||||
/* Compiles a file from a list of sources
|
||||
* @param outFile: the target file name
|
||||
* @param sources: an array of the names of the source files
|
||||
* @param prereqs: prerequisite tasks to compiling the file
|
||||
* @param prefixes: a list of files to prepend to the target file
|
||||
* @param useBuiltCompiler: true to use the built compiler, false to use the LKG
|
||||
*/
|
||||
function compileFile(outFile, sources, prereqs, prefixes, useBuiltCompiler) {
|
||||
file(outFile, prereqs, function() {
|
||||
var dir = useBuiltCompiler ? builtLocalDirectory : LKGDirectory;
|
||||
var cmd = (process.env.host || process.env.TYPESCRIPT_HOST || "node") + " " + dir + "tsc.js -removeComments -propagateEnumConstants -declaration -noImplicitAny --module commonjs " + sources.join(" ") + " -out " + outFile;
|
||||
if (useDebugMode) {
|
||||
cmd = cmd + " -sourcemap -mapRoot file:///" + path.resolve(path.dirname(outFile));
|
||||
}
|
||||
console.log(cmd + "\n");
|
||||
var ex = jake.createExec([cmd]);
|
||||
// Add listeners for output and error
|
||||
ex.addListener("stdout", function(output) {
|
||||
process.stdout.write(output);
|
||||
});
|
||||
ex.addListener("stderr", function(error) {
|
||||
process.stderr.write(error);
|
||||
});
|
||||
ex.addListener("cmdEnd", function() {
|
||||
if (!useDebugMode && prefixes && fs.existsSync(outFile)) {
|
||||
for (var i in prefixes) {
|
||||
prependFile(prefixes[i], outFile);
|
||||
}
|
||||
}
|
||||
complete();
|
||||
});
|
||||
ex.addListener("error", function() {
|
||||
fs.unlinkSync(outFile);
|
||||
console.log("Compilation of " + outFile + " unsuccessful");
|
||||
});
|
||||
ex.run();
|
||||
}, {async: true});
|
||||
}
|
||||
|
||||
// Prerequisite task for built directory and library typings
|
||||
directory(builtLocalDirectory);
|
||||
|
||||
for (var i in libraryTargets) {
|
||||
(function (i) {
|
||||
file(libraryTargets[i], [builtLocalDirectory, librarySources[i]], function() {
|
||||
jake.cpR(librarySources[i], builtLocalDirectory);
|
||||
});
|
||||
})(i);
|
||||
}
|
||||
|
||||
var typescriptFile = path.join(builtLocalDirectory, "typescript.js");
|
||||
compileFile(typescriptFile, compilerSources, [builtLocalDirectory, copyright].concat(compilerSources), [copyright]);
|
||||
|
||||
var tscFile = path.join(builtLocalDirectory, "tsc.js");
|
||||
compileFile(tscFile, compilerSources.concat(tscSources), [builtLocalDirectory, copyright].concat(compilerSources).concat(tscSources), [copyright]);
|
||||
|
||||
var serviceFile = path.join(builtLocalDirectory, "typescriptServices.js");
|
||||
compileFile(serviceFile, compilerSources.concat(servicesSources), [builtLocalDirectory, thirdParty, copyright].concat(compilerSources).concat(servicesSources), [thirdParty, copyright]);
|
||||
|
||||
// Local target to build the compiler and services
|
||||
desc("Builds the full compiler and services");
|
||||
task("local", libraryTargets.concat([typescriptFile, tscFile, serviceFile]));
|
||||
|
||||
// Local target to build the compiler and services
|
||||
desc("Emit debug mode files with sourcemaps");
|
||||
task("setDebugMode", function() {
|
||||
useDebugMode = true;
|
||||
});
|
||||
|
||||
// Local target to build the compiler and services
|
||||
desc("Builds the full compiler and services in debug mode");
|
||||
task("local-debug", ["setDebugMode", "local"]);
|
||||
|
||||
// Set the default task to "local"
|
||||
task("default", ["local"]);
|
||||
|
||||
// Cleans the built directory
|
||||
desc("Cleans the compiler output, declare files, and tests");
|
||||
task("clean", function() {
|
||||
jake.rmRf(builtDirectory);
|
||||
});
|
||||
|
||||
|
||||
// Makes a new LKG. This target does not build anything, but errors if not all the outputs are present in the built/local directory
|
||||
desc("Makes a new LKG out of the built js files");
|
||||
task("LKG", libraryTargets, function() {
|
||||
var expectedFiles = [typescriptFile, tscFile, serviceFile];
|
||||
var missingFiles = expectedFiles.filter(function (f) {
|
||||
return !fs.existsSync(f);
|
||||
});
|
||||
if (missingFiles.length > 0) {
|
||||
fail("Cannot replace the LKG unless all built targets are present in directory " + builtLocalDirectory +
|
||||
". The following files are missing:\n" + missingFiles.join("\n"));
|
||||
}
|
||||
// Copy all the targets into the LKG directory
|
||||
jake.mkdirP(LKGDirectory);
|
||||
for (var i in librarySources) {
|
||||
jake.cpR(libraryTargets[i], LKGDirectory);
|
||||
}
|
||||
for (i in expectedFiles) {
|
||||
jake.cpR(expectedFiles[i], LKGDirectory);
|
||||
}
|
||||
//var resourceDirectories = fs.readdirSync(builtLocalResourcesDirectory).map(function(p) { return path.join(builtLocalResourcesDirectory, p); });
|
||||
//resourceDirectories.map(function(d) {
|
||||
// jake.cpR(d, LKGResourcesDirectory);
|
||||
//});
|
||||
});
|
||||
|
||||
// Test directory
|
||||
directory(builtTestDirectory);
|
||||
|
||||
// Task to build the tests infrastructure using the built compiler
|
||||
var run = path.join(builtTestDirectory, "run.js");
|
||||
var json2 = path.join(harnessDirectory, "external/json2.js")
|
||||
compileFile(run, harnessSources, [builtTestDirectory, tscFile].concat(libraryTargets).concat(harnessSources), [json2], true);
|
||||
|
||||
|
||||
// Webharness
|
||||
var frontEndPath = "tests/cases/webharness/frontEnd.ts";
|
||||
var perfCompilerPath = "tests/cases/webharness/perfCompiler.js";
|
||||
compileFile(perfCompilerPath, [frontEndPath], [tscFile], [], true);
|
||||
|
||||
// Webhost
|
||||
var webhostPath = "tests/cases/webhost/webtsc.ts";
|
||||
var webhostJsPath = "tests/cases/webhost/webtsc.js";
|
||||
desc("Builds the web host");
|
||||
compileFile(webhostJsPath, [webhostPath], [tscFile, webhostPath], [], true);
|
||||
|
||||
desc("Builds the tsc web host");
|
||||
task("webhost", [webhostJsPath], function() {
|
||||
jake.cpR(path.join(libraryDirectory, "lib.d.ts"), "tests/cases/webhost");
|
||||
});
|
||||
|
||||
// Fidelity Tests
|
||||
var fidelityTestsOutFile = "tests/Fidelity/program.js";
|
||||
var fidelityTestsInFile1 = "tests/Fidelity/Program.ts";
|
||||
var fidelityTestsInFile2 = "tests/Fidelity/incremental/IncrementalParserTests.ts";
|
||||
compileFile(fidelityTestsOutFile, [fidelityTestsInFile1], [tscFile, fidelityTestsInFile2].concat(compilerSources.concat(servicesSources)), [], true);
|
||||
|
||||
desc("Builds the web harness front end");
|
||||
task("test-harness", [perfCompilerPath]);
|
||||
|
||||
var localBaseline = "tests/baselines/local/";
|
||||
var refBaseline = "tests/baselines/reference/";
|
||||
|
||||
var localRwcBaseline = "tests/baselines/rwc/local/";
|
||||
var refRwcBaseline = "tests/baselines/rwc/reference/";
|
||||
|
||||
desc("Builds the test infrastructure using the built compiler");
|
||||
task("tests", [run, serviceFile, fidelityTestsOutFile, perfCompilerPath].concat(libraryTargets), function() {
|
||||
// Copy the language service over to the test directory
|
||||
jake.cpR(serviceFile, builtTestDirectory);
|
||||
jake.cpR(path.join(libraryDirectory, "lib.d.ts"), builtTestDirectory);
|
||||
|
||||
jake.cpR(path.join(libraryDirectory, "lib.d.ts"), "tests/cases/webhost");
|
||||
});
|
||||
|
||||
desc("Runs the tests using the built run.js file. Syntax is jake runtests. Optional parameters 'host=' and 'tests='.");
|
||||
task("runtests", ["local", "tests", builtTestDirectory], function() {
|
||||
// Clean the local baselines directory
|
||||
if (fs.existsSync(localBaseline)) {
|
||||
jake.rmRf(localBaseline);
|
||||
}
|
||||
|
||||
// Clean the local Rwc baselines directory
|
||||
if (fs.existsSync(localRwcBaseline)) {
|
||||
jake.rmRf(localRwcBaseline);
|
||||
}
|
||||
|
||||
jake.mkdirP(localBaseline);
|
||||
host = process.env.host || process.env.TYPESCRIPT_HOST || "node";
|
||||
tests = process.env.test || process.env.tests;
|
||||
tests = tests ? tests.split(',').join(' ') : ([].slice.call(arguments).join(' ') || "");
|
||||
var cmd = host + " " + run + " " + tests;
|
||||
console.log(cmd);
|
||||
var ex = jake.createExec([cmd]);
|
||||
// Add listeners for output and error
|
||||
ex.addListener("stdout", function(output) {
|
||||
process.stdout.write(output);
|
||||
});
|
||||
ex.addListener("stderr", function(error) {
|
||||
process.stderr.write(error);
|
||||
});
|
||||
ex.addListener("cmdEnd", function() {
|
||||
complete();
|
||||
});
|
||||
ex.run();
|
||||
}, {async: true});
|
||||
|
||||
desc("Builds the test sources and automation in debug mode");
|
||||
task("tests-debug", ["setDebugMode", "tests"]);
|
||||
|
||||
// Makes the test results the new baseline
|
||||
desc("Makes the most recent test results the new baseline, overwriting the old baseline");
|
||||
task("baseline-accept", function(hardOrSoft) {
|
||||
if (!hardOrSoft || hardOrSoft == "hard") {
|
||||
jake.rmRf(refBaseline);
|
||||
fs.renameSync(localBaseline, refBaseline);
|
||||
}
|
||||
else if (hardOrSoft == "soft") {
|
||||
var files = jake.readdirR(localBaseline);
|
||||
for (var i in files) {
|
||||
jake.cpR(files[i], refBaseline);
|
||||
}
|
||||
jake.rmRf(path.join(refBaseline, "local"));
|
||||
}
|
||||
});
|
||||
|
||||
desc("Makes the most recent rwc test results the new baseline, overwriting the old baseline");
|
||||
task("baseline-accept-rwc", function() {
|
||||
jake.rmRf(refRwcBaseline);
|
||||
fs.renameSync(localRwcBaseline, refRwcBaseline);
|
||||
});
|
||||
|
||||
// Syntax Generator
|
||||
var syntaxGeneratorOutFile = compilerDirectory + "syntax/SyntaxGenerator.js";
|
||||
var syntaxGeneratorInFile = compilerDirectory + "syntax/SyntaxGenerator.ts";
|
||||
file(compilerDirectory + "syntax/syntaxKind.ts");
|
||||
file(compilerDirectory + "syntax/syntaxFacts.ts");
|
||||
compileFile(syntaxGeneratorOutFile, [syntaxGeneratorInFile], [syntaxGeneratorInFile, compilerDirectory + "syntax/syntaxKind.ts", compilerDirectory + "syntax/syntaxFacts.ts"], [], /*useBuiltCompiler:*/ false);
|
||||
|
||||
desc("Builds and runs the syntax generator");
|
||||
task("run-syntax-generator", [syntaxGeneratorOutFile], function() {
|
||||
host = process.env.host || process.env.TYPESCRIPT_HOST || "node";
|
||||
var cmd = host + " " + syntaxGeneratorOutFile;
|
||||
console.log(cmd);
|
||||
var ex = jake.createExec([cmd]);
|
||||
// Add listeners for output and error
|
||||
ex.addListener("stdout", function(output) {
|
||||
process.stdout.write(output);
|
||||
});
|
||||
ex.addListener("stderr", function(error) {
|
||||
process.stderr.write(error);
|
||||
});
|
||||
ex.addListener("cmdEnd", function() {
|
||||
complete();
|
||||
});
|
||||
ex.run();
|
||||
}, {async: true});
|
||||
|
||||
desc("Builds and runs the Fidelity tests");
|
||||
task("run-fidelity-tests", [fidelityTestsOutFile], function() {
|
||||
host = process.env.host || process.env.TYPESCRIPT_HOST || "node";
|
||||
var cmd = host + " " + fidelityTestsOutFile;
|
||||
console.log(cmd);
|
||||
var ex = jake.createExec([cmd]);
|
||||
// Add listeners for output and error
|
||||
ex.addListener("stdout", function(output) {
|
||||
process.stdout.write(output);
|
||||
});
|
||||
ex.addListener("stderr", function(error) {
|
||||
process.stderr.write(error);
|
||||
});
|
||||
ex.addListener("cmdEnd", function() {
|
||||
complete();
|
||||
});
|
||||
ex.run();
|
||||
}, {async: true});
|
||||
55
LICENSE.txt
Normal file
55
LICENSE.txt
Normal file
@ -0,0 +1,55 @@
|
||||
Apache License
|
||||
|
||||
Version 2.0, January 2004
|
||||
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
|
||||
|
||||
You must give any other recipients of the Work or Derivative Works a copy of this License; and
|
||||
|
||||
You must cause any modified files to carry prominent notices stating that You changed the files; and
|
||||
|
||||
You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
|
||||
|
||||
If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
85
ThirdPartyNoticeText.txt
Normal file
85
ThirdPartyNoticeText.txt
Normal file
@ -0,0 +1,85 @@
|
||||
/*!----------------- TypeScript ThirdPartyNotices -------------------------------------------------------
|
||||
|
||||
The TypeScript software is based on or incorporates material and code from the projects listed below
|
||||
(collectively "Third Party Code"). Microsoft is not the original author of the
|
||||
Third Party Code. The original copyright notice and the license, under which
|
||||
Microsoft received such Third Party Code, are set forth below. Such license and
|
||||
notices are provided for informational purposes only. Microsoft licenses the Third
|
||||
Party Code to you under the terms of the Apache 2.0 License.
|
||||
All Third Party Code licensed by Microsoft under the Apache License, Version 2.0 (the "License"); you
|
||||
may not use this file except in compliance with the License. You may obtain a copy
|
||||
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR
|
||||
CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||
|
||||
See the Apache Version 2.0 License for specific language governing permissions and
|
||||
limitations under the License.
|
||||
---------------------------------------------
|
||||
Third Party Code Components
|
||||
--------------------------------------------
|
||||
---- Mozilla Developer Code---------
|
||||
The following Mozilla Developer Code is under Public Domain as updated after Aug. 20, 2012, see, https://developer.mozilla.org/en-US/docs/Project:Copyrights
|
||||
1. Array filter Compatibility Method,
|
||||
Available at https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array/filter
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
|
||||
2. Array forEach Compatibility Method,
|
||||
Available at https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array/forEach
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
|
||||
3. Array indexOf Compatibility Method,
|
||||
Available at https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array/indexOf
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
|
||||
4. Array map Compatibility Method,
|
||||
Available at https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array/map
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
|
||||
5. Array Reduce Compatibility Method,
|
||||
Available at https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array/Reduce
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
|
||||
6. String Trim Compatibility Method,
|
||||
Available at https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/String/Trim
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
|
||||
7. Date now Compatibility Method,
|
||||
Available at https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Date/now
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
|
||||
------------JSON2 Script------------------------
|
||||
json2.js 2012-10-08
|
||||
Public Domain.
|
||||
NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
|
||||
See, http://www.JSON.org/js.html
|
||||
|
||||
--------------r.js----------------------
|
||||
Copyright (c) 2010-2011 Dojo Foundation. All Rights Reserved.
|
||||
Originally License under MIT License
|
||||
-------------------------------------------------------------------------
|
||||
Provided for Informational Purposes Only
|
||||
MIT License
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
--------------------------------------------------------------------------------------
|
||||
|
||||
------------- End of ThirdPartyNotices --------------------------------------------------- */
|
||||
703
bin/jquery.d.ts
vendored
Normal file
703
bin/jquery.d.ts
vendored
Normal file
@ -0,0 +1,703 @@
|
||||
/* *****************************************************************************
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||
this file except in compliance with the License. You may obtain a copy of the
|
||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||
|
||||
See the Apache Version 2.0 License for specific language governing permissions
|
||||
and limitations under the License.
|
||||
***************************************************************************** */
|
||||
|
||||
// Typing for the jQuery library, version 1.10
|
||||
|
||||
/*
|
||||
Interface for the AJAX setting that will configure the AJAX request
|
||||
*/
|
||||
interface JQueryAjaxSettings {
|
||||
accepts?: any;
|
||||
async?: boolean;
|
||||
beforeSend? (jqXHR: JQueryXHR, settings: JQueryAjaxSettings): any;
|
||||
cache?: boolean;
|
||||
complete? (jqXHR: JQueryXHR, textStatus: string): any;
|
||||
contents?: { [key: string]: any; };
|
||||
contentType?: any;
|
||||
context?: any;
|
||||
converters?: { [key: string]: any; };
|
||||
crossDomain?: boolean;
|
||||
data?: any;
|
||||
dataFilter? (data: any, ty: any): any;
|
||||
dataType?: string;
|
||||
error? (jqXHR: JQueryXHR, textStatus: string, errorThrow: string): any;
|
||||
global?: boolean;
|
||||
headers?: { [key: string]: any; };
|
||||
ifModified?: boolean;
|
||||
isLocal?: boolean;
|
||||
jsonp?: string;
|
||||
jsonpCallback?: any;
|
||||
mimeType?: string;
|
||||
password?: string;
|
||||
processData?: boolean;
|
||||
scriptCharset?: string;
|
||||
statusCode?: { [key: string]: any; };
|
||||
success? (data: any, textStatus: string, jqXHR: JQueryXHR): any;
|
||||
timeout?: number;
|
||||
traditional?: boolean;
|
||||
type?: string;
|
||||
url?: string;
|
||||
username?: string;
|
||||
xhr?: any;
|
||||
xhrFields?: { [key: string]: any; };
|
||||
}
|
||||
|
||||
/*
|
||||
Interface for the jqXHR object
|
||||
*/
|
||||
interface JQueryXHR extends XMLHttpRequest {
|
||||
overrideMimeType(): any;
|
||||
}
|
||||
|
||||
/*
|
||||
Interface for the JQuery callback
|
||||
*/
|
||||
interface JQueryCallback {
|
||||
add(...callbacks: any[]): any;
|
||||
disable(): any;
|
||||
empty(): any;
|
||||
fire(...arguments: any[]): any;
|
||||
fired(): boolean;
|
||||
fireWith(context: any, ...args: any[]): any;
|
||||
has(callback: any): boolean;
|
||||
lock(): any;
|
||||
locked(): boolean;
|
||||
removed(...callbacks: any[]): any;
|
||||
}
|
||||
|
||||
/*
|
||||
Interface for the JQuery promise, part of callbacks
|
||||
*/
|
||||
interface JQueryPromise {
|
||||
always(...alwaysCallbacks: any[]): JQueryDeferred;
|
||||
done(...doneCallbacks: any[]): JQueryDeferred;
|
||||
fail(...failCallbacks: any[]): JQueryDeferred;
|
||||
pipe(doneFilter?: (x: any) => any, failFilter?: (x: any) => any, progressFilter?: (x: any) => any): JQueryPromise;
|
||||
then(doneCallbacks: any, failCallbacks: any, progressCallbacks?: any): JQueryDeferred;
|
||||
}
|
||||
|
||||
/*
|
||||
Interface for the JQuery deferred, part of callbacks
|
||||
*/
|
||||
interface JQueryDeferred extends JQueryPromise {
|
||||
notify(...args: any[]): JQueryDeferred;
|
||||
notifyWith(context: any, ...args: any[]): JQueryDeferred;
|
||||
|
||||
progress(...progressCallbacks: any[]): JQueryDeferred;
|
||||
reject(...args: any[]): JQueryDeferred;
|
||||
rejectWith(context: any, ...args: any[]): JQueryDeferred;
|
||||
resolve(...args: any[]): JQueryDeferred;
|
||||
resolveWith(context: any, ...args: any[]): JQueryDeferred;
|
||||
state(): string;
|
||||
then(doneCallbacks: any, failCallbacks?: any, progressCallbacks?: any): JQueryDeferred;
|
||||
}
|
||||
|
||||
/*
|
||||
Interface of the JQuery extension of the W3C event object
|
||||
*/
|
||||
interface JQueryEventObject extends Event {
|
||||
data: any;
|
||||
delegateTarget: Element;
|
||||
isDefaultPrevented(): boolean;
|
||||
isImmediatePropogationStopped(): boolean;
|
||||
isPropogationStopped(): boolean;
|
||||
namespace: string;
|
||||
preventDefault(): any;
|
||||
relatedTarget: Element;
|
||||
result: any;
|
||||
stopImmediatePropagation(): void;
|
||||
stopPropagation(): void;
|
||||
pageX: number;
|
||||
pageY: number;
|
||||
which: number;
|
||||
metaKey: any;
|
||||
}
|
||||
|
||||
/*
|
||||
Collection of properties of the current browser
|
||||
*/
|
||||
interface JQueryBrowserInfo {
|
||||
safari: boolean;
|
||||
opera: boolean;
|
||||
msie: boolean;
|
||||
mozilla: boolean;
|
||||
version: string;
|
||||
}
|
||||
|
||||
interface JQuerySupport {
|
||||
ajax?: boolean;
|
||||
boxModel?: boolean;
|
||||
changeBubbles?: boolean;
|
||||
checkClone?: boolean;
|
||||
checkOn?: boolean;
|
||||
cors?: boolean;
|
||||
cssFloat?: boolean;
|
||||
hrefNormalized?: boolean;
|
||||
htmlSerialize?: boolean;
|
||||
leadingWhitespace?: boolean;
|
||||
noCloneChecked?: boolean;
|
||||
noCloneEvent?: boolean;
|
||||
opacity?: boolean;
|
||||
optDisabled?: boolean;
|
||||
optSelected?: boolean;
|
||||
scriptEval? (): boolean;
|
||||
style?: boolean;
|
||||
submitBubbles?: boolean;
|
||||
tbody?: boolean;
|
||||
}
|
||||
|
||||
interface JQueryTransport {
|
||||
send(headers: { [index: string]: string; }, completeCallback: (status: number, statusText: string, responses: { [dataType: string]: any; }, headers: string) => void): void;
|
||||
abort(): void;
|
||||
}
|
||||
|
||||
/*
|
||||
Static members of jQuery (those on $ and jQuery themselves)
|
||||
*/
|
||||
interface JQueryStatic {
|
||||
|
||||
// AJAX
|
||||
ajax(settings: JQueryAjaxSettings): JQueryXHR;
|
||||
ajax(url: string, settings: JQueryAjaxSettings): JQueryXHR;
|
||||
|
||||
ajaxPrefilter(handler: (opts: any, originalOpts: any, jqXHR: JQueryXHR) => any): any;
|
||||
ajaxPrefilter(dataTypes: string, handler: (opts: any, originalOpts: any, jqXHR: JQueryXHR) => any): any;
|
||||
|
||||
ajaxSetup(options: any): void;
|
||||
ajaxTransport(dataType: string, handler: (options: JQueryAjaxSettings, originalOptions: JQueryAjaxSettings, jqXHR: JQueryXHR) => JQueryTransport): void;
|
||||
|
||||
get(url: string, data?: any, success?: any, dataType?: any): JQueryXHR;
|
||||
getJSON(url: string, data?: any, success?: any): JQueryXHR;
|
||||
getScript(url: string, success?: any): JQueryXHR;
|
||||
|
||||
param(obj: any): string;
|
||||
param(obj: any, traditional: boolean): string;
|
||||
|
||||
post(url: string, data?: any, success?: any, dataType?: any): JQueryXHR;
|
||||
|
||||
// Callbacks
|
||||
Callbacks(flags: any): JQueryCallback;
|
||||
|
||||
// Core
|
||||
holdReady(hold: boolean): any;
|
||||
|
||||
(): JQuery;
|
||||
(selector: string, context?: any): JQuery;
|
||||
(element: Element): JQuery;
|
||||
(elementArray: Element[]): JQuery;
|
||||
(object: JQuery): JQuery;
|
||||
(func: Function): JQuery;
|
||||
(object: {}): JQuery;
|
||||
|
||||
noConflict(removeAll?: boolean): Object;
|
||||
|
||||
when(...deferreds: any[]): JQueryPromise;
|
||||
|
||||
// CSS
|
||||
css(e: any, propertyName: string, value?: any): any;
|
||||
css(e: any, propertyName: any, value?: any): any;
|
||||
cssHooks: { [key: string]: any; };
|
||||
|
||||
// Data
|
||||
data(element: Element, key: string, value: any): Object;
|
||||
|
||||
dequeue(element: Element, queueName?: string): any;
|
||||
|
||||
hasData(element: Element): boolean;
|
||||
|
||||
queue(element: Element, queueName?: string): any[];
|
||||
queue(element: Element, queueName: string, newQueueOrCallback: any): JQuery;
|
||||
|
||||
removeData(element: Element, name?: string): JQuery;
|
||||
|
||||
// Deferred
|
||||
Deferred(beforeStart?: (deferred: JQueryDeferred) => any): JQueryDeferred;
|
||||
|
||||
// Effects
|
||||
fx: { tick: () => void; interval: number; stop: () => void; speeds: { slow: number; fast: number; }; off: boolean; step: any; };
|
||||
|
||||
// Events
|
||||
proxy(func: Function, context: any): any;
|
||||
proxy(context: any, name: string): any;
|
||||
|
||||
// Internals
|
||||
error(message: any): void;
|
||||
|
||||
// Miscellaneous
|
||||
expr: any;
|
||||
fn: any; //TODO: Decide how we want to type this
|
||||
isReady: boolean;
|
||||
|
||||
// Properties
|
||||
browser: JQueryBrowserInfo;
|
||||
support: JQuerySupport;
|
||||
|
||||
// Utilities
|
||||
contains(container: Element, contained: Element): boolean;
|
||||
|
||||
each(collection: any, callback: (indexInArray: any, valueOfElement: any) => any): any;
|
||||
|
||||
extend(deep: boolean, target: any, ...objs: any[]): Object;
|
||||
extend(target: any, ...objs: any[]): Object;
|
||||
|
||||
globalEval(code: string): any;
|
||||
|
||||
grep(array: any[], func: any, invert: boolean): any[];
|
||||
|
||||
inArray(value: any, array: any[], fromIndex?: number): number;
|
||||
|
||||
isArray(obj: any): boolean;
|
||||
isEmptyObject(obj: any): boolean;
|
||||
isFunction(obj: any): boolean;
|
||||
isNumeric(value: any): boolean;
|
||||
isPlainObject(obj: any): boolean;
|
||||
isWindow(obj: any): boolean;
|
||||
isXMLDoc(node: Node): boolean;
|
||||
|
||||
makeArray(obj: any): any[];
|
||||
|
||||
map(array: any[], callback: (elementOfArray: any, indexInArray: any) => any): any[];
|
||||
|
||||
merge(first: any[], second: any[]): any[];
|
||||
|
||||
noop(): any;
|
||||
|
||||
now(): number;
|
||||
|
||||
parseHTML(data: string, context?: Element, keepScripts?: boolean): any[];
|
||||
parseJSON(json: string): any;
|
||||
|
||||
//FIXME: This should return an XMLDocument
|
||||
parseXML(data: string): any;
|
||||
|
||||
queue(element: Element, queueName: string, newQueue: any[]): JQuery;
|
||||
|
||||
trim(str: string): string;
|
||||
|
||||
type(obj: any): string;
|
||||
|
||||
unique(arr: any[]): any[];
|
||||
}
|
||||
|
||||
/*
|
||||
The jQuery instance members
|
||||
*/
|
||||
interface JQuery {
|
||||
// AJAX
|
||||
ajaxComplete(handler: any): JQuery;
|
||||
ajaxError(handler: (evt: any, xhr: any, opts: any) => any): JQuery;
|
||||
ajaxSend(handler: (evt: any, xhr: any, opts: any) => any): JQuery;
|
||||
ajaxStart(handler: () => any): JQuery;
|
||||
ajaxStop(handler: () => any): JQuery;
|
||||
ajaxSuccess(handler: (evt: any, xml: any, opts: any) => any): JQuery;
|
||||
|
||||
serialize(): string;
|
||||
serializeArray(): any[];
|
||||
|
||||
// Attributes
|
||||
addClass(classNames: string): JQuery;
|
||||
addClass(func: (index: any, currentClass: any) => JQuery): JQuery;
|
||||
|
||||
attr(attributeName: string): string;
|
||||
attr(attributeName: string, func: (index: any, attr: any) => any): JQuery;
|
||||
attr(attributeName: string, value: any): JQuery;
|
||||
attr(map: { [key: string]: any; }): JQuery;
|
||||
|
||||
hasClass(className: string): boolean;
|
||||
|
||||
html(): string;
|
||||
html(htmlString: string): JQuery;
|
||||
|
||||
prop(propertyName: string): any;
|
||||
prop(propertyName: string, func: (index: any, oldPropertyValue: any) => any): JQuery;
|
||||
prop(propertyName: string, value: any): JQuery;
|
||||
prop(map: any): JQuery;
|
||||
|
||||
removeAttr(attributeName: any): JQuery;
|
||||
|
||||
removeClass(func: (index: any, cls: any) => any): JQuery;
|
||||
removeClass(className?: string): JQuery;
|
||||
|
||||
removeProp(propertyName: any): JQuery;
|
||||
|
||||
toggleClass(func: (index: any, cls: any, swtch: any) => any): JQuery;
|
||||
toggleClass(swtch?: boolean): JQuery;
|
||||
toggleClass(className: any, swtch?: boolean): JQuery;
|
||||
|
||||
val(): any;
|
||||
val(value: string[]): JQuery;
|
||||
val(value: string): JQuery;
|
||||
val(func: (index: any, value: any) => any): JQuery;
|
||||
|
||||
// CSS
|
||||
css(propertyNames: any[]): string;
|
||||
css(propertyName: string): string;
|
||||
css(propertyName: string, value: any): JQuery;
|
||||
css(propertyName: any, value?: any): JQuery;
|
||||
|
||||
height(): number;
|
||||
height(value: number): JQuery;
|
||||
height(func: (index: any, height: any) => any): JQuery;
|
||||
|
||||
innerHeight(): number;
|
||||
innerWidth(): number;
|
||||
|
||||
offset(): { top: number; left: number; };
|
||||
offset(func: (index: any, coords: any) => any): JQuery;
|
||||
offset(coordinates: any): JQuery;
|
||||
|
||||
outerHeight(includeMargin?: boolean): number;
|
||||
outerWidth(includeMargin?: boolean): number;
|
||||
|
||||
position(): { top: number; left: number; };
|
||||
|
||||
scrollLeft(): number;
|
||||
scrollLeft(value: number): JQuery;
|
||||
|
||||
scrollTop(): number;
|
||||
scrollTop(value: number): JQuery;
|
||||
|
||||
width(): number;
|
||||
width(value: number): JQuery;
|
||||
width(func: (index: any, height: any) => any): JQuery;
|
||||
|
||||
// Data
|
||||
clearQueue(queueName?: string): JQuery;
|
||||
|
||||
data(key: string, value: any): JQuery;
|
||||
data(obj: { [key: string]: any; }): JQuery;
|
||||
data(key?: string): any;
|
||||
|
||||
dequeue(queueName?: string): JQuery;
|
||||
|
||||
queue(queueName?: string): any[];
|
||||
queue(queueName: string, newQueueOrCallback: any): JQuery;
|
||||
queue(newQueueOrCallback: any): JQuery;
|
||||
|
||||
removeData(nameOrList?: any): JQuery;
|
||||
|
||||
// Deferred
|
||||
promise(type?: any, target?: any): JQueryPromise;
|
||||
|
||||
// Effects
|
||||
animate(properties: any, options: { duration?: any; easing?: string; complete?: Function; step?: Function; queue?: boolean; specialEasing?: any; }): JQuery;
|
||||
animate(properties: any, duration?: any, easing?: "linear", complete?: Function): JQuery;
|
||||
animate(properties: any, duration?: any, easing?: "swing", complete?: Function): JQuery;
|
||||
animate(properties: any, duration?: any, easing?: string, complete?: Function): JQuery;
|
||||
|
||||
delay(duration: number, queueName?: string): JQuery;
|
||||
|
||||
fadeIn(duration?: any, easing?: "linear", complete?: Function): JQuery;
|
||||
fadeIn(duration?: any, easing?: "swing", complete?: Function): JQuery;
|
||||
fadeIn(duration?: any, easing?: string, complete?: Function): JQuery;
|
||||
fadeIn(duration?: any, complete?: Function): JQuery;
|
||||
|
||||
|
||||
fadeOut(duration?: any, easing?: "linear", complete?: Function): JQuery;
|
||||
fadeOut(duration?: any, easing?: "swing", complete?: Function): JQuery;
|
||||
fadeOut(duration?: any, easing?: string, complete?: Function): JQuery;
|
||||
fadeOut(duration?: any, complete?: any): JQuery;
|
||||
|
||||
fadeTo(duration: any, opacity: number, easing?: "linear", complete?: Function): JQuery;
|
||||
fadeTo(duration: any, opacity: number, easing?: "swing", complete?: Function): JQuery;
|
||||
fadeTo(duration: any, opacity: number, easing?: string, complete?: Function): JQuery;
|
||||
fadeTo(duration: any, opacity: number, complete?: Function): JQuery;
|
||||
|
||||
fadeToggle(duration?: any, easing?: "linear", complete?: Function): JQuery;
|
||||
fadeToggle(duration?: any, easing?: "swing", complete?: Function): JQuery;
|
||||
fadeToggle(duration?: any, easing?: string, complete?: Function): JQuery;
|
||||
|
||||
finish(queue?: string): JQuery;
|
||||
|
||||
hide(duration?: any, easing?: "linear", callback?: Function): JQuery;
|
||||
hide(duration?: any, easing?: "swing", callback?: Function): JQuery;
|
||||
hide(duration?: any, easing?: string, callback?: Function): JQuery;
|
||||
hide(duration?: any, callback?: Function): JQuery;
|
||||
|
||||
show(duration?: any, easing?: "linear", complete?: Function): JQuery;
|
||||
show(duration?: any, easing?: "swing", complete?: Function): JQuery;
|
||||
show(duration?: any, easing?: string, complete?: Function): JQuery;
|
||||
show(duration?: any, complete?: Function): JQuery;
|
||||
|
||||
slideDown(duration?: any, easing?: "linear", complete?: Function): JQuery;
|
||||
slideDown(duration?: any, easing?: "swing", complete?: Function): JQuery;
|
||||
slideDown(duration?: any, easing?: string, complete?: Function): JQuery;
|
||||
slideDown(duration?: any, complete?: Function): JQuery;
|
||||
|
||||
slideToggle(duration?: any, easing?: "linear", complete?: Function): JQuery;
|
||||
slideToggle(duration?: any, easing?: "swing", complete?: Function): JQuery;
|
||||
slideToggle(duration?: any, easing?: string, complete?: Function): JQuery;
|
||||
slideToggle(duration?: any, complete?: Function): JQuery;
|
||||
|
||||
slideUp(duration?: any, easing?: "linear", complete?: Function): JQuery;
|
||||
slideUp(duration?: any, easing?: "swing", complete?: Function): JQuery;
|
||||
slideUp(duration?: any, easing?: string, complete?: Function): JQuery;
|
||||
slideUp(duration?: any, complete?: Function): JQuery;
|
||||
|
||||
stop(clearQueue?: boolean, jumpToEnd?: boolean): JQuery;
|
||||
stop(queue?: any, clearQueue?: boolean, jumpToEnd?: boolean): JQuery;
|
||||
|
||||
toggle(showOrHide: boolean): JQuery;
|
||||
toggle(duration?: any, easing?: "linear", complete?: Function): JQuery;
|
||||
toggle(duration?: any, easing?: "swing", complete?: Function): JQuery;
|
||||
toggle(duration?: any, easing?: string, complete?: Function): JQuery;
|
||||
toggle(duration?: any, complete?: Function): JQuery;
|
||||
|
||||
// Events
|
||||
bind(eventType: string, preventBubble: boolean): JQuery;
|
||||
bind(eventType: string, eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
bind(eventType: string, eventData: any, preventBubble: boolean): JQuery;
|
||||
bind(...events: any[]): JQuery;
|
||||
|
||||
blur(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
blur(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
change(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
change(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
click(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
click(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
dblclick(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
dblclick(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
delegate(selector: any, eventType: string, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
focus(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
focus(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
focusin(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
focusin(eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
focusout(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
focusout(eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
hover(handlerIn: (eventObject: JQueryEventObject) => any, handlerOut: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
hover(handlerInOut: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
keydown(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
keydown(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
keypress(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
keypress(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
keyup(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
keyup(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
mousedown(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
mousedown(eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
mouseevent(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
mouseevent(eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
mouseenter(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
mouseenter(eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
mouseleave(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
mouseleave(eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
mousemove(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
mousemove(eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
mouseout(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
mouseout(eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
mouseover(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
mouseover(eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
mouseup(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
mouseup(eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
off(events?: string, selector?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
off(eventsMap: { [key: string]: any; }, selector?: any): JQuery;
|
||||
|
||||
on(events: string, selector?: any, data?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
on(eventsMap: { [key: string]: any; }, selector?: any, data?: any): JQuery;
|
||||
|
||||
one(events: string, selector?: any, data?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
one(eventsMap: { [key: string]: any; }, selector?: any, data?: any): JQuery;
|
||||
|
||||
ready(handler: any): JQuery;
|
||||
|
||||
resize(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
resize(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
scroll(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
scroll(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
select(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
select(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
submit(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
submit(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
trigger(eventType: string, ...extraParameters: any[]): JQuery;
|
||||
trigger(event: JQueryEventObject): JQuery;
|
||||
|
||||
triggerHandler(eventType: string, ...extraParameters: any[]): Object;
|
||||
|
||||
unbind(eventType?: string, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
unbind(eventType: string, fls: boolean): JQuery;
|
||||
unbind(evt: any): JQuery;
|
||||
|
||||
undelegate(): JQuery;
|
||||
undelegate(selector: any, eventType: string, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
undelegate(selector: any, events: any): JQuery;
|
||||
undelegate(namespace: string): JQuery;
|
||||
|
||||
// Internals
|
||||
context: Element;
|
||||
jquery: string;
|
||||
pushStack(elements: any[]): JQuery;
|
||||
pushStack(elements: any[], name: any, arguments: any): JQuery;
|
||||
|
||||
// Manipulation
|
||||
after(func: (index: any) => any): JQuery;
|
||||
after(...content: any[]): JQuery;
|
||||
|
||||
append(func: (index: any, html: any) => any): JQuery;
|
||||
append(...content: any[]): JQuery;
|
||||
|
||||
appendTo(target: any): JQuery;
|
||||
|
||||
before(func: (index: any) => any): JQuery;
|
||||
before(...content: any[]): JQuery;
|
||||
|
||||
clone(withDataAndEvents?: boolean, deepWithDataAndEvents?: boolean): JQuery;
|
||||
|
||||
detach(selector?: any): JQuery;
|
||||
|
||||
empty(): JQuery;
|
||||
|
||||
insertAfter(target: any): JQuery;
|
||||
insertBefore(target: any): JQuery;
|
||||
|
||||
prepend(func: (index: any, html: any) => any): JQuery;
|
||||
prepend(...content: any[]): JQuery;
|
||||
|
||||
prependTo(target: any): JQuery;
|
||||
|
||||
remove(selector?: any): JQuery;
|
||||
|
||||
replaceAll(target: any): JQuery;
|
||||
|
||||
replaceWith(func: any): JQuery;
|
||||
|
||||
text(textString: string): JQuery;
|
||||
text(): string;
|
||||
|
||||
toArray(): any[];
|
||||
|
||||
unwrap(): JQuery;
|
||||
|
||||
wrap(func: (index: any) => any): JQuery;
|
||||
wrap(wrappingElement: any): JQuery;
|
||||
|
||||
wrapAll(wrappingElement: any): JQuery;
|
||||
|
||||
wrapInner(func: (index: any) => any): JQuery;
|
||||
wrapInner(wrappingElement: any): JQuery;
|
||||
|
||||
// Miscellaneous
|
||||
each(func: (index: any, elem: Element) => any): JQuery;
|
||||
|
||||
get(index?: number): any;
|
||||
|
||||
index(selectorOrElement?: any): number;
|
||||
|
||||
// Properties
|
||||
length: number;
|
||||
[x: number]: HTMLElement;
|
||||
|
||||
// Traversing
|
||||
add(selector: string, context?: any): JQuery;
|
||||
add(html: string): JQuery;
|
||||
add(obj: JQuery): JQuery;
|
||||
add(...elements: any[]): JQuery;
|
||||
|
||||
addBack(selector?: any): JQuery;
|
||||
|
||||
children(selector?: any): JQuery;
|
||||
|
||||
closest(selector: string): JQuery;
|
||||
closest(selector: string, context?: Element): JQuery;
|
||||
closest(obj: JQuery): JQuery;
|
||||
closest(element: any): JQuery;
|
||||
closest(selectors: any, context?: Element): any[];
|
||||
|
||||
contents(): JQuery;
|
||||
|
||||
end(): JQuery;
|
||||
|
||||
eq(index: number): JQuery;
|
||||
|
||||
filter(selector: string): JQuery;
|
||||
filter(func: (index: any) => any): JQuery;
|
||||
filter(obj: JQuery): JQuery;
|
||||
filter(element: any): JQuery;
|
||||
|
||||
find(selector: string): JQuery;
|
||||
find(element: any): JQuery;
|
||||
find(obj: JQuery): JQuery;
|
||||
|
||||
first(): JQuery;
|
||||
|
||||
has(selector: string): JQuery;
|
||||
has(contained: Element): JQuery;
|
||||
|
||||
is(selector: string): boolean;
|
||||
is(func: (index: any) => any): boolean;
|
||||
is(obj: JQuery): boolean;
|
||||
is(element: any): boolean;
|
||||
|
||||
last(): JQuery;
|
||||
|
||||
map(callback: (index: any, domElement: Element) => any): JQuery;
|
||||
|
||||
next(selector?: string): JQuery;
|
||||
|
||||
nextAll(selector?: string): JQuery;
|
||||
|
||||
nextUntil(selector?: string, filter?: string): JQuery;
|
||||
nextUntil(element?: Element, filter?: string): JQuery;
|
||||
|
||||
not(selector: string): JQuery;
|
||||
not(func: (index: any) => any): JQuery;
|
||||
not(obj: JQuery): JQuery;
|
||||
not(element: any): JQuery;
|
||||
|
||||
offsetParent(): JQuery;
|
||||
|
||||
parent(selector?: string): JQuery;
|
||||
|
||||
parents(selector?: string): JQuery;
|
||||
|
||||
parentsUntil(selector?: string, filter?: string): JQuery;
|
||||
parentsUntil(element?: Element, filter?: string): JQuery;
|
||||
|
||||
prev(selector?: string): JQuery;
|
||||
|
||||
prevAll(selector?: string): JQuery;
|
||||
|
||||
prevUntil(selector?: string, filter?: string): JQuery;
|
||||
prevUntil(element?: Element, filter?: string): JQuery;
|
||||
|
||||
siblings(selector?: string): JQuery;
|
||||
|
||||
slice(start: number, end?: number): JQuery;
|
||||
}
|
||||
|
||||
declare var jQuery: JQueryStatic;
|
||||
declare var $: JQueryStatic;
|
||||
14958
bin/lib.d.ts
vendored
Normal file
14958
bin/lib.d.ts
vendored
Normal file
File diff suppressed because it is too large
Load Diff
374
bin/resources/cs/cz/diagnosticMessages.generated.json
Normal file
374
bin/resources/cs/cz/diagnosticMessages.generated.json
Normal file
@ -0,0 +1,374 @@
|
||||
{
|
||||
"error TS{0}: {1}": "error TS{0}: {1}",
|
||||
"warning TS{0}: {1}": "warning TS{0}: {1}",
|
||||
"Unrecognized escape sequence.": "Unrecognized escape sequence.",
|
||||
"Unexpected character {0}.": "Unexpected character {0}.",
|
||||
"Missing close quote character.": "Missing close quote character.",
|
||||
"Identifier expected.": "Identifier expected.",
|
||||
"'{0}' keyword expected.": "'{0}' keyword expected.",
|
||||
"'{0}' expected.": "'{0}' expected.",
|
||||
"Identifier expected; '{0}' is a keyword.": "Identifier expected; '{0}' is a keyword.",
|
||||
"Automatic semicolon insertion not allowed.": "Automatic semicolon insertion not allowed.",
|
||||
"Unexpected token; '{0}' expected.": "Unexpected token; '{0}' expected.",
|
||||
"Trailing separator not allowed.": "Trailing separator not allowed.",
|
||||
"'*/' expected.": "'*/' expected.",
|
||||
"'public' or 'private' modifier must precede 'static'.": "'public' or 'private' modifier must precede 'static'.",
|
||||
"Unexpected token.": "Unexpected token.",
|
||||
"Catch clause parameter cannot have a type annotation.": "Catch clause parameter cannot have a type annotation.",
|
||||
"Rest parameter must be last in list.": "Rest parameter must be last in list.",
|
||||
"Parameter cannot have question mark and initializer.": "Parameter cannot have question mark and initializer.",
|
||||
"Required parameter cannot follow optional parameter.": "Required parameter cannot follow optional parameter.",
|
||||
"Index signatures cannot have rest parameters.": "Index signatures cannot have rest parameters.",
|
||||
"Index signature parameter cannot have accessibility modifiers.": "Index signature parameter cannot have accessibility modifiers.",
|
||||
"Index signature parameter cannot have a question mark.": "Index signature parameter cannot have a question mark.",
|
||||
"Index signature parameter cannot have an initializer.": "Index signature parameter cannot have an initializer.",
|
||||
"Index signature must have a type annotation.": "Index signature must have a type annotation.",
|
||||
"Index signature parameter must have a type annotation.": "Index signature parameter must have a type annotation.",
|
||||
"Index signature parameter type must be 'string' or 'number'.": "Index signature parameter type must be 'string' or 'number'.",
|
||||
"'extends' clause already seen.": "'extends' clause already seen.",
|
||||
"'extends' clause must precede 'implements' clause.": "'extends' clause must precede 'implements' clause.",
|
||||
"Classes can only extend a single class.": "Classes can only extend a single class.",
|
||||
"'implements' clause already seen.": "'implements' clause already seen.",
|
||||
"Accessibility modifier already seen.": "Accessibility modifier already seen.",
|
||||
"'{0}' modifier must precede '{1}' modifier.": "'{0}' modifier must precede '{1}' modifier.",
|
||||
"'{0}' modifier already seen.": "'{0}' modifier already seen.",
|
||||
"'{0}' modifier cannot appear on a class element.": "'{0}' modifier cannot appear on a class element.",
|
||||
"Interface declaration cannot have 'implements' clause.": "Interface declaration cannot have 'implements' clause.",
|
||||
"'super' invocation cannot have type arguments.": "'super' invocation cannot have type arguments.",
|
||||
"Only ambient modules can use quoted names.": "Only ambient modules can use quoted names.",
|
||||
"Statements are not allowed in ambient contexts.": "Statements are not allowed in ambient contexts.",
|
||||
"Implementations are not allowed in ambient contexts.": "Implementations are not allowed in ambient contexts.",
|
||||
"'declare' modifier not allowed for code already in an ambient context.": "'declare' modifier not allowed for code already in an ambient context.",
|
||||
"Initializers are not allowed in ambient contexts.": "Initializers are not allowed in ambient contexts.",
|
||||
"Parameter property declarations can only be used in constructors.": "Parameter property declarations can only be used in constructors.",
|
||||
"Function implementation expected.": "Function implementation expected.",
|
||||
"Constructor implementation expected.": "Constructor implementation expected.",
|
||||
"Function overload name must be '{0}'.": "Function overload name must be '{0}'.",
|
||||
"'{0}' modifier cannot appear on a module element.": "'{0}' modifier cannot appear on a module element.",
|
||||
"'declare' modifier cannot appear on an interface declaration.": "'declare' modifier cannot appear on an interface declaration.",
|
||||
"'declare' modifier required for top level element.": "'declare' modifier required for top level element.",
|
||||
"Rest parameter cannot be optional.": "Rest parameter cannot be optional.",
|
||||
"Rest parameter cannot have an initializer.": "Rest parameter cannot have an initializer.",
|
||||
"'set' accessor must have one and only one parameter.": "'set' accessor must have one and only one parameter.",
|
||||
"'set' accessor parameter cannot have accessibility modifier.": "'set' accessor parameter cannot have accessibility modifier.",
|
||||
"'set' accessor parameter cannot be optional.": "'set' accessor parameter cannot be optional.",
|
||||
"'set' accessor parameter cannot have an initializer.": "'set' accessor parameter cannot have an initializer.",
|
||||
"'set' accessor cannot have rest parameter.": "'set' accessor cannot have rest parameter.",
|
||||
"'get' accessor cannot have parameters.": "'get' accessor cannot have parameters.",
|
||||
"Modifiers cannot appear here.": "Modifiers cannot appear here.",
|
||||
"Accessors are only available when targeting ECMAScript 5 and higher.": "Accessors are only available when targeting ECMAScript 5 and higher.",
|
||||
"Class name cannot be '{0}'.": "Class name cannot be '{0}'.",
|
||||
"Interface name cannot be '{0}'.": "Interface name cannot be '{0}'.",
|
||||
"Enum name cannot be '{0}'.": "Enum name cannot be '{0}'.",
|
||||
"Module name cannot be '{0}'.": "Module name cannot be '{0}'.",
|
||||
"Enum member must have initializer.": "Enum member must have initializer.",
|
||||
"Export assignment cannot be used in internal modules.": "Export assignment cannot be used in internal modules.",
|
||||
"Export assignment not allowed in module with exported element.": "Export assignment not allowed in module with exported element.",
|
||||
"Module cannot have multiple export assignments.": "Module cannot have multiple export assignments.",
|
||||
"Ambient enum elements can only have integer literal initializers.": "Ambient enum elements can only have integer literal initializers.",
|
||||
"module, class, interface, enum, import or statement": "module, class, interface, enum, import or statement",
|
||||
"constructor, function, accessor or variable": "constructor, function, accessor or variable",
|
||||
"statement": "statement",
|
||||
"case or default clause": "case or default clause",
|
||||
"identifier": "identifier",
|
||||
"call, construct, index, property or function signature": "call, construct, index, property or function signature",
|
||||
"expression": "expression",
|
||||
"type name": "type name",
|
||||
"property or accessor": "property or accessor",
|
||||
"parameter": "parameter",
|
||||
"type": "type",
|
||||
"type parameter": "type parameter",
|
||||
"'declare' modifier not allowed on import declaration.": "'declare' modifier not allowed on import declaration.",
|
||||
"Function overload must be static": "Function overload must be static",
|
||||
"Function overload must not be static": "Function overload must not be static",
|
||||
"Duplicate identifier '{0}'.": "Duplicate identifier '{0}'.",
|
||||
"The name '{0}' does not exist in the current scope.": "The name '{0}' does not exist in the current scope.",
|
||||
"The name '{0}' does not refer to a value.": "The name '{0}' does not refer to a value.",
|
||||
"'super' can only be used inside a class instance method.": "'super' can only be used inside a class instance method.",
|
||||
"The left-hand side of an assignment expression must be a variable, property or indexer.": "The left-hand side of an assignment expression must be a variable, property or indexer.",
|
||||
"Value of type '{0}' is not callable. Did you mean to include 'new'?": "Value of type '{0}' is not callable. Did you mean to include 'new'?",
|
||||
"Value of type '{0}' is not callable.": "Value of type '{0}' is not callable.",
|
||||
"Value of type '{0}' is not newable.": "Value of type '{0}' is not newable.",
|
||||
"Value of type '{0}' is not indexable by type '{1}'.": "Value of type '{0}' is not indexable by type '{1}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}'.": "Operator '{0}' cannot be applied to types '{1}' and '{2}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}": "Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}",
|
||||
"Cannot convert '{0}' to '{1}'.": "Cannot convert '{0}' to '{1}'.",
|
||||
"Cannot convert '{0}' to '{1}':{NL}{2}": "Cannot convert '{0}' to '{1}':{NL}{2}",
|
||||
"Expected var, class, interface, or module.": "Expected var, class, interface, or module.",
|
||||
"Operator '{0}' cannot be applied to type '{1}'.": "Operator '{0}' cannot be applied to type '{1}'.",
|
||||
"Getter '{0}' already declared.": "Getter '{0}' already declared.",
|
||||
"Setter '{0}' already declared.": "Setter '{0}' already declared.",
|
||||
"Accessors cannot have type parameters.": "Accessors cannot have type parameters.",
|
||||
"Exported class '{0}' extends private class '{1}'.": "Exported class '{0}' extends private class '{1}'.",
|
||||
"Exported class '{0}' implements private interface '{1}'.": "Exported class '{0}' implements private interface '{1}'.",
|
||||
"Exported interface '{0}' extends private interface '{1}'.": "Exported interface '{0}' extends private interface '{1}'.",
|
||||
"Exported class '{0}' extends class from inaccessible module {1}.": "Exported class '{0}' extends class from inaccessible module {1}.",
|
||||
"Exported class '{0}' implements interface from inaccessible module {1}.": "Exported class '{0}' implements interface from inaccessible module {1}.",
|
||||
"Exported interface '{0}' extends interface from inaccessible module {1}.": "Exported interface '{0}' extends interface from inaccessible module {1}.",
|
||||
"Public static property '{0}' of exported class has or is using private type '{1}'.": "Public static property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Public property '{0}' of exported class has or is using private type '{1}'.": "Public property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Property '{0}' of exported interface has or is using private type '{1}'.": "Property '{0}' of exported interface has or is using private type '{1}'.",
|
||||
"Exported variable '{0}' has or is using private type '{1}'.": "Exported variable '{0}' has or is using private type '{1}'.",
|
||||
"Public static property '{0}' of exported class is using inaccessible module {1}.": "Public static property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Public property '{0}' of exported class is using inaccessible module {1}.": "Public property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Property '{0}' of exported interface is using inaccessible module {1}.": "Property '{0}' of exported interface is using inaccessible module {1}.",
|
||||
"Exported variable '{0}' is using inaccessible module {1}.": "Exported variable '{0}' is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor from exported class has or is using private type '{1}'.": "Parameter '{0}' of constructor from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of method from exported interface has or is using private type '{1}'.": "Parameter '{0}' of method from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of exported function has or is using private type '{1}'.": "Parameter '{0}' of exported function has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor from exported class is using inaccessible module {1}.": "Parameter '{0}' of constructor from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.": "Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of call signature from exported interface is using inaccessible module {1}": "Parameter '{0}' of call signature from exported interface is using inaccessible module {1}",
|
||||
"Parameter '{0}' of public static method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of method from exported interface is using inaccessible module {1}.": "Parameter '{0}' of method from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of exported function is using inaccessible module {1}.": "Parameter '{0}' of exported function is using inaccessible module {1}.",
|
||||
"Return type of public static property getter from exported class has or is using private type '{0}'.": "Return type of public static property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of public property getter from exported class has or is using private type '{0}'.": "Return type of public property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of constructor signature from exported interface has or is using private type '{0}'.": "Return type of constructor signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of call signature from exported interface has or is using private type '{0}'.": "Return type of call signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of index signature from exported interface has or is using private type '{0}'.": "Return type of index signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of public static method from exported class has or is using private type '{0}'.": "Return type of public static method from exported class has or is using private type '{0}'.",
|
||||
"Return type of public method from exported class has or is using private type '{0}'.": "Return type of public method from exported class has or is using private type '{0}'.",
|
||||
"Return type of method from exported interface has or is using private type '{0}'.": "Return type of method from exported interface has or is using private type '{0}'.",
|
||||
"Return type of exported function has or is using private type '{0}'.": "Return type of exported function has or is using private type '{0}'.",
|
||||
"Return type of public static property getter from exported class is using inaccessible module {0}.": "Return type of public static property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of public property getter from exported class is using inaccessible module {0}.": "Return type of public property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of constructor signature from exported interface is using inaccessible module {0}.": "Return type of constructor signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of call signature from exported interface is using inaccessible module {0}.": "Return type of call signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of index signature from exported interface is using inaccessible module {0}.": "Return type of index signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of public static method from exported class is using inaccessible module {0}.": "Return type of public static method from exported class is using inaccessible module {0}.",
|
||||
"Return type of public method from exported class is using inaccessible module {0}.": "Return type of public method from exported class is using inaccessible module {0}.",
|
||||
"Return type of method from exported interface is using inaccessible module {0}.": "Return type of method from exported interface is using inaccessible module {0}.",
|
||||
"Return type of exported function is using inaccessible module {0}.": "Return type of exported function is using inaccessible module {0}.",
|
||||
"'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.": "'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.",
|
||||
"A parameter list must follow a generic type argument list. '(' expected.": "A parameter list must follow a generic type argument list. '(' expected.",
|
||||
"Multiple constructor implementations are not allowed.": "Multiple constructor implementations are not allowed.",
|
||||
"Unable to resolve external module '{0}'.": "Unable to resolve external module '{0}'.",
|
||||
"Module cannot be aliased to a non-module type.": "Module cannot be aliased to a non-module type.",
|
||||
"A class may only extend another class.": "A class may only extend another class.",
|
||||
"A class may only implement another class or interface.": "A class may only implement another class or interface.",
|
||||
"An interface may only extend another class or interface.": "An interface may only extend another class or interface.",
|
||||
"An interface cannot implement another type.": "An interface cannot implement another type.",
|
||||
"Unable to resolve type.": "Unable to resolve type.",
|
||||
"Unable to resolve type of '{0}'.": "Unable to resolve type of '{0}'.",
|
||||
"Unable to resolve type parameter constraint.": "Unable to resolve type parameter constraint.",
|
||||
"Type parameter constraint cannot be a primitive type.": "Type parameter constraint cannot be a primitive type.",
|
||||
"Supplied parameters do not match any signature of call target.": "Supplied parameters do not match any signature of call target.",
|
||||
"Supplied parameters do not match any signature of call target:{NL}{0}": "Supplied parameters do not match any signature of call target:{NL}{0}",
|
||||
"Invalid 'new' expression.": "Invalid 'new' expression.",
|
||||
"Call signatures used in a 'new' expression must have a 'void' return type.": "Call signatures used in a 'new' expression must have a 'void' return type.",
|
||||
"Could not select overload for 'new' expression.": "Could not select overload for 'new' expression.",
|
||||
"Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.": "Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.",
|
||||
"Could not select overload for 'call' expression.": "Could not select overload for 'call' expression.",
|
||||
"Cannot invoke an expression whose type lacks a call signature.": "Cannot invoke an expression whose type lacks a call signature.",
|
||||
"Calls to 'super' are only valid inside a class.": "Calls to 'super' are only valid inside a class.",
|
||||
"Generic type '{0}' requires {1} type argument(s).": "Generic type '{0}' requires {1} type argument(s).",
|
||||
"Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.": "Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.",
|
||||
"Type of array literal cannot be determined. Best common type could not be found for array elements.": "Type of array literal cannot be determined. Best common type could not be found for array elements.",
|
||||
"Could not find enclosing symbol for dotted name '{0}'.": "Could not find enclosing symbol for dotted name '{0}'.",
|
||||
"The property '{0}' does not exist on value of type '{1}'.": "The property '{0}' does not exist on value of type '{1}'.",
|
||||
"Could not find symbol '{0}'.": "Could not find symbol '{0}'.",
|
||||
"'get' and 'set' accessor must have the same type.": "'get' and 'set' accessor must have the same type.",
|
||||
"'this' cannot be referenced in current location.": "'this' cannot be referenced in current location.",
|
||||
"Static methods cannot reference class type parameters.": "Static methods cannot reference class type parameters.",
|
||||
"Class '{0}' is recursively referenced as a base type of itself.": "Class '{0}' is recursively referenced as a base type of itself.",
|
||||
"Interface '{0}' is recursively referenced as a base type of itself.": "Interface '{0}' is recursively referenced as a base type of itself.",
|
||||
"'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.": "'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.",
|
||||
"'super' cannot be referenced in non-derived classes.": "'super' cannot be referenced in non-derived classes.",
|
||||
"A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.": "A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.",
|
||||
"Constructors for derived classes must contain a 'super' call.": "Constructors for derived classes must contain a 'super' call.",
|
||||
"Super calls are not permitted outside constructors or in local functions inside constructors.": "Super calls are not permitted outside constructors or in local functions inside constructors.",
|
||||
"'{0}.{1}' is inaccessible.": "'{0}.{1}' is inaccessible.",
|
||||
"'this' cannot be referenced within module bodies.": "'this' cannot be referenced within module bodies.",
|
||||
"Invalid '+' expression - types not known to support the addition operator.": "Invalid '+' expression - types not known to support the addition operator.",
|
||||
"The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.": "The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.",
|
||||
"Variable declarations of a 'for' statement cannot use a type annotation.": "Variable declarations of a 'for' statement cannot use a type annotation.",
|
||||
"Variable declarations of a 'for' statement must be of types 'string' or 'any'.": "Variable declarations of a 'for' statement must be of types 'string' or 'any'.",
|
||||
"The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.": "The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'in' expression must be of types 'string' or 'any'.": "The left-hand side of an 'in' expression must be of types 'string' or 'any'.",
|
||||
"The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.": "The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.": "The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.": "The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.",
|
||||
"Setters cannot return a value.": "Setters cannot return a value.",
|
||||
"Tried to query type of uninitialized module '{0}'.": "Tried to query type of uninitialized module '{0}'.",
|
||||
"Tried to set variable type to uninitialized module type '{0}'.": "Tried to set variable type to uninitialized module type '{0}'.",
|
||||
"Function '{0}' declared a non-void return type, but has no return expression.": "Function '{0}' declared a non-void return type, but has no return expression.",
|
||||
"Getters must return a value.": "Getters must return a value.",
|
||||
"Getter and setter accessors do not agree in visibility.": "Getter and setter accessors do not agree in visibility.",
|
||||
"Invalid left-hand side of assignment expression.": "Invalid left-hand side of assignment expression.",
|
||||
"Function declared a non-void return type, but has no return expression.": "Function declared a non-void return type, but has no return expression.",
|
||||
"Cannot resolve return type reference.": "Cannot resolve return type reference.",
|
||||
"Constructors cannot have a return type of 'void'.": "Constructors cannot have a return type of 'void'.",
|
||||
"Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.": "Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.",
|
||||
"All symbols within a with block will be resolved to 'any'.": "All symbols within a with block will be resolved to 'any'.",
|
||||
"Import declarations in an internal module cannot reference an external module.": "Import declarations in an internal module cannot reference an external module.",
|
||||
"Class {0} declares interface {1} but does not implement it:{NL}{2}": "Class {0} declares interface {1} but does not implement it:{NL}{2}",
|
||||
"Class {0} declares class {1} as an interface but does not implement it:{NL}{2}": "Class {0} declares class {1} as an interface but does not implement it:{NL}{2}",
|
||||
"The operand of an increment or decrement operator must be a variable, property or indexer.": "The operand of an increment or decrement operator must be a variable, property or indexer.",
|
||||
"'this' cannot be referenced in static initializers in a class body.": "'this' cannot be referenced in static initializers in a class body.",
|
||||
"Class '{0}' cannot extend class '{1}':{NL}{2}": "Class '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend class '{1}':{NL}{2}": "Interface '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend interface '{1}':{NL}{2}": "Interface '{0}' cannot extend interface '{1}':{NL}{2}",
|
||||
"Duplicate overload signature for '{0}'.": "Duplicate overload signature for '{0}'.",
|
||||
"Duplicate constructor overload signature.": "Duplicate constructor overload signature.",
|
||||
"Duplicate overload call signature.": "Duplicate overload call signature.",
|
||||
"Duplicate overload construct signature.": "Duplicate overload construct signature.",
|
||||
"Overload signature is not compatible with function definition.": "Overload signature is not compatible with function definition.",
|
||||
"Overload signature is not compatible with function definition:{NL}{0}": "Overload signature is not compatible with function definition:{NL}{0}",
|
||||
"Overload signatures must all be public or private.": "Overload signatures must all be public or private.",
|
||||
"Overload signatures must all be exported or local.": "Overload signatures must all be exported or local.",
|
||||
"Overload signatures must all be ambient or non-ambient.": "Overload signatures must all be ambient or non-ambient.",
|
||||
"Overload signatures must all be optional or required.": "Overload signatures must all be optional or required.",
|
||||
"Specialized overload signature is not subtype of any non-specialized signature.": "Specialized overload signature is not subtype of any non-specialized signature.",
|
||||
"'this' cannot be referenced in constructor arguments.": "'this' cannot be referenced in constructor arguments.",
|
||||
"Static member cannot be accessed off an instance variable.": "Static member cannot be accessed off an instance variable.",
|
||||
"Instance member cannot be accessed off a class.": "Instance member cannot be accessed off a class.",
|
||||
"Untyped function calls may not accept type arguments.": "Untyped function calls may not accept type arguments.",
|
||||
"Non-generic functions may not accept type arguments.": "Non-generic functions may not accept type arguments.",
|
||||
"A generic type may not reference itself with a wrapped form of its own type parameters.": "A generic type may not reference itself with a wrapped form of its own type parameters.",
|
||||
"Rest parameters must be array types.": "Rest parameters must be array types.",
|
||||
"Overload signature implementation cannot use specialized type.": "Overload signature implementation cannot use specialized type.",
|
||||
"Export assignments may only be used at the top-level of external modules.": "Export assignments may only be used at the top-level of external modules.",
|
||||
"Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules": "Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules",
|
||||
"Only public instance methods of the base class are accessible via the 'super' keyword.": "Only public instance methods of the base class are accessible via the 'super' keyword.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}'.": "All numerically named properties must be subtypes of numeric indexer type '{0}'.",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}": "All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}",
|
||||
"All named properties must be subtypes of string indexer type '{0}'.": "All named properties must be subtypes of string indexer type '{0}'.",
|
||||
"All named properties must be subtypes of string indexer type '{0}':{NL}{1}": "All named properties must be subtypes of string indexer type '{0}':{NL}{1}",
|
||||
"Generic type references must include all type arguments.": "Generic type references must include all type arguments.",
|
||||
"Default arguments are not allowed in an overload parameter.": "Default arguments are not allowed in an overload parameter.",
|
||||
"Overloads cannot differ only by return type.": "Overloads cannot differ only by return type.",
|
||||
"Function expression declared a non-void return type, but has no return expression.": "Function expression declared a non-void return type, but has no return expression.",
|
||||
"Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.": "Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.",
|
||||
"Could not find symbol '{0}' in module '{1}'.": "Could not find symbol '{0}' in module '{1}'.",
|
||||
"Unable to resolve module reference '{0}'.": "Unable to resolve module reference '{0}'.",
|
||||
"Could not find module '{0}' in module '{1}'.": "Could not find module '{0}' in module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.",
|
||||
"Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.": "Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.",
|
||||
"Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.": "Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.",
|
||||
"Type '{0}' is missing property '{1}' from type '{2}'.": "Type '{0}' is missing property '{1}' from type '{2}'.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible.": "Types of property '{0}' of types '{1}' and '{2}' are incompatible.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}": "Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}",
|
||||
"Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.": "Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.",
|
||||
"Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.": "Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.",
|
||||
"Types '{0}' and '{1}' define property '{2}' as private.": "Types '{0}' and '{1}' define property '{2}' as private.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible.": "Call signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a call signature, but type '{1}' lacks one.": "Type '{0}' requires a call signature, but type '{1}' lacks one.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible.": "Construct signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a construct signature, but type '{1}' lacks one.": "Type '{0}' requires a construct signature, but type '{1}' lacks one.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible.": "Index signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Call signature expects {0} or fewer parameters.": "Call signature expects {0} or fewer parameters.",
|
||||
"Could not apply type '{0}' to argument {1} which is of type '{2}'.": "Could not apply type '{0}' to argument {1} which is of type '{2}'.",
|
||||
"Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}",
|
||||
"Type reference cannot refer to container '{0}'.": "Type reference cannot refer to container '{0}'.",
|
||||
"Type reference must refer to type.": "Type reference must refer to type.",
|
||||
"Enums with multiple declarations must provide an initializer for the first enum element.": "Enums with multiple declarations must provide an initializer for the first enum element.",
|
||||
" (+ {0} overload(s))": " (+ {0} overload(s))",
|
||||
"Current host does not support '{0}' option.": "Current host does not support '{0}' option.",
|
||||
"ECMAScript target version '{0}' not supported. Using default '{1}' code generation.": "ECMAScript target version '{0}' not supported. Using default '{1}' code generation.",
|
||||
"Module code generation '{0}' not supported.": "Module code generation '{0}' not supported.",
|
||||
"Could not find file: '{0}'.": "Could not find file: '{0}'.",
|
||||
"A file cannot have a reference to itself.": "A file cannot have a reference to itself.",
|
||||
"Cannot resolve referenced file: '{0}'.": "Cannot resolve referenced file: '{0}'.",
|
||||
"Cannot find the common subdirectory path for the input files.": "Cannot find the common subdirectory path for the input files.",
|
||||
"Emit Error: {0}.": "Emit Error: {0}.",
|
||||
"Cannot read file '{0}': {1}": "Cannot read file '{0}': {1}",
|
||||
"Unsupported file encoding.": "Unsupported file encoding.",
|
||||
"Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.": "Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.",
|
||||
"Unsupported locale: '{0}'.": "Unsupported locale: '{0}'.",
|
||||
"Execution Failed.{NL}": "Execution Failed.{NL}",
|
||||
"Should not emit a type query": "Should not emit a type query",
|
||||
"Should not emit a type reference": "Should not emit a type reference",
|
||||
"Invalid call to 'up'": "Invalid call to 'up'",
|
||||
"Invalid call to 'down'": "Invalid call to 'down'",
|
||||
"Base64 value '{0}' finished with a continuation bit": "Base64 value '{0}' finished with a continuation bit",
|
||||
"Key was already in table": "Key was already in table",
|
||||
"Unknown option '{0}'": "Unknown option '{0}'",
|
||||
"Expected {0} arguments to message, got {1} instead": "Expected {0} arguments to message, got {1} instead",
|
||||
"Expected the message '{0}' to have {1} arguments, but it had {2}": "Expected the message '{0}' to have {1} arguments, but it had {2}",
|
||||
"Invalid argument: {0}. {1}": "Invalid argument: {0}. {1}",
|
||||
"Invalid argument: {0}.": "Invalid argument: {0}.",
|
||||
"Argument out of range: {0}.": "Argument out of range: {0}.",
|
||||
"Argument null: {0}.": "Argument null: {0}.",
|
||||
"Operation not implemented properly by subclass.": "Operation not implemented properly by subclass.",
|
||||
"Not yet implemented.": "Not yet implemented.",
|
||||
"Invalid operation: {0}": "Invalid operation: {0}",
|
||||
"Invalid operation.": "Invalid operation.",
|
||||
"Could not delete file '{0}'": "Could not delete file '{0}'",
|
||||
"Could not create directory '{0}'": "Could not create directory '{0}'",
|
||||
"Error while executing file '{0}': ": "Error while executing file '{0}': ",
|
||||
"Cannot compile external modules unless the '--module' flag is provided.": "Cannot compile external modules unless the '--module' flag is provided.",
|
||||
"Option mapRoot cannot be specified without specifying sourcemap option.": "Option mapRoot cannot be specified without specifying sourcemap option.",
|
||||
"Option sourceRoot cannot be specified without specifying sourcemap option.": "Option sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.": "Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Concatenate and emit output to single file": "Concatenate and emit output to single file",
|
||||
"Generates corresponding {0} file": "Generates corresponding {0} file",
|
||||
"Specifies the location where debugger should locate map files instead of generated locations.": "Specifies the location where debugger should locate map files instead of generated locations.",
|
||||
"Specifies the location where debugger should locate TypeScript files instead of source locations.": "Specifies the location where debugger should locate TypeScript files instead of source locations.",
|
||||
"Watch input files": "Watch input files",
|
||||
"Redirect output structure to the directory": "Redirect output structure to the directory",
|
||||
"Do not emit comments to output": "Do not emit comments to output",
|
||||
"Skip resolution and preprocessing": "Skip resolution and preprocessing",
|
||||
"Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"": "Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"",
|
||||
"Specify module code generation: \"{0}\" or \"{1}\"": "Specify module code generation: \"{0}\" or \"{1}\"",
|
||||
"Print this message": "Print this message",
|
||||
"Print the compiler's version: {0}": "Print the compiler's version: {0}",
|
||||
"Allow use of deprecated \"{0}\" keyword when referencing an external module": "Allow use of deprecated \"{0}\" keyword when referencing an external module",
|
||||
"Specify locale for errors and messages. For example '{0}' or '{1}'": "Specify locale for errors and messages. For example '{0}' or '{1}'",
|
||||
"Syntax: {0}": "Syntax: {0}",
|
||||
"options": "options",
|
||||
"file": "file",
|
||||
"Examples:": "Examples:",
|
||||
"Options:": "Options:",
|
||||
"Insert command line options and files from a file.": "Insert command line options and files from a file.",
|
||||
"Version {0}": "Version {0}",
|
||||
"Use the '{0}' flag to see options": "Use the '{0}' flag to see options",
|
||||
"{NL}Recompiling ({0}):": "{NL}Recompiling ({0}):",
|
||||
"STRING": "STRING",
|
||||
"KIND": "KIND",
|
||||
"FILE": "FILE",
|
||||
"VERSION": "VERSION",
|
||||
"LOCATION": "LOCATION",
|
||||
"DIRECTORY": "DIRECTORY",
|
||||
"This version of the Javascript runtime does not support the '{0}' function.": "This version of the Javascript runtime does not support the '{0}' function.",
|
||||
"Looking up path for identifier token did not result in an identifer.": "Looking up path for identifier token did not result in an identifer.",
|
||||
"Unknown rule": "Unknown rule",
|
||||
"Invalid line number ({0})": "Invalid line number ({0})",
|
||||
"Warn on expressions and declarations with an implied 'any' type.": "Warn on expressions and declarations with an implied 'any' type.",
|
||||
"Variable '{0}' implicitly has an 'any' type.": "Variable '{0}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of '{1}' implicitly has an 'any' type.": "Parameter '{0}' of '{1}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of function type implicitly has an 'any' type.": "Parameter '{0}' of function type implicitly has an 'any' type.",
|
||||
"Member '{0}' of object type implicitly has an 'any' type.": "Member '{0}' of object type implicitly has an 'any' type.",
|
||||
"\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.": "\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.",
|
||||
"'{0}', which lacks return-type annotation, implicitly has an 'any' return type.": "'{0}', which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Function expression, which lacks return-type annotation, implicitly has an 'any' return type.": "Function expression, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Parameter '{0}' of lambda function implicitly has an 'any' type.": "Parameter '{0}' of lambda function implicitly has an 'any' type.",
|
||||
"Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.": "Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.": "Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Array Literal implicitly has an 'any' type from widening.": "Array Literal implicitly has an 'any' type from widening."
|
||||
}
|
||||
374
bin/resources/cs/diagnosticMessages.generated.json
Normal file
374
bin/resources/cs/diagnosticMessages.generated.json
Normal file
@ -0,0 +1,374 @@
|
||||
{
|
||||
"error TS{0}: {1}": "error TS{0}: {1}",
|
||||
"warning TS{0}: {1}": "warning TS{0}: {1}",
|
||||
"Unrecognized escape sequence.": "Unrecognized escape sequence.",
|
||||
"Unexpected character {0}.": "Unexpected character {0}.",
|
||||
"Missing close quote character.": "Missing close quote character.",
|
||||
"Identifier expected.": "Identifier expected.",
|
||||
"'{0}' keyword expected.": "'{0}' keyword expected.",
|
||||
"'{0}' expected.": "'{0}' expected.",
|
||||
"Identifier expected; '{0}' is a keyword.": "Identifier expected; '{0}' is a keyword.",
|
||||
"Automatic semicolon insertion not allowed.": "Automatic semicolon insertion not allowed.",
|
||||
"Unexpected token; '{0}' expected.": "Unexpected token; '{0}' expected.",
|
||||
"Trailing separator not allowed.": "Trailing separator not allowed.",
|
||||
"'*/' expected.": "'*/' expected.",
|
||||
"'public' or 'private' modifier must precede 'static'.": "'public' or 'private' modifier must precede 'static'.",
|
||||
"Unexpected token.": "Unexpected token.",
|
||||
"Catch clause parameter cannot have a type annotation.": "Catch clause parameter cannot have a type annotation.",
|
||||
"Rest parameter must be last in list.": "Rest parameter must be last in list.",
|
||||
"Parameter cannot have question mark and initializer.": "Parameter cannot have question mark and initializer.",
|
||||
"Required parameter cannot follow optional parameter.": "Required parameter cannot follow optional parameter.",
|
||||
"Index signatures cannot have rest parameters.": "Index signatures cannot have rest parameters.",
|
||||
"Index signature parameter cannot have accessibility modifiers.": "Index signature parameter cannot have accessibility modifiers.",
|
||||
"Index signature parameter cannot have a question mark.": "Index signature parameter cannot have a question mark.",
|
||||
"Index signature parameter cannot have an initializer.": "Index signature parameter cannot have an initializer.",
|
||||
"Index signature must have a type annotation.": "Index signature must have a type annotation.",
|
||||
"Index signature parameter must have a type annotation.": "Index signature parameter must have a type annotation.",
|
||||
"Index signature parameter type must be 'string' or 'number'.": "Index signature parameter type must be 'string' or 'number'.",
|
||||
"'extends' clause already seen.": "'extends' clause already seen.",
|
||||
"'extends' clause must precede 'implements' clause.": "'extends' clause must precede 'implements' clause.",
|
||||
"Classes can only extend a single class.": "Classes can only extend a single class.",
|
||||
"'implements' clause already seen.": "'implements' clause already seen.",
|
||||
"Accessibility modifier already seen.": "Accessibility modifier already seen.",
|
||||
"'{0}' modifier must precede '{1}' modifier.": "'{0}' modifier must precede '{1}' modifier.",
|
||||
"'{0}' modifier already seen.": "'{0}' modifier already seen.",
|
||||
"'{0}' modifier cannot appear on a class element.": "'{0}' modifier cannot appear on a class element.",
|
||||
"Interface declaration cannot have 'implements' clause.": "Interface declaration cannot have 'implements' clause.",
|
||||
"'super' invocation cannot have type arguments.": "'super' invocation cannot have type arguments.",
|
||||
"Only ambient modules can use quoted names.": "Only ambient modules can use quoted names.",
|
||||
"Statements are not allowed in ambient contexts.": "Statements are not allowed in ambient contexts.",
|
||||
"Implementations are not allowed in ambient contexts.": "Implementations are not allowed in ambient contexts.",
|
||||
"'declare' modifier not allowed for code already in an ambient context.": "'declare' modifier not allowed for code already in an ambient context.",
|
||||
"Initializers are not allowed in ambient contexts.": "Initializers are not allowed in ambient contexts.",
|
||||
"Parameter property declarations can only be used in constructors.": "Parameter property declarations can only be used in constructors.",
|
||||
"Function implementation expected.": "Function implementation expected.",
|
||||
"Constructor implementation expected.": "Constructor implementation expected.",
|
||||
"Function overload name must be '{0}'.": "Function overload name must be '{0}'.",
|
||||
"'{0}' modifier cannot appear on a module element.": "'{0}' modifier cannot appear on a module element.",
|
||||
"'declare' modifier cannot appear on an interface declaration.": "'declare' modifier cannot appear on an interface declaration.",
|
||||
"'declare' modifier required for top level element.": "'declare' modifier required for top level element.",
|
||||
"Rest parameter cannot be optional.": "Rest parameter cannot be optional.",
|
||||
"Rest parameter cannot have an initializer.": "Rest parameter cannot have an initializer.",
|
||||
"'set' accessor must have one and only one parameter.": "'set' accessor must have one and only one parameter.",
|
||||
"'set' accessor parameter cannot have accessibility modifier.": "'set' accessor parameter cannot have accessibility modifier.",
|
||||
"'set' accessor parameter cannot be optional.": "'set' accessor parameter cannot be optional.",
|
||||
"'set' accessor parameter cannot have an initializer.": "'set' accessor parameter cannot have an initializer.",
|
||||
"'set' accessor cannot have rest parameter.": "'set' accessor cannot have rest parameter.",
|
||||
"'get' accessor cannot have parameters.": "'get' accessor cannot have parameters.",
|
||||
"Modifiers cannot appear here.": "Modifiers cannot appear here.",
|
||||
"Accessors are only available when targeting ECMAScript 5 and higher.": "Accessors are only available when targeting ECMAScript 5 and higher.",
|
||||
"Class name cannot be '{0}'.": "Class name cannot be '{0}'.",
|
||||
"Interface name cannot be '{0}'.": "Interface name cannot be '{0}'.",
|
||||
"Enum name cannot be '{0}'.": "Enum name cannot be '{0}'.",
|
||||
"Module name cannot be '{0}'.": "Module name cannot be '{0}'.",
|
||||
"Enum member must have initializer.": "Enum member must have initializer.",
|
||||
"Export assignment cannot be used in internal modules.": "Export assignment cannot be used in internal modules.",
|
||||
"Export assignment not allowed in module with exported element.": "Export assignment not allowed in module with exported element.",
|
||||
"Module cannot have multiple export assignments.": "Module cannot have multiple export assignments.",
|
||||
"Ambient enum elements can only have integer literal initializers.": "Ambient enum elements can only have integer literal initializers.",
|
||||
"module, class, interface, enum, import or statement": "module, class, interface, enum, import or statement",
|
||||
"constructor, function, accessor or variable": "constructor, function, accessor or variable",
|
||||
"statement": "statement",
|
||||
"case or default clause": "case or default clause",
|
||||
"identifier": "identifier",
|
||||
"call, construct, index, property or function signature": "call, construct, index, property or function signature",
|
||||
"expression": "expression",
|
||||
"type name": "type name",
|
||||
"property or accessor": "property or accessor",
|
||||
"parameter": "parameter",
|
||||
"type": "type",
|
||||
"type parameter": "type parameter",
|
||||
"'declare' modifier not allowed on import declaration.": "'declare' modifier not allowed on import declaration.",
|
||||
"Function overload must be static": "Function overload must be static",
|
||||
"Function overload must not be static": "Function overload must not be static",
|
||||
"Duplicate identifier '{0}'.": "Duplicate identifier '{0}'.",
|
||||
"The name '{0}' does not exist in the current scope.": "The name '{0}' does not exist in the current scope.",
|
||||
"The name '{0}' does not refer to a value.": "The name '{0}' does not refer to a value.",
|
||||
"'super' can only be used inside a class instance method.": "'super' can only be used inside a class instance method.",
|
||||
"The left-hand side of an assignment expression must be a variable, property or indexer.": "The left-hand side of an assignment expression must be a variable, property or indexer.",
|
||||
"Value of type '{0}' is not callable. Did you mean to include 'new'?": "Value of type '{0}' is not callable. Did you mean to include 'new'?",
|
||||
"Value of type '{0}' is not callable.": "Value of type '{0}' is not callable.",
|
||||
"Value of type '{0}' is not newable.": "Value of type '{0}' is not newable.",
|
||||
"Value of type '{0}' is not indexable by type '{1}'.": "Value of type '{0}' is not indexable by type '{1}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}'.": "Operator '{0}' cannot be applied to types '{1}' and '{2}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}": "Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}",
|
||||
"Cannot convert '{0}' to '{1}'.": "Cannot convert '{0}' to '{1}'.",
|
||||
"Cannot convert '{0}' to '{1}':{NL}{2}": "Cannot convert '{0}' to '{1}':{NL}{2}",
|
||||
"Expected var, class, interface, or module.": "Expected var, class, interface, or module.",
|
||||
"Operator '{0}' cannot be applied to type '{1}'.": "Operator '{0}' cannot be applied to type '{1}'.",
|
||||
"Getter '{0}' already declared.": "Getter '{0}' already declared.",
|
||||
"Setter '{0}' already declared.": "Setter '{0}' already declared.",
|
||||
"Accessors cannot have type parameters.": "Accessors cannot have type parameters.",
|
||||
"Exported class '{0}' extends private class '{1}'.": "Exported class '{0}' extends private class '{1}'.",
|
||||
"Exported class '{0}' implements private interface '{1}'.": "Exported class '{0}' implements private interface '{1}'.",
|
||||
"Exported interface '{0}' extends private interface '{1}'.": "Exported interface '{0}' extends private interface '{1}'.",
|
||||
"Exported class '{0}' extends class from inaccessible module {1}.": "Exported class '{0}' extends class from inaccessible module {1}.",
|
||||
"Exported class '{0}' implements interface from inaccessible module {1}.": "Exported class '{0}' implements interface from inaccessible module {1}.",
|
||||
"Exported interface '{0}' extends interface from inaccessible module {1}.": "Exported interface '{0}' extends interface from inaccessible module {1}.",
|
||||
"Public static property '{0}' of exported class has or is using private type '{1}'.": "Public static property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Public property '{0}' of exported class has or is using private type '{1}'.": "Public property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Property '{0}' of exported interface has or is using private type '{1}'.": "Property '{0}' of exported interface has or is using private type '{1}'.",
|
||||
"Exported variable '{0}' has or is using private type '{1}'.": "Exported variable '{0}' has or is using private type '{1}'.",
|
||||
"Public static property '{0}' of exported class is using inaccessible module {1}.": "Public static property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Public property '{0}' of exported class is using inaccessible module {1}.": "Public property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Property '{0}' of exported interface is using inaccessible module {1}.": "Property '{0}' of exported interface is using inaccessible module {1}.",
|
||||
"Exported variable '{0}' is using inaccessible module {1}.": "Exported variable '{0}' is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor from exported class has or is using private type '{1}'.": "Parameter '{0}' of constructor from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of method from exported interface has or is using private type '{1}'.": "Parameter '{0}' of method from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of exported function has or is using private type '{1}'.": "Parameter '{0}' of exported function has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor from exported class is using inaccessible module {1}.": "Parameter '{0}' of constructor from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.": "Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of call signature from exported interface is using inaccessible module {1}": "Parameter '{0}' of call signature from exported interface is using inaccessible module {1}",
|
||||
"Parameter '{0}' of public static method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of method from exported interface is using inaccessible module {1}.": "Parameter '{0}' of method from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of exported function is using inaccessible module {1}.": "Parameter '{0}' of exported function is using inaccessible module {1}.",
|
||||
"Return type of public static property getter from exported class has or is using private type '{0}'.": "Return type of public static property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of public property getter from exported class has or is using private type '{0}'.": "Return type of public property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of constructor signature from exported interface has or is using private type '{0}'.": "Return type of constructor signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of call signature from exported interface has or is using private type '{0}'.": "Return type of call signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of index signature from exported interface has or is using private type '{0}'.": "Return type of index signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of public static method from exported class has or is using private type '{0}'.": "Return type of public static method from exported class has or is using private type '{0}'.",
|
||||
"Return type of public method from exported class has or is using private type '{0}'.": "Return type of public method from exported class has or is using private type '{0}'.",
|
||||
"Return type of method from exported interface has or is using private type '{0}'.": "Return type of method from exported interface has or is using private type '{0}'.",
|
||||
"Return type of exported function has or is using private type '{0}'.": "Return type of exported function has or is using private type '{0}'.",
|
||||
"Return type of public static property getter from exported class is using inaccessible module {0}.": "Return type of public static property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of public property getter from exported class is using inaccessible module {0}.": "Return type of public property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of constructor signature from exported interface is using inaccessible module {0}.": "Return type of constructor signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of call signature from exported interface is using inaccessible module {0}.": "Return type of call signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of index signature from exported interface is using inaccessible module {0}.": "Return type of index signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of public static method from exported class is using inaccessible module {0}.": "Return type of public static method from exported class is using inaccessible module {0}.",
|
||||
"Return type of public method from exported class is using inaccessible module {0}.": "Return type of public method from exported class is using inaccessible module {0}.",
|
||||
"Return type of method from exported interface is using inaccessible module {0}.": "Return type of method from exported interface is using inaccessible module {0}.",
|
||||
"Return type of exported function is using inaccessible module {0}.": "Return type of exported function is using inaccessible module {0}.",
|
||||
"'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.": "'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.",
|
||||
"A parameter list must follow a generic type argument list. '(' expected.": "A parameter list must follow a generic type argument list. '(' expected.",
|
||||
"Multiple constructor implementations are not allowed.": "Multiple constructor implementations are not allowed.",
|
||||
"Unable to resolve external module '{0}'.": "Unable to resolve external module '{0}'.",
|
||||
"Module cannot be aliased to a non-module type.": "Module cannot be aliased to a non-module type.",
|
||||
"A class may only extend another class.": "A class may only extend another class.",
|
||||
"A class may only implement another class or interface.": "A class may only implement another class or interface.",
|
||||
"An interface may only extend another class or interface.": "An interface may only extend another class or interface.",
|
||||
"An interface cannot implement another type.": "An interface cannot implement another type.",
|
||||
"Unable to resolve type.": "Unable to resolve type.",
|
||||
"Unable to resolve type of '{0}'.": "Unable to resolve type of '{0}'.",
|
||||
"Unable to resolve type parameter constraint.": "Unable to resolve type parameter constraint.",
|
||||
"Type parameter constraint cannot be a primitive type.": "Type parameter constraint cannot be a primitive type.",
|
||||
"Supplied parameters do not match any signature of call target.": "Supplied parameters do not match any signature of call target.",
|
||||
"Supplied parameters do not match any signature of call target:{NL}{0}": "Supplied parameters do not match any signature of call target:{NL}{0}",
|
||||
"Invalid 'new' expression.": "Invalid 'new' expression.",
|
||||
"Call signatures used in a 'new' expression must have a 'void' return type.": "Call signatures used in a 'new' expression must have a 'void' return type.",
|
||||
"Could not select overload for 'new' expression.": "Could not select overload for 'new' expression.",
|
||||
"Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.": "Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.",
|
||||
"Could not select overload for 'call' expression.": "Could not select overload for 'call' expression.",
|
||||
"Cannot invoke an expression whose type lacks a call signature.": "Cannot invoke an expression whose type lacks a call signature.",
|
||||
"Calls to 'super' are only valid inside a class.": "Calls to 'super' are only valid inside a class.",
|
||||
"Generic type '{0}' requires {1} type argument(s).": "Generic type '{0}' requires {1} type argument(s).",
|
||||
"Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.": "Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.",
|
||||
"Type of array literal cannot be determined. Best common type could not be found for array elements.": "Type of array literal cannot be determined. Best common type could not be found for array elements.",
|
||||
"Could not find enclosing symbol for dotted name '{0}'.": "Could not find enclosing symbol for dotted name '{0}'.",
|
||||
"The property '{0}' does not exist on value of type '{1}'.": "The property '{0}' does not exist on value of type '{1}'.",
|
||||
"Could not find symbol '{0}'.": "Could not find symbol '{0}'.",
|
||||
"'get' and 'set' accessor must have the same type.": "'get' and 'set' accessor must have the same type.",
|
||||
"'this' cannot be referenced in current location.": "'this' cannot be referenced in current location.",
|
||||
"Static methods cannot reference class type parameters.": "Static methods cannot reference class type parameters.",
|
||||
"Class '{0}' is recursively referenced as a base type of itself.": "Class '{0}' is recursively referenced as a base type of itself.",
|
||||
"Interface '{0}' is recursively referenced as a base type of itself.": "Interface '{0}' is recursively referenced as a base type of itself.",
|
||||
"'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.": "'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.",
|
||||
"'super' cannot be referenced in non-derived classes.": "'super' cannot be referenced in non-derived classes.",
|
||||
"A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.": "A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.",
|
||||
"Constructors for derived classes must contain a 'super' call.": "Constructors for derived classes must contain a 'super' call.",
|
||||
"Super calls are not permitted outside constructors or in local functions inside constructors.": "Super calls are not permitted outside constructors or in local functions inside constructors.",
|
||||
"'{0}.{1}' is inaccessible.": "'{0}.{1}' is inaccessible.",
|
||||
"'this' cannot be referenced within module bodies.": "'this' cannot be referenced within module bodies.",
|
||||
"Invalid '+' expression - types not known to support the addition operator.": "Invalid '+' expression - types not known to support the addition operator.",
|
||||
"The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.": "The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.",
|
||||
"Variable declarations of a 'for' statement cannot use a type annotation.": "Variable declarations of a 'for' statement cannot use a type annotation.",
|
||||
"Variable declarations of a 'for' statement must be of types 'string' or 'any'.": "Variable declarations of a 'for' statement must be of types 'string' or 'any'.",
|
||||
"The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.": "The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'in' expression must be of types 'string' or 'any'.": "The left-hand side of an 'in' expression must be of types 'string' or 'any'.",
|
||||
"The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.": "The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.": "The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.": "The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.",
|
||||
"Setters cannot return a value.": "Setters cannot return a value.",
|
||||
"Tried to query type of uninitialized module '{0}'.": "Tried to query type of uninitialized module '{0}'.",
|
||||
"Tried to set variable type to uninitialized module type '{0}'.": "Tried to set variable type to uninitialized module type '{0}'.",
|
||||
"Function '{0}' declared a non-void return type, but has no return expression.": "Function '{0}' declared a non-void return type, but has no return expression.",
|
||||
"Getters must return a value.": "Getters must return a value.",
|
||||
"Getter and setter accessors do not agree in visibility.": "Getter and setter accessors do not agree in visibility.",
|
||||
"Invalid left-hand side of assignment expression.": "Invalid left-hand side of assignment expression.",
|
||||
"Function declared a non-void return type, but has no return expression.": "Function declared a non-void return type, but has no return expression.",
|
||||
"Cannot resolve return type reference.": "Cannot resolve return type reference.",
|
||||
"Constructors cannot have a return type of 'void'.": "Constructors cannot have a return type of 'void'.",
|
||||
"Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.": "Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.",
|
||||
"All symbols within a with block will be resolved to 'any'.": "All symbols within a with block will be resolved to 'any'.",
|
||||
"Import declarations in an internal module cannot reference an external module.": "Import declarations in an internal module cannot reference an external module.",
|
||||
"Class {0} declares interface {1} but does not implement it:{NL}{2}": "Class {0} declares interface {1} but does not implement it:{NL}{2}",
|
||||
"Class {0} declares class {1} as an interface but does not implement it:{NL}{2}": "Class {0} declares class {1} as an interface but does not implement it:{NL}{2}",
|
||||
"The operand of an increment or decrement operator must be a variable, property or indexer.": "The operand of an increment or decrement operator must be a variable, property or indexer.",
|
||||
"'this' cannot be referenced in static initializers in a class body.": "'this' cannot be referenced in static initializers in a class body.",
|
||||
"Class '{0}' cannot extend class '{1}':{NL}{2}": "Class '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend class '{1}':{NL}{2}": "Interface '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend interface '{1}':{NL}{2}": "Interface '{0}' cannot extend interface '{1}':{NL}{2}",
|
||||
"Duplicate overload signature for '{0}'.": "Duplicate overload signature for '{0}'.",
|
||||
"Duplicate constructor overload signature.": "Duplicate constructor overload signature.",
|
||||
"Duplicate overload call signature.": "Duplicate overload call signature.",
|
||||
"Duplicate overload construct signature.": "Duplicate overload construct signature.",
|
||||
"Overload signature is not compatible with function definition.": "Overload signature is not compatible with function definition.",
|
||||
"Overload signature is not compatible with function definition:{NL}{0}": "Overload signature is not compatible with function definition:{NL}{0}",
|
||||
"Overload signatures must all be public or private.": "Overload signatures must all be public or private.",
|
||||
"Overload signatures must all be exported or local.": "Overload signatures must all be exported or local.",
|
||||
"Overload signatures must all be ambient or non-ambient.": "Overload signatures must all be ambient or non-ambient.",
|
||||
"Overload signatures must all be optional or required.": "Overload signatures must all be optional or required.",
|
||||
"Specialized overload signature is not subtype of any non-specialized signature.": "Specialized overload signature is not subtype of any non-specialized signature.",
|
||||
"'this' cannot be referenced in constructor arguments.": "'this' cannot be referenced in constructor arguments.",
|
||||
"Static member cannot be accessed off an instance variable.": "Static member cannot be accessed off an instance variable.",
|
||||
"Instance member cannot be accessed off a class.": "Instance member cannot be accessed off a class.",
|
||||
"Untyped function calls may not accept type arguments.": "Untyped function calls may not accept type arguments.",
|
||||
"Non-generic functions may not accept type arguments.": "Non-generic functions may not accept type arguments.",
|
||||
"A generic type may not reference itself with a wrapped form of its own type parameters.": "A generic type may not reference itself with a wrapped form of its own type parameters.",
|
||||
"Rest parameters must be array types.": "Rest parameters must be array types.",
|
||||
"Overload signature implementation cannot use specialized type.": "Overload signature implementation cannot use specialized type.",
|
||||
"Export assignments may only be used at the top-level of external modules.": "Export assignments may only be used at the top-level of external modules.",
|
||||
"Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules": "Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules",
|
||||
"Only public instance methods of the base class are accessible via the 'super' keyword.": "Only public instance methods of the base class are accessible via the 'super' keyword.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}'.": "All numerically named properties must be subtypes of numeric indexer type '{0}'.",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}": "All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}",
|
||||
"All named properties must be subtypes of string indexer type '{0}'.": "All named properties must be subtypes of string indexer type '{0}'.",
|
||||
"All named properties must be subtypes of string indexer type '{0}':{NL}{1}": "All named properties must be subtypes of string indexer type '{0}':{NL}{1}",
|
||||
"Generic type references must include all type arguments.": "Generic type references must include all type arguments.",
|
||||
"Default arguments are not allowed in an overload parameter.": "Default arguments are not allowed in an overload parameter.",
|
||||
"Overloads cannot differ only by return type.": "Overloads cannot differ only by return type.",
|
||||
"Function expression declared a non-void return type, but has no return expression.": "Function expression declared a non-void return type, but has no return expression.",
|
||||
"Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.": "Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.",
|
||||
"Could not find symbol '{0}' in module '{1}'.": "Could not find symbol '{0}' in module '{1}'.",
|
||||
"Unable to resolve module reference '{0}'.": "Unable to resolve module reference '{0}'.",
|
||||
"Could not find module '{0}' in module '{1}'.": "Could not find module '{0}' in module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.",
|
||||
"Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.": "Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.",
|
||||
"Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.": "Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.",
|
||||
"Type '{0}' is missing property '{1}' from type '{2}'.": "Type '{0}' is missing property '{1}' from type '{2}'.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible.": "Types of property '{0}' of types '{1}' and '{2}' are incompatible.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}": "Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}",
|
||||
"Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.": "Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.",
|
||||
"Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.": "Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.",
|
||||
"Types '{0}' and '{1}' define property '{2}' as private.": "Types '{0}' and '{1}' define property '{2}' as private.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible.": "Call signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a call signature, but type '{1}' lacks one.": "Type '{0}' requires a call signature, but type '{1}' lacks one.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible.": "Construct signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a construct signature, but type '{1}' lacks one.": "Type '{0}' requires a construct signature, but type '{1}' lacks one.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible.": "Index signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Call signature expects {0} or fewer parameters.": "Call signature expects {0} or fewer parameters.",
|
||||
"Could not apply type '{0}' to argument {1} which is of type '{2}'.": "Could not apply type '{0}' to argument {1} which is of type '{2}'.",
|
||||
"Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}",
|
||||
"Type reference cannot refer to container '{0}'.": "Type reference cannot refer to container '{0}'.",
|
||||
"Type reference must refer to type.": "Type reference must refer to type.",
|
||||
"Enums with multiple declarations must provide an initializer for the first enum element.": "Enums with multiple declarations must provide an initializer for the first enum element.",
|
||||
" (+ {0} overload(s))": " (+ {0} overload(s))",
|
||||
"Current host does not support '{0}' option.": "Current host does not support '{0}' option.",
|
||||
"ECMAScript target version '{0}' not supported. Using default '{1}' code generation.": "ECMAScript target version '{0}' not supported. Using default '{1}' code generation.",
|
||||
"Module code generation '{0}' not supported.": "Module code generation '{0}' not supported.",
|
||||
"Could not find file: '{0}'.": "Could not find file: '{0}'.",
|
||||
"A file cannot have a reference to itself.": "A file cannot have a reference to itself.",
|
||||
"Cannot resolve referenced file: '{0}'.": "Cannot resolve referenced file: '{0}'.",
|
||||
"Cannot find the common subdirectory path for the input files.": "Cannot find the common subdirectory path for the input files.",
|
||||
"Emit Error: {0}.": "Emit Error: {0}.",
|
||||
"Cannot read file '{0}': {1}": "Cannot read file '{0}': {1}",
|
||||
"Unsupported file encoding.": "Unsupported file encoding.",
|
||||
"Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.": "Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.",
|
||||
"Unsupported locale: '{0}'.": "Unsupported locale: '{0}'.",
|
||||
"Execution Failed.{NL}": "Execution Failed.{NL}",
|
||||
"Should not emit a type query": "Should not emit a type query",
|
||||
"Should not emit a type reference": "Should not emit a type reference",
|
||||
"Invalid call to 'up'": "Invalid call to 'up'",
|
||||
"Invalid call to 'down'": "Invalid call to 'down'",
|
||||
"Base64 value '{0}' finished with a continuation bit": "Base64 value '{0}' finished with a continuation bit",
|
||||
"Key was already in table": "Key was already in table",
|
||||
"Unknown option '{0}'": "Unknown option '{0}'",
|
||||
"Expected {0} arguments to message, got {1} instead": "Expected {0} arguments to message, got {1} instead",
|
||||
"Expected the message '{0}' to have {1} arguments, but it had {2}": "Expected the message '{0}' to have {1} arguments, but it had {2}",
|
||||
"Invalid argument: {0}. {1}": "Invalid argument: {0}. {1}",
|
||||
"Invalid argument: {0}.": "Invalid argument: {0}.",
|
||||
"Argument out of range: {0}.": "Argument out of range: {0}.",
|
||||
"Argument null: {0}.": "Argument null: {0}.",
|
||||
"Operation not implemented properly by subclass.": "Operation not implemented properly by subclass.",
|
||||
"Not yet implemented.": "Not yet implemented.",
|
||||
"Invalid operation: {0}": "Invalid operation: {0}",
|
||||
"Invalid operation.": "Invalid operation.",
|
||||
"Could not delete file '{0}'": "Could not delete file '{0}'",
|
||||
"Could not create directory '{0}'": "Could not create directory '{0}'",
|
||||
"Error while executing file '{0}': ": "Error while executing file '{0}': ",
|
||||
"Cannot compile external modules unless the '--module' flag is provided.": "Cannot compile external modules unless the '--module' flag is provided.",
|
||||
"Option mapRoot cannot be specified without specifying sourcemap option.": "Option mapRoot cannot be specified without specifying sourcemap option.",
|
||||
"Option sourceRoot cannot be specified without specifying sourcemap option.": "Option sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.": "Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Concatenate and emit output to single file": "Concatenate and emit output to single file",
|
||||
"Generates corresponding {0} file": "Generates corresponding {0} file",
|
||||
"Specifies the location where debugger should locate map files instead of generated locations.": "Specifies the location where debugger should locate map files instead of generated locations.",
|
||||
"Specifies the location where debugger should locate TypeScript files instead of source locations.": "Specifies the location where debugger should locate TypeScript files instead of source locations.",
|
||||
"Watch input files": "Watch input files",
|
||||
"Redirect output structure to the directory": "Redirect output structure to the directory",
|
||||
"Do not emit comments to output": "Do not emit comments to output",
|
||||
"Skip resolution and preprocessing": "Skip resolution and preprocessing",
|
||||
"Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"": "Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"",
|
||||
"Specify module code generation: \"{0}\" or \"{1}\"": "Specify module code generation: \"{0}\" or \"{1}\"",
|
||||
"Print this message": "Print this message",
|
||||
"Print the compiler's version: {0}": "Print the compiler's version: {0}",
|
||||
"Allow use of deprecated \"{0}\" keyword when referencing an external module": "Allow use of deprecated \"{0}\" keyword when referencing an external module",
|
||||
"Specify locale for errors and messages. For example '{0}' or '{1}'": "Specify locale for errors and messages. For example '{0}' or '{1}'",
|
||||
"Syntax: {0}": "Syntax: {0}",
|
||||
"options": "options",
|
||||
"file": "file",
|
||||
"Examples:": "Examples:",
|
||||
"Options:": "Options:",
|
||||
"Insert command line options and files from a file.": "Insert command line options and files from a file.",
|
||||
"Version {0}": "Version {0}",
|
||||
"Use the '{0}' flag to see options": "Use the '{0}' flag to see options",
|
||||
"{NL}Recompiling ({0}):": "{NL}Recompiling ({0}):",
|
||||
"STRING": "STRING",
|
||||
"KIND": "KIND",
|
||||
"FILE": "FILE",
|
||||
"VERSION": "VERSION",
|
||||
"LOCATION": "LOCATION",
|
||||
"DIRECTORY": "DIRECTORY",
|
||||
"This version of the Javascript runtime does not support the '{0}' function.": "This version of the Javascript runtime does not support the '{0}' function.",
|
||||
"Looking up path for identifier token did not result in an identifer.": "Looking up path for identifier token did not result in an identifer.",
|
||||
"Unknown rule": "Unknown rule",
|
||||
"Invalid line number ({0})": "Invalid line number ({0})",
|
||||
"Warn on expressions and declarations with an implied 'any' type.": "Warn on expressions and declarations with an implied 'any' type.",
|
||||
"Variable '{0}' implicitly has an 'any' type.": "Variable '{0}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of '{1}' implicitly has an 'any' type.": "Parameter '{0}' of '{1}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of function type implicitly has an 'any' type.": "Parameter '{0}' of function type implicitly has an 'any' type.",
|
||||
"Member '{0}' of object type implicitly has an 'any' type.": "Member '{0}' of object type implicitly has an 'any' type.",
|
||||
"\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.": "\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.",
|
||||
"'{0}', which lacks return-type annotation, implicitly has an 'any' return type.": "'{0}', which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Function expression, which lacks return-type annotation, implicitly has an 'any' return type.": "Function expression, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Parameter '{0}' of lambda function implicitly has an 'any' type.": "Parameter '{0}' of lambda function implicitly has an 'any' type.",
|
||||
"Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.": "Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.": "Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Array Literal implicitly has an 'any' type from widening.": "Array Literal implicitly has an 'any' type from widening."
|
||||
}
|
||||
374
bin/resources/cz/diagnosticMessages.generated.json
Normal file
374
bin/resources/cz/diagnosticMessages.generated.json
Normal file
@ -0,0 +1,374 @@
|
||||
{
|
||||
"error TS{0}: {1}": "error TS{0}: {1}",
|
||||
"warning TS{0}: {1}": "warning TS{0}: {1}",
|
||||
"Unrecognized escape sequence.": "Unrecognized escape sequence.",
|
||||
"Unexpected character {0}.": "Unexpected character {0}.",
|
||||
"Missing close quote character.": "Missing close quote character.",
|
||||
"Identifier expected.": "Identifier expected.",
|
||||
"'{0}' keyword expected.": "'{0}' keyword expected.",
|
||||
"'{0}' expected.": "'{0}' expected.",
|
||||
"Identifier expected; '{0}' is a keyword.": "Identifier expected; '{0}' is a keyword.",
|
||||
"Automatic semicolon insertion not allowed.": "Automatic semicolon insertion not allowed.",
|
||||
"Unexpected token; '{0}' expected.": "Unexpected token; '{0}' expected.",
|
||||
"Trailing separator not allowed.": "Trailing separator not allowed.",
|
||||
"'*/' expected.": "'*/' expected.",
|
||||
"'public' or 'private' modifier must precede 'static'.": "'public' or 'private' modifier must precede 'static'.",
|
||||
"Unexpected token.": "Unexpected token.",
|
||||
"Catch clause parameter cannot have a type annotation.": "Catch clause parameter cannot have a type annotation.",
|
||||
"Rest parameter must be last in list.": "Rest parameter must be last in list.",
|
||||
"Parameter cannot have question mark and initializer.": "Parameter cannot have question mark and initializer.",
|
||||
"Required parameter cannot follow optional parameter.": "Required parameter cannot follow optional parameter.",
|
||||
"Index signatures cannot have rest parameters.": "Index signatures cannot have rest parameters.",
|
||||
"Index signature parameter cannot have accessibility modifiers.": "Index signature parameter cannot have accessibility modifiers.",
|
||||
"Index signature parameter cannot have a question mark.": "Index signature parameter cannot have a question mark.",
|
||||
"Index signature parameter cannot have an initializer.": "Index signature parameter cannot have an initializer.",
|
||||
"Index signature must have a type annotation.": "Index signature must have a type annotation.",
|
||||
"Index signature parameter must have a type annotation.": "Index signature parameter must have a type annotation.",
|
||||
"Index signature parameter type must be 'string' or 'number'.": "Index signature parameter type must be 'string' or 'number'.",
|
||||
"'extends' clause already seen.": "'extends' clause already seen.",
|
||||
"'extends' clause must precede 'implements' clause.": "'extends' clause must precede 'implements' clause.",
|
||||
"Classes can only extend a single class.": "Classes can only extend a single class.",
|
||||
"'implements' clause already seen.": "'implements' clause already seen.",
|
||||
"Accessibility modifier already seen.": "Accessibility modifier already seen.",
|
||||
"'{0}' modifier must precede '{1}' modifier.": "'{0}' modifier must precede '{1}' modifier.",
|
||||
"'{0}' modifier already seen.": "'{0}' modifier already seen.",
|
||||
"'{0}' modifier cannot appear on a class element.": "'{0}' modifier cannot appear on a class element.",
|
||||
"Interface declaration cannot have 'implements' clause.": "Interface declaration cannot have 'implements' clause.",
|
||||
"'super' invocation cannot have type arguments.": "'super' invocation cannot have type arguments.",
|
||||
"Only ambient modules can use quoted names.": "Only ambient modules can use quoted names.",
|
||||
"Statements are not allowed in ambient contexts.": "Statements are not allowed in ambient contexts.",
|
||||
"Implementations are not allowed in ambient contexts.": "Implementations are not allowed in ambient contexts.",
|
||||
"'declare' modifier not allowed for code already in an ambient context.": "'declare' modifier not allowed for code already in an ambient context.",
|
||||
"Initializers are not allowed in ambient contexts.": "Initializers are not allowed in ambient contexts.",
|
||||
"Parameter property declarations can only be used in constructors.": "Parameter property declarations can only be used in constructors.",
|
||||
"Function implementation expected.": "Function implementation expected.",
|
||||
"Constructor implementation expected.": "Constructor implementation expected.",
|
||||
"Function overload name must be '{0}'.": "Function overload name must be '{0}'.",
|
||||
"'{0}' modifier cannot appear on a module element.": "'{0}' modifier cannot appear on a module element.",
|
||||
"'declare' modifier cannot appear on an interface declaration.": "'declare' modifier cannot appear on an interface declaration.",
|
||||
"'declare' modifier required for top level element.": "'declare' modifier required for top level element.",
|
||||
"Rest parameter cannot be optional.": "Rest parameter cannot be optional.",
|
||||
"Rest parameter cannot have an initializer.": "Rest parameter cannot have an initializer.",
|
||||
"'set' accessor must have one and only one parameter.": "'set' accessor must have one and only one parameter.",
|
||||
"'set' accessor parameter cannot have accessibility modifier.": "'set' accessor parameter cannot have accessibility modifier.",
|
||||
"'set' accessor parameter cannot be optional.": "'set' accessor parameter cannot be optional.",
|
||||
"'set' accessor parameter cannot have an initializer.": "'set' accessor parameter cannot have an initializer.",
|
||||
"'set' accessor cannot have rest parameter.": "'set' accessor cannot have rest parameter.",
|
||||
"'get' accessor cannot have parameters.": "'get' accessor cannot have parameters.",
|
||||
"Modifiers cannot appear here.": "Modifiers cannot appear here.",
|
||||
"Accessors are only available when targeting ECMAScript 5 and higher.": "Accessors are only available when targeting ECMAScript 5 and higher.",
|
||||
"Class name cannot be '{0}'.": "Class name cannot be '{0}'.",
|
||||
"Interface name cannot be '{0}'.": "Interface name cannot be '{0}'.",
|
||||
"Enum name cannot be '{0}'.": "Enum name cannot be '{0}'.",
|
||||
"Module name cannot be '{0}'.": "Module name cannot be '{0}'.",
|
||||
"Enum member must have initializer.": "Enum member must have initializer.",
|
||||
"Export assignment cannot be used in internal modules.": "Export assignment cannot be used in internal modules.",
|
||||
"Export assignment not allowed in module with exported element.": "Export assignment not allowed in module with exported element.",
|
||||
"Module cannot have multiple export assignments.": "Module cannot have multiple export assignments.",
|
||||
"Ambient enum elements can only have integer literal initializers.": "Ambient enum elements can only have integer literal initializers.",
|
||||
"module, class, interface, enum, import or statement": "module, class, interface, enum, import or statement",
|
||||
"constructor, function, accessor or variable": "constructor, function, accessor or variable",
|
||||
"statement": "statement",
|
||||
"case or default clause": "case or default clause",
|
||||
"identifier": "identifier",
|
||||
"call, construct, index, property or function signature": "call, construct, index, property or function signature",
|
||||
"expression": "expression",
|
||||
"type name": "type name",
|
||||
"property or accessor": "property or accessor",
|
||||
"parameter": "parameter",
|
||||
"type": "type",
|
||||
"type parameter": "type parameter",
|
||||
"'declare' modifier not allowed on import declaration.": "'declare' modifier not allowed on import declaration.",
|
||||
"Function overload must be static": "Function overload must be static",
|
||||
"Function overload must not be static": "Function overload must not be static",
|
||||
"Duplicate identifier '{0}'.": "Duplicate identifier '{0}'.",
|
||||
"The name '{0}' does not exist in the current scope.": "The name '{0}' does not exist in the current scope.",
|
||||
"The name '{0}' does not refer to a value.": "The name '{0}' does not refer to a value.",
|
||||
"'super' can only be used inside a class instance method.": "'super' can only be used inside a class instance method.",
|
||||
"The left-hand side of an assignment expression must be a variable, property or indexer.": "The left-hand side of an assignment expression must be a variable, property or indexer.",
|
||||
"Value of type '{0}' is not callable. Did you mean to include 'new'?": "Value of type '{0}' is not callable. Did you mean to include 'new'?",
|
||||
"Value of type '{0}' is not callable.": "Value of type '{0}' is not callable.",
|
||||
"Value of type '{0}' is not newable.": "Value of type '{0}' is not newable.",
|
||||
"Value of type '{0}' is not indexable by type '{1}'.": "Value of type '{0}' is not indexable by type '{1}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}'.": "Operator '{0}' cannot be applied to types '{1}' and '{2}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}": "Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}",
|
||||
"Cannot convert '{0}' to '{1}'.": "Cannot convert '{0}' to '{1}'.",
|
||||
"Cannot convert '{0}' to '{1}':{NL}{2}": "Cannot convert '{0}' to '{1}':{NL}{2}",
|
||||
"Expected var, class, interface, or module.": "Expected var, class, interface, or module.",
|
||||
"Operator '{0}' cannot be applied to type '{1}'.": "Operator '{0}' cannot be applied to type '{1}'.",
|
||||
"Getter '{0}' already declared.": "Getter '{0}' already declared.",
|
||||
"Setter '{0}' already declared.": "Setter '{0}' already declared.",
|
||||
"Accessors cannot have type parameters.": "Accessors cannot have type parameters.",
|
||||
"Exported class '{0}' extends private class '{1}'.": "Exported class '{0}' extends private class '{1}'.",
|
||||
"Exported class '{0}' implements private interface '{1}'.": "Exported class '{0}' implements private interface '{1}'.",
|
||||
"Exported interface '{0}' extends private interface '{1}'.": "Exported interface '{0}' extends private interface '{1}'.",
|
||||
"Exported class '{0}' extends class from inaccessible module {1}.": "Exported class '{0}' extends class from inaccessible module {1}.",
|
||||
"Exported class '{0}' implements interface from inaccessible module {1}.": "Exported class '{0}' implements interface from inaccessible module {1}.",
|
||||
"Exported interface '{0}' extends interface from inaccessible module {1}.": "Exported interface '{0}' extends interface from inaccessible module {1}.",
|
||||
"Public static property '{0}' of exported class has or is using private type '{1}'.": "Public static property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Public property '{0}' of exported class has or is using private type '{1}'.": "Public property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Property '{0}' of exported interface has or is using private type '{1}'.": "Property '{0}' of exported interface has or is using private type '{1}'.",
|
||||
"Exported variable '{0}' has or is using private type '{1}'.": "Exported variable '{0}' has or is using private type '{1}'.",
|
||||
"Public static property '{0}' of exported class is using inaccessible module {1}.": "Public static property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Public property '{0}' of exported class is using inaccessible module {1}.": "Public property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Property '{0}' of exported interface is using inaccessible module {1}.": "Property '{0}' of exported interface is using inaccessible module {1}.",
|
||||
"Exported variable '{0}' is using inaccessible module {1}.": "Exported variable '{0}' is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor from exported class has or is using private type '{1}'.": "Parameter '{0}' of constructor from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of method from exported interface has or is using private type '{1}'.": "Parameter '{0}' of method from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of exported function has or is using private type '{1}'.": "Parameter '{0}' of exported function has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor from exported class is using inaccessible module {1}.": "Parameter '{0}' of constructor from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.": "Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of call signature from exported interface is using inaccessible module {1}": "Parameter '{0}' of call signature from exported interface is using inaccessible module {1}",
|
||||
"Parameter '{0}' of public static method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of method from exported interface is using inaccessible module {1}.": "Parameter '{0}' of method from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of exported function is using inaccessible module {1}.": "Parameter '{0}' of exported function is using inaccessible module {1}.",
|
||||
"Return type of public static property getter from exported class has or is using private type '{0}'.": "Return type of public static property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of public property getter from exported class has or is using private type '{0}'.": "Return type of public property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of constructor signature from exported interface has or is using private type '{0}'.": "Return type of constructor signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of call signature from exported interface has or is using private type '{0}'.": "Return type of call signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of index signature from exported interface has or is using private type '{0}'.": "Return type of index signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of public static method from exported class has or is using private type '{0}'.": "Return type of public static method from exported class has or is using private type '{0}'.",
|
||||
"Return type of public method from exported class has or is using private type '{0}'.": "Return type of public method from exported class has or is using private type '{0}'.",
|
||||
"Return type of method from exported interface has or is using private type '{0}'.": "Return type of method from exported interface has or is using private type '{0}'.",
|
||||
"Return type of exported function has or is using private type '{0}'.": "Return type of exported function has or is using private type '{0}'.",
|
||||
"Return type of public static property getter from exported class is using inaccessible module {0}.": "Return type of public static property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of public property getter from exported class is using inaccessible module {0}.": "Return type of public property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of constructor signature from exported interface is using inaccessible module {0}.": "Return type of constructor signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of call signature from exported interface is using inaccessible module {0}.": "Return type of call signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of index signature from exported interface is using inaccessible module {0}.": "Return type of index signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of public static method from exported class is using inaccessible module {0}.": "Return type of public static method from exported class is using inaccessible module {0}.",
|
||||
"Return type of public method from exported class is using inaccessible module {0}.": "Return type of public method from exported class is using inaccessible module {0}.",
|
||||
"Return type of method from exported interface is using inaccessible module {0}.": "Return type of method from exported interface is using inaccessible module {0}.",
|
||||
"Return type of exported function is using inaccessible module {0}.": "Return type of exported function is using inaccessible module {0}.",
|
||||
"'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.": "'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.",
|
||||
"A parameter list must follow a generic type argument list. '(' expected.": "A parameter list must follow a generic type argument list. '(' expected.",
|
||||
"Multiple constructor implementations are not allowed.": "Multiple constructor implementations are not allowed.",
|
||||
"Unable to resolve external module '{0}'.": "Unable to resolve external module '{0}'.",
|
||||
"Module cannot be aliased to a non-module type.": "Module cannot be aliased to a non-module type.",
|
||||
"A class may only extend another class.": "A class may only extend another class.",
|
||||
"A class may only implement another class or interface.": "A class may only implement another class or interface.",
|
||||
"An interface may only extend another class or interface.": "An interface may only extend another class or interface.",
|
||||
"An interface cannot implement another type.": "An interface cannot implement another type.",
|
||||
"Unable to resolve type.": "Unable to resolve type.",
|
||||
"Unable to resolve type of '{0}'.": "Unable to resolve type of '{0}'.",
|
||||
"Unable to resolve type parameter constraint.": "Unable to resolve type parameter constraint.",
|
||||
"Type parameter constraint cannot be a primitive type.": "Type parameter constraint cannot be a primitive type.",
|
||||
"Supplied parameters do not match any signature of call target.": "Supplied parameters do not match any signature of call target.",
|
||||
"Supplied parameters do not match any signature of call target:{NL}{0}": "Supplied parameters do not match any signature of call target:{NL}{0}",
|
||||
"Invalid 'new' expression.": "Invalid 'new' expression.",
|
||||
"Call signatures used in a 'new' expression must have a 'void' return type.": "Call signatures used in a 'new' expression must have a 'void' return type.",
|
||||
"Could not select overload for 'new' expression.": "Could not select overload for 'new' expression.",
|
||||
"Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.": "Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.",
|
||||
"Could not select overload for 'call' expression.": "Could not select overload for 'call' expression.",
|
||||
"Cannot invoke an expression whose type lacks a call signature.": "Cannot invoke an expression whose type lacks a call signature.",
|
||||
"Calls to 'super' are only valid inside a class.": "Calls to 'super' are only valid inside a class.",
|
||||
"Generic type '{0}' requires {1} type argument(s).": "Generic type '{0}' requires {1} type argument(s).",
|
||||
"Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.": "Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.",
|
||||
"Type of array literal cannot be determined. Best common type could not be found for array elements.": "Type of array literal cannot be determined. Best common type could not be found for array elements.",
|
||||
"Could not find enclosing symbol for dotted name '{0}'.": "Could not find enclosing symbol for dotted name '{0}'.",
|
||||
"The property '{0}' does not exist on value of type '{1}'.": "The property '{0}' does not exist on value of type '{1}'.",
|
||||
"Could not find symbol '{0}'.": "Could not find symbol '{0}'.",
|
||||
"'get' and 'set' accessor must have the same type.": "'get' and 'set' accessor must have the same type.",
|
||||
"'this' cannot be referenced in current location.": "'this' cannot be referenced in current location.",
|
||||
"Static methods cannot reference class type parameters.": "Static methods cannot reference class type parameters.",
|
||||
"Class '{0}' is recursively referenced as a base type of itself.": "Class '{0}' is recursively referenced as a base type of itself.",
|
||||
"Interface '{0}' is recursively referenced as a base type of itself.": "Interface '{0}' is recursively referenced as a base type of itself.",
|
||||
"'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.": "'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.",
|
||||
"'super' cannot be referenced in non-derived classes.": "'super' cannot be referenced in non-derived classes.",
|
||||
"A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.": "A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.",
|
||||
"Constructors for derived classes must contain a 'super' call.": "Constructors for derived classes must contain a 'super' call.",
|
||||
"Super calls are not permitted outside constructors or in local functions inside constructors.": "Super calls are not permitted outside constructors or in local functions inside constructors.",
|
||||
"'{0}.{1}' is inaccessible.": "'{0}.{1}' is inaccessible.",
|
||||
"'this' cannot be referenced within module bodies.": "'this' cannot be referenced within module bodies.",
|
||||
"Invalid '+' expression - types not known to support the addition operator.": "Invalid '+' expression - types not known to support the addition operator.",
|
||||
"The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.": "The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.",
|
||||
"Variable declarations of a 'for' statement cannot use a type annotation.": "Variable declarations of a 'for' statement cannot use a type annotation.",
|
||||
"Variable declarations of a 'for' statement must be of types 'string' or 'any'.": "Variable declarations of a 'for' statement must be of types 'string' or 'any'.",
|
||||
"The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.": "The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'in' expression must be of types 'string' or 'any'.": "The left-hand side of an 'in' expression must be of types 'string' or 'any'.",
|
||||
"The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.": "The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.": "The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.": "The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.",
|
||||
"Setters cannot return a value.": "Setters cannot return a value.",
|
||||
"Tried to query type of uninitialized module '{0}'.": "Tried to query type of uninitialized module '{0}'.",
|
||||
"Tried to set variable type to uninitialized module type '{0}'.": "Tried to set variable type to uninitialized module type '{0}'.",
|
||||
"Function '{0}' declared a non-void return type, but has no return expression.": "Function '{0}' declared a non-void return type, but has no return expression.",
|
||||
"Getters must return a value.": "Getters must return a value.",
|
||||
"Getter and setter accessors do not agree in visibility.": "Getter and setter accessors do not agree in visibility.",
|
||||
"Invalid left-hand side of assignment expression.": "Invalid left-hand side of assignment expression.",
|
||||
"Function declared a non-void return type, but has no return expression.": "Function declared a non-void return type, but has no return expression.",
|
||||
"Cannot resolve return type reference.": "Cannot resolve return type reference.",
|
||||
"Constructors cannot have a return type of 'void'.": "Constructors cannot have a return type of 'void'.",
|
||||
"Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.": "Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.",
|
||||
"All symbols within a with block will be resolved to 'any'.": "All symbols within a with block will be resolved to 'any'.",
|
||||
"Import declarations in an internal module cannot reference an external module.": "Import declarations in an internal module cannot reference an external module.",
|
||||
"Class {0} declares interface {1} but does not implement it:{NL}{2}": "Class {0} declares interface {1} but does not implement it:{NL}{2}",
|
||||
"Class {0} declares class {1} as an interface but does not implement it:{NL}{2}": "Class {0} declares class {1} as an interface but does not implement it:{NL}{2}",
|
||||
"The operand of an increment or decrement operator must be a variable, property or indexer.": "The operand of an increment or decrement operator must be a variable, property or indexer.",
|
||||
"'this' cannot be referenced in static initializers in a class body.": "'this' cannot be referenced in static initializers in a class body.",
|
||||
"Class '{0}' cannot extend class '{1}':{NL}{2}": "Class '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend class '{1}':{NL}{2}": "Interface '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend interface '{1}':{NL}{2}": "Interface '{0}' cannot extend interface '{1}':{NL}{2}",
|
||||
"Duplicate overload signature for '{0}'.": "Duplicate overload signature for '{0}'.",
|
||||
"Duplicate constructor overload signature.": "Duplicate constructor overload signature.",
|
||||
"Duplicate overload call signature.": "Duplicate overload call signature.",
|
||||
"Duplicate overload construct signature.": "Duplicate overload construct signature.",
|
||||
"Overload signature is not compatible with function definition.": "Overload signature is not compatible with function definition.",
|
||||
"Overload signature is not compatible with function definition:{NL}{0}": "Overload signature is not compatible with function definition:{NL}{0}",
|
||||
"Overload signatures must all be public or private.": "Overload signatures must all be public or private.",
|
||||
"Overload signatures must all be exported or local.": "Overload signatures must all be exported or local.",
|
||||
"Overload signatures must all be ambient or non-ambient.": "Overload signatures must all be ambient or non-ambient.",
|
||||
"Overload signatures must all be optional or required.": "Overload signatures must all be optional or required.",
|
||||
"Specialized overload signature is not subtype of any non-specialized signature.": "Specialized overload signature is not subtype of any non-specialized signature.",
|
||||
"'this' cannot be referenced in constructor arguments.": "'this' cannot be referenced in constructor arguments.",
|
||||
"Static member cannot be accessed off an instance variable.": "Static member cannot be accessed off an instance variable.",
|
||||
"Instance member cannot be accessed off a class.": "Instance member cannot be accessed off a class.",
|
||||
"Untyped function calls may not accept type arguments.": "Untyped function calls may not accept type arguments.",
|
||||
"Non-generic functions may not accept type arguments.": "Non-generic functions may not accept type arguments.",
|
||||
"A generic type may not reference itself with a wrapped form of its own type parameters.": "A generic type may not reference itself with a wrapped form of its own type parameters.",
|
||||
"Rest parameters must be array types.": "Rest parameters must be array types.",
|
||||
"Overload signature implementation cannot use specialized type.": "Overload signature implementation cannot use specialized type.",
|
||||
"Export assignments may only be used at the top-level of external modules.": "Export assignments may only be used at the top-level of external modules.",
|
||||
"Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules": "Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules",
|
||||
"Only public instance methods of the base class are accessible via the 'super' keyword.": "Only public instance methods of the base class are accessible via the 'super' keyword.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}'.": "All numerically named properties must be subtypes of numeric indexer type '{0}'.",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}": "All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}",
|
||||
"All named properties must be subtypes of string indexer type '{0}'.": "All named properties must be subtypes of string indexer type '{0}'.",
|
||||
"All named properties must be subtypes of string indexer type '{0}':{NL}{1}": "All named properties must be subtypes of string indexer type '{0}':{NL}{1}",
|
||||
"Generic type references must include all type arguments.": "Generic type references must include all type arguments.",
|
||||
"Default arguments are not allowed in an overload parameter.": "Default arguments are not allowed in an overload parameter.",
|
||||
"Overloads cannot differ only by return type.": "Overloads cannot differ only by return type.",
|
||||
"Function expression declared a non-void return type, but has no return expression.": "Function expression declared a non-void return type, but has no return expression.",
|
||||
"Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.": "Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.",
|
||||
"Could not find symbol '{0}' in module '{1}'.": "Could not find symbol '{0}' in module '{1}'.",
|
||||
"Unable to resolve module reference '{0}'.": "Unable to resolve module reference '{0}'.",
|
||||
"Could not find module '{0}' in module '{1}'.": "Could not find module '{0}' in module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.",
|
||||
"Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.": "Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.",
|
||||
"Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.": "Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.",
|
||||
"Type '{0}' is missing property '{1}' from type '{2}'.": "Type '{0}' is missing property '{1}' from type '{2}'.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible.": "Types of property '{0}' of types '{1}' and '{2}' are incompatible.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}": "Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}",
|
||||
"Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.": "Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.",
|
||||
"Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.": "Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.",
|
||||
"Types '{0}' and '{1}' define property '{2}' as private.": "Types '{0}' and '{1}' define property '{2}' as private.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible.": "Call signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a call signature, but type '{1}' lacks one.": "Type '{0}' requires a call signature, but type '{1}' lacks one.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible.": "Construct signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a construct signature, but type '{1}' lacks one.": "Type '{0}' requires a construct signature, but type '{1}' lacks one.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible.": "Index signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Call signature expects {0} or fewer parameters.": "Call signature expects {0} or fewer parameters.",
|
||||
"Could not apply type '{0}' to argument {1} which is of type '{2}'.": "Could not apply type '{0}' to argument {1} which is of type '{2}'.",
|
||||
"Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}",
|
||||
"Type reference cannot refer to container '{0}'.": "Type reference cannot refer to container '{0}'.",
|
||||
"Type reference must refer to type.": "Type reference must refer to type.",
|
||||
"Enums with multiple declarations must provide an initializer for the first enum element.": "Enums with multiple declarations must provide an initializer for the first enum element.",
|
||||
" (+ {0} overload(s))": " (+ {0} overload(s))",
|
||||
"Current host does not support '{0}' option.": "Current host does not support '{0}' option.",
|
||||
"ECMAScript target version '{0}' not supported. Using default '{1}' code generation.": "ECMAScript target version '{0}' not supported. Using default '{1}' code generation.",
|
||||
"Module code generation '{0}' not supported.": "Module code generation '{0}' not supported.",
|
||||
"Could not find file: '{0}'.": "Could not find file: '{0}'.",
|
||||
"A file cannot have a reference to itself.": "A file cannot have a reference to itself.",
|
||||
"Cannot resolve referenced file: '{0}'.": "Cannot resolve referenced file: '{0}'.",
|
||||
"Cannot find the common subdirectory path for the input files.": "Cannot find the common subdirectory path for the input files.",
|
||||
"Emit Error: {0}.": "Emit Error: {0}.",
|
||||
"Cannot read file '{0}': {1}": "Cannot read file '{0}': {1}",
|
||||
"Unsupported file encoding.": "Unsupported file encoding.",
|
||||
"Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.": "Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.",
|
||||
"Unsupported locale: '{0}'.": "Unsupported locale: '{0}'.",
|
||||
"Execution Failed.{NL}": "Execution Failed.{NL}",
|
||||
"Should not emit a type query": "Should not emit a type query",
|
||||
"Should not emit a type reference": "Should not emit a type reference",
|
||||
"Invalid call to 'up'": "Invalid call to 'up'",
|
||||
"Invalid call to 'down'": "Invalid call to 'down'",
|
||||
"Base64 value '{0}' finished with a continuation bit": "Base64 value '{0}' finished with a continuation bit",
|
||||
"Key was already in table": "Key was already in table",
|
||||
"Unknown option '{0}'": "Unknown option '{0}'",
|
||||
"Expected {0} arguments to message, got {1} instead": "Expected {0} arguments to message, got {1} instead",
|
||||
"Expected the message '{0}' to have {1} arguments, but it had {2}": "Expected the message '{0}' to have {1} arguments, but it had {2}",
|
||||
"Invalid argument: {0}. {1}": "Invalid argument: {0}. {1}",
|
||||
"Invalid argument: {0}.": "Invalid argument: {0}.",
|
||||
"Argument out of range: {0}.": "Argument out of range: {0}.",
|
||||
"Argument null: {0}.": "Argument null: {0}.",
|
||||
"Operation not implemented properly by subclass.": "Operation not implemented properly by subclass.",
|
||||
"Not yet implemented.": "Not yet implemented.",
|
||||
"Invalid operation: {0}": "Invalid operation: {0}",
|
||||
"Invalid operation.": "Invalid operation.",
|
||||
"Could not delete file '{0}'": "Could not delete file '{0}'",
|
||||
"Could not create directory '{0}'": "Could not create directory '{0}'",
|
||||
"Error while executing file '{0}': ": "Error while executing file '{0}': ",
|
||||
"Cannot compile external modules unless the '--module' flag is provided.": "Cannot compile external modules unless the '--module' flag is provided.",
|
||||
"Option mapRoot cannot be specified without specifying sourcemap option.": "Option mapRoot cannot be specified without specifying sourcemap option.",
|
||||
"Option sourceRoot cannot be specified without specifying sourcemap option.": "Option sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.": "Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Concatenate and emit output to single file": "Concatenate and emit output to single file",
|
||||
"Generates corresponding {0} file": "Generates corresponding {0} file",
|
||||
"Specifies the location where debugger should locate map files instead of generated locations.": "Specifies the location where debugger should locate map files instead of generated locations.",
|
||||
"Specifies the location where debugger should locate TypeScript files instead of source locations.": "Specifies the location where debugger should locate TypeScript files instead of source locations.",
|
||||
"Watch input files": "Watch input files",
|
||||
"Redirect output structure to the directory": "Redirect output structure to the directory",
|
||||
"Do not emit comments to output": "Do not emit comments to output",
|
||||
"Skip resolution and preprocessing": "Skip resolution and preprocessing",
|
||||
"Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"": "Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"",
|
||||
"Specify module code generation: \"{0}\" or \"{1}\"": "Specify module code generation: \"{0}\" or \"{1}\"",
|
||||
"Print this message": "Print this message",
|
||||
"Print the compiler's version: {0}": "Print the compiler's version: {0}",
|
||||
"Allow use of deprecated \"{0}\" keyword when referencing an external module": "Allow use of deprecated \"{0}\" keyword when referencing an external module",
|
||||
"Specify locale for errors and messages. For example '{0}' or '{1}'": "Specify locale for errors and messages. For example '{0}' or '{1}'",
|
||||
"Syntax: {0}": "Syntax: {0}",
|
||||
"options": "options",
|
||||
"file": "file",
|
||||
"Examples:": "Examples:",
|
||||
"Options:": "Options:",
|
||||
"Insert command line options and files from a file.": "Insert command line options and files from a file.",
|
||||
"Version {0}": "Version {0}",
|
||||
"Use the '{0}' flag to see options": "Use the '{0}' flag to see options",
|
||||
"{NL}Recompiling ({0}):": "{NL}Recompiling ({0}):",
|
||||
"STRING": "STRING",
|
||||
"KIND": "KIND",
|
||||
"FILE": "FILE",
|
||||
"VERSION": "VERSION",
|
||||
"LOCATION": "LOCATION",
|
||||
"DIRECTORY": "DIRECTORY",
|
||||
"This version of the Javascript runtime does not support the '{0}' function.": "This version of the Javascript runtime does not support the '{0}' function.",
|
||||
"Looking up path for identifier token did not result in an identifer.": "Looking up path for identifier token did not result in an identifer.",
|
||||
"Unknown rule": "Unknown rule",
|
||||
"Invalid line number ({0})": "Invalid line number ({0})",
|
||||
"Warn on expressions and declarations with an implied 'any' type.": "Warn on expressions and declarations with an implied 'any' type.",
|
||||
"Variable '{0}' implicitly has an 'any' type.": "Variable '{0}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of '{1}' implicitly has an 'any' type.": "Parameter '{0}' of '{1}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of function type implicitly has an 'any' type.": "Parameter '{0}' of function type implicitly has an 'any' type.",
|
||||
"Member '{0}' of object type implicitly has an 'any' type.": "Member '{0}' of object type implicitly has an 'any' type.",
|
||||
"\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.": "\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.",
|
||||
"'{0}', which lacks return-type annotation, implicitly has an 'any' return type.": "'{0}', which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Function expression, which lacks return-type annotation, implicitly has an 'any' return type.": "Function expression, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Parameter '{0}' of lambda function implicitly has an 'any' type.": "Parameter '{0}' of lambda function implicitly has an 'any' type.",
|
||||
"Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.": "Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.": "Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Array Literal implicitly has an 'any' type from widening.": "Array Literal implicitly has an 'any' type from widening."
|
||||
}
|
||||
374
bin/resources/de/diagnosticMessages.generated.json
Normal file
374
bin/resources/de/diagnosticMessages.generated.json
Normal file
@ -0,0 +1,374 @@
|
||||
{
|
||||
"error TS{0}: {1}": "error TS{0}: {1}",
|
||||
"warning TS{0}: {1}": "warning TS{0}: {1}",
|
||||
"Unrecognized escape sequence.": "Unrecognized escape sequence.",
|
||||
"Unexpected character {0}.": "Unexpected character {0}.",
|
||||
"Missing close quote character.": "Missing close quote character.",
|
||||
"Identifier expected.": "Identifier expected.",
|
||||
"'{0}' keyword expected.": "'{0}' keyword expected.",
|
||||
"'{0}' expected.": "'{0}' expected.",
|
||||
"Identifier expected; '{0}' is a keyword.": "Identifier expected; '{0}' is a keyword.",
|
||||
"Automatic semicolon insertion not allowed.": "Automatic semicolon insertion not allowed.",
|
||||
"Unexpected token; '{0}' expected.": "Unexpected token; '{0}' expected.",
|
||||
"Trailing separator not allowed.": "Trailing separator not allowed.",
|
||||
"'*/' expected.": "'*/' expected.",
|
||||
"'public' or 'private' modifier must precede 'static'.": "'public' or 'private' modifier must precede 'static'.",
|
||||
"Unexpected token.": "Unexpected token.",
|
||||
"Catch clause parameter cannot have a type annotation.": "Catch clause parameter cannot have a type annotation.",
|
||||
"Rest parameter must be last in list.": "Rest parameter must be last in list.",
|
||||
"Parameter cannot have question mark and initializer.": "Parameter cannot have question mark and initializer.",
|
||||
"Required parameter cannot follow optional parameter.": "Required parameter cannot follow optional parameter.",
|
||||
"Index signatures cannot have rest parameters.": "Index signatures cannot have rest parameters.",
|
||||
"Index signature parameter cannot have accessibility modifiers.": "Index signature parameter cannot have accessibility modifiers.",
|
||||
"Index signature parameter cannot have a question mark.": "Index signature parameter cannot have a question mark.",
|
||||
"Index signature parameter cannot have an initializer.": "Index signature parameter cannot have an initializer.",
|
||||
"Index signature must have a type annotation.": "Index signature must have a type annotation.",
|
||||
"Index signature parameter must have a type annotation.": "Index signature parameter must have a type annotation.",
|
||||
"Index signature parameter type must be 'string' or 'number'.": "Index signature parameter type must be 'string' or 'number'.",
|
||||
"'extends' clause already seen.": "'extends' clause already seen.",
|
||||
"'extends' clause must precede 'implements' clause.": "'extends' clause must precede 'implements' clause.",
|
||||
"Classes can only extend a single class.": "Classes can only extend a single class.",
|
||||
"'implements' clause already seen.": "'implements' clause already seen.",
|
||||
"Accessibility modifier already seen.": "Accessibility modifier already seen.",
|
||||
"'{0}' modifier must precede '{1}' modifier.": "'{0}' modifier must precede '{1}' modifier.",
|
||||
"'{0}' modifier already seen.": "'{0}' modifier already seen.",
|
||||
"'{0}' modifier cannot appear on a class element.": "'{0}' modifier cannot appear on a class element.",
|
||||
"Interface declaration cannot have 'implements' clause.": "Interface declaration cannot have 'implements' clause.",
|
||||
"'super' invocation cannot have type arguments.": "'super' invocation cannot have type arguments.",
|
||||
"Only ambient modules can use quoted names.": "Only ambient modules can use quoted names.",
|
||||
"Statements are not allowed in ambient contexts.": "Statements are not allowed in ambient contexts.",
|
||||
"Implementations are not allowed in ambient contexts.": "Implementations are not allowed in ambient contexts.",
|
||||
"'declare' modifier not allowed for code already in an ambient context.": "'declare' modifier not allowed for code already in an ambient context.",
|
||||
"Initializers are not allowed in ambient contexts.": "Initializers are not allowed in ambient contexts.",
|
||||
"Parameter property declarations can only be used in constructors.": "Parameter property declarations can only be used in constructors.",
|
||||
"Function implementation expected.": "Function implementation expected.",
|
||||
"Constructor implementation expected.": "Constructor implementation expected.",
|
||||
"Function overload name must be '{0}'.": "Function overload name must be '{0}'.",
|
||||
"'{0}' modifier cannot appear on a module element.": "'{0}' modifier cannot appear on a module element.",
|
||||
"'declare' modifier cannot appear on an interface declaration.": "'declare' modifier cannot appear on an interface declaration.",
|
||||
"'declare' modifier required for top level element.": "'declare' modifier required for top level element.",
|
||||
"Rest parameter cannot be optional.": "Rest parameter cannot be optional.",
|
||||
"Rest parameter cannot have an initializer.": "Rest parameter cannot have an initializer.",
|
||||
"'set' accessor must have one and only one parameter.": "'set' accessor must have one and only one parameter.",
|
||||
"'set' accessor parameter cannot have accessibility modifier.": "'set' accessor parameter cannot have accessibility modifier.",
|
||||
"'set' accessor parameter cannot be optional.": "'set' accessor parameter cannot be optional.",
|
||||
"'set' accessor parameter cannot have an initializer.": "'set' accessor parameter cannot have an initializer.",
|
||||
"'set' accessor cannot have rest parameter.": "'set' accessor cannot have rest parameter.",
|
||||
"'get' accessor cannot have parameters.": "'get' accessor cannot have parameters.",
|
||||
"Modifiers cannot appear here.": "Modifiers cannot appear here.",
|
||||
"Accessors are only available when targeting ECMAScript 5 and higher.": "Accessors are only available when targeting ECMAScript 5 and higher.",
|
||||
"Class name cannot be '{0}'.": "Class name cannot be '{0}'.",
|
||||
"Interface name cannot be '{0}'.": "Interface name cannot be '{0}'.",
|
||||
"Enum name cannot be '{0}'.": "Enum name cannot be '{0}'.",
|
||||
"Module name cannot be '{0}'.": "Module name cannot be '{0}'.",
|
||||
"Enum member must have initializer.": "Enum member must have initializer.",
|
||||
"Export assignment cannot be used in internal modules.": "Export assignment cannot be used in internal modules.",
|
||||
"Export assignment not allowed in module with exported element.": "Export assignment not allowed in module with exported element.",
|
||||
"Module cannot have multiple export assignments.": "Module cannot have multiple export assignments.",
|
||||
"Ambient enum elements can only have integer literal initializers.": "Ambient enum elements can only have integer literal initializers.",
|
||||
"module, class, interface, enum, import or statement": "module, class, interface, enum, import or statement",
|
||||
"constructor, function, accessor or variable": "constructor, function, accessor or variable",
|
||||
"statement": "statement",
|
||||
"case or default clause": "case or default clause",
|
||||
"identifier": "identifier",
|
||||
"call, construct, index, property or function signature": "call, construct, index, property or function signature",
|
||||
"expression": "expression",
|
||||
"type name": "type name",
|
||||
"property or accessor": "property or accessor",
|
||||
"parameter": "parameter",
|
||||
"type": "type",
|
||||
"type parameter": "type parameter",
|
||||
"'declare' modifier not allowed on import declaration.": "'declare' modifier not allowed on import declaration.",
|
||||
"Function overload must be static": "Function overload must be static",
|
||||
"Function overload must not be static": "Function overload must not be static",
|
||||
"Duplicate identifier '{0}'.": "Duplicate identifier '{0}'.",
|
||||
"The name '{0}' does not exist in the current scope.": "The name '{0}' does not exist in the current scope.",
|
||||
"The name '{0}' does not refer to a value.": "The name '{0}' does not refer to a value.",
|
||||
"'super' can only be used inside a class instance method.": "'super' can only be used inside a class instance method.",
|
||||
"The left-hand side of an assignment expression must be a variable, property or indexer.": "The left-hand side of an assignment expression must be a variable, property or indexer.",
|
||||
"Value of type '{0}' is not callable. Did you mean to include 'new'?": "Value of type '{0}' is not callable. Did you mean to include 'new'?",
|
||||
"Value of type '{0}' is not callable.": "Value of type '{0}' is not callable.",
|
||||
"Value of type '{0}' is not newable.": "Value of type '{0}' is not newable.",
|
||||
"Value of type '{0}' is not indexable by type '{1}'.": "Value of type '{0}' is not indexable by type '{1}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}'.": "Operator '{0}' cannot be applied to types '{1}' and '{2}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}": "Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}",
|
||||
"Cannot convert '{0}' to '{1}'.": "Cannot convert '{0}' to '{1}'.",
|
||||
"Cannot convert '{0}' to '{1}':{NL}{2}": "Cannot convert '{0}' to '{1}':{NL}{2}",
|
||||
"Expected var, class, interface, or module.": "Expected var, class, interface, or module.",
|
||||
"Operator '{0}' cannot be applied to type '{1}'.": "Operator '{0}' cannot be applied to type '{1}'.",
|
||||
"Getter '{0}' already declared.": "Getter '{0}' already declared.",
|
||||
"Setter '{0}' already declared.": "Setter '{0}' already declared.",
|
||||
"Accessors cannot have type parameters.": "Accessors cannot have type parameters.",
|
||||
"Exported class '{0}' extends private class '{1}'.": "Exported class '{0}' extends private class '{1}'.",
|
||||
"Exported class '{0}' implements private interface '{1}'.": "Exported class '{0}' implements private interface '{1}'.",
|
||||
"Exported interface '{0}' extends private interface '{1}'.": "Exported interface '{0}' extends private interface '{1}'.",
|
||||
"Exported class '{0}' extends class from inaccessible module {1}.": "Exported class '{0}' extends class from inaccessible module {1}.",
|
||||
"Exported class '{0}' implements interface from inaccessible module {1}.": "Exported class '{0}' implements interface from inaccessible module {1}.",
|
||||
"Exported interface '{0}' extends interface from inaccessible module {1}.": "Exported interface '{0}' extends interface from inaccessible module {1}.",
|
||||
"Public static property '{0}' of exported class has or is using private type '{1}'.": "Public static property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Public property '{0}' of exported class has or is using private type '{1}'.": "Public property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Property '{0}' of exported interface has or is using private type '{1}'.": "Property '{0}' of exported interface has or is using private type '{1}'.",
|
||||
"Exported variable '{0}' has or is using private type '{1}'.": "Exported variable '{0}' has or is using private type '{1}'.",
|
||||
"Public static property '{0}' of exported class is using inaccessible module {1}.": "Public static property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Public property '{0}' of exported class is using inaccessible module {1}.": "Public property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Property '{0}' of exported interface is using inaccessible module {1}.": "Property '{0}' of exported interface is using inaccessible module {1}.",
|
||||
"Exported variable '{0}' is using inaccessible module {1}.": "Exported variable '{0}' is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor from exported class has or is using private type '{1}'.": "Parameter '{0}' of constructor from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of method from exported interface has or is using private type '{1}'.": "Parameter '{0}' of method from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of exported function has or is using private type '{1}'.": "Parameter '{0}' of exported function has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor from exported class is using inaccessible module {1}.": "Parameter '{0}' of constructor from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.": "Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of call signature from exported interface is using inaccessible module {1}": "Parameter '{0}' of call signature from exported interface is using inaccessible module {1}",
|
||||
"Parameter '{0}' of public static method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of method from exported interface is using inaccessible module {1}.": "Parameter '{0}' of method from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of exported function is using inaccessible module {1}.": "Parameter '{0}' of exported function is using inaccessible module {1}.",
|
||||
"Return type of public static property getter from exported class has or is using private type '{0}'.": "Return type of public static property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of public property getter from exported class has or is using private type '{0}'.": "Return type of public property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of constructor signature from exported interface has or is using private type '{0}'.": "Return type of constructor signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of call signature from exported interface has or is using private type '{0}'.": "Return type of call signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of index signature from exported interface has or is using private type '{0}'.": "Return type of index signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of public static method from exported class has or is using private type '{0}'.": "Return type of public static method from exported class has or is using private type '{0}'.",
|
||||
"Return type of public method from exported class has or is using private type '{0}'.": "Return type of public method from exported class has or is using private type '{0}'.",
|
||||
"Return type of method from exported interface has or is using private type '{0}'.": "Return type of method from exported interface has or is using private type '{0}'.",
|
||||
"Return type of exported function has or is using private type '{0}'.": "Return type of exported function has or is using private type '{0}'.",
|
||||
"Return type of public static property getter from exported class is using inaccessible module {0}.": "Return type of public static property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of public property getter from exported class is using inaccessible module {0}.": "Return type of public property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of constructor signature from exported interface is using inaccessible module {0}.": "Return type of constructor signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of call signature from exported interface is using inaccessible module {0}.": "Return type of call signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of index signature from exported interface is using inaccessible module {0}.": "Return type of index signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of public static method from exported class is using inaccessible module {0}.": "Return type of public static method from exported class is using inaccessible module {0}.",
|
||||
"Return type of public method from exported class is using inaccessible module {0}.": "Return type of public method from exported class is using inaccessible module {0}.",
|
||||
"Return type of method from exported interface is using inaccessible module {0}.": "Return type of method from exported interface is using inaccessible module {0}.",
|
||||
"Return type of exported function is using inaccessible module {0}.": "Return type of exported function is using inaccessible module {0}.",
|
||||
"'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.": "'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.",
|
||||
"A parameter list must follow a generic type argument list. '(' expected.": "A parameter list must follow a generic type argument list. '(' expected.",
|
||||
"Multiple constructor implementations are not allowed.": "Multiple constructor implementations are not allowed.",
|
||||
"Unable to resolve external module '{0}'.": "Unable to resolve external module '{0}'.",
|
||||
"Module cannot be aliased to a non-module type.": "Module cannot be aliased to a non-module type.",
|
||||
"A class may only extend another class.": "A class may only extend another class.",
|
||||
"A class may only implement another class or interface.": "A class may only implement another class or interface.",
|
||||
"An interface may only extend another class or interface.": "An interface may only extend another class or interface.",
|
||||
"An interface cannot implement another type.": "An interface cannot implement another type.",
|
||||
"Unable to resolve type.": "Unable to resolve type.",
|
||||
"Unable to resolve type of '{0}'.": "Unable to resolve type of '{0}'.",
|
||||
"Unable to resolve type parameter constraint.": "Unable to resolve type parameter constraint.",
|
||||
"Type parameter constraint cannot be a primitive type.": "Type parameter constraint cannot be a primitive type.",
|
||||
"Supplied parameters do not match any signature of call target.": "Supplied parameters do not match any signature of call target.",
|
||||
"Supplied parameters do not match any signature of call target:{NL}{0}": "Supplied parameters do not match any signature of call target:{NL}{0}",
|
||||
"Invalid 'new' expression.": "Invalid 'new' expression.",
|
||||
"Call signatures used in a 'new' expression must have a 'void' return type.": "Call signatures used in a 'new' expression must have a 'void' return type.",
|
||||
"Could not select overload for 'new' expression.": "Could not select overload for 'new' expression.",
|
||||
"Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.": "Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.",
|
||||
"Could not select overload for 'call' expression.": "Could not select overload for 'call' expression.",
|
||||
"Cannot invoke an expression whose type lacks a call signature.": "Cannot invoke an expression whose type lacks a call signature.",
|
||||
"Calls to 'super' are only valid inside a class.": "Calls to 'super' are only valid inside a class.",
|
||||
"Generic type '{0}' requires {1} type argument(s).": "Generic type '{0}' requires {1} type argument(s).",
|
||||
"Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.": "Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.",
|
||||
"Type of array literal cannot be determined. Best common type could not be found for array elements.": "Type of array literal cannot be determined. Best common type could not be found for array elements.",
|
||||
"Could not find enclosing symbol for dotted name '{0}'.": "Could not find enclosing symbol for dotted name '{0}'.",
|
||||
"The property '{0}' does not exist on value of type '{1}'.": "The property '{0}' does not exist on value of type '{1}'.",
|
||||
"Could not find symbol '{0}'.": "Could not find symbol '{0}'.",
|
||||
"'get' and 'set' accessor must have the same type.": "'get' and 'set' accessor must have the same type.",
|
||||
"'this' cannot be referenced in current location.": "'this' cannot be referenced in current location.",
|
||||
"Static methods cannot reference class type parameters.": "Static methods cannot reference class type parameters.",
|
||||
"Class '{0}' is recursively referenced as a base type of itself.": "Class '{0}' is recursively referenced as a base type of itself.",
|
||||
"Interface '{0}' is recursively referenced as a base type of itself.": "Interface '{0}' is recursively referenced as a base type of itself.",
|
||||
"'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.": "'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.",
|
||||
"'super' cannot be referenced in non-derived classes.": "'super' cannot be referenced in non-derived classes.",
|
||||
"A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.": "A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.",
|
||||
"Constructors for derived classes must contain a 'super' call.": "Constructors for derived classes must contain a 'super' call.",
|
||||
"Super calls are not permitted outside constructors or in local functions inside constructors.": "Super calls are not permitted outside constructors or in local functions inside constructors.",
|
||||
"'{0}.{1}' is inaccessible.": "'{0}.{1}' is inaccessible.",
|
||||
"'this' cannot be referenced within module bodies.": "'this' cannot be referenced within module bodies.",
|
||||
"Invalid '+' expression - types not known to support the addition operator.": "Invalid '+' expression - types not known to support the addition operator.",
|
||||
"The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.": "The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.",
|
||||
"Variable declarations of a 'for' statement cannot use a type annotation.": "Variable declarations of a 'for' statement cannot use a type annotation.",
|
||||
"Variable declarations of a 'for' statement must be of types 'string' or 'any'.": "Variable declarations of a 'for' statement must be of types 'string' or 'any'.",
|
||||
"The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.": "The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'in' expression must be of types 'string' or 'any'.": "The left-hand side of an 'in' expression must be of types 'string' or 'any'.",
|
||||
"The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.": "The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.": "The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.": "The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.",
|
||||
"Setters cannot return a value.": "Setters cannot return a value.",
|
||||
"Tried to query type of uninitialized module '{0}'.": "Tried to query type of uninitialized module '{0}'.",
|
||||
"Tried to set variable type to uninitialized module type '{0}'.": "Tried to set variable type to uninitialized module type '{0}'.",
|
||||
"Function '{0}' declared a non-void return type, but has no return expression.": "Function '{0}' declared a non-void return type, but has no return expression.",
|
||||
"Getters must return a value.": "Getters must return a value.",
|
||||
"Getter and setter accessors do not agree in visibility.": "Getter and setter accessors do not agree in visibility.",
|
||||
"Invalid left-hand side of assignment expression.": "Invalid left-hand side of assignment expression.",
|
||||
"Function declared a non-void return type, but has no return expression.": "Function declared a non-void return type, but has no return expression.",
|
||||
"Cannot resolve return type reference.": "Cannot resolve return type reference.",
|
||||
"Constructors cannot have a return type of 'void'.": "Constructors cannot have a return type of 'void'.",
|
||||
"Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.": "Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.",
|
||||
"All symbols within a with block will be resolved to 'any'.": "All symbols within a with block will be resolved to 'any'.",
|
||||
"Import declarations in an internal module cannot reference an external module.": "Import declarations in an internal module cannot reference an external module.",
|
||||
"Class {0} declares interface {1} but does not implement it:{NL}{2}": "Class {0} declares interface {1} but does not implement it:{NL}{2}",
|
||||
"Class {0} declares class {1} as an interface but does not implement it:{NL}{2}": "Class {0} declares class {1} as an interface but does not implement it:{NL}{2}",
|
||||
"The operand of an increment or decrement operator must be a variable, property or indexer.": "The operand of an increment or decrement operator must be a variable, property or indexer.",
|
||||
"'this' cannot be referenced in static initializers in a class body.": "'this' cannot be referenced in static initializers in a class body.",
|
||||
"Class '{0}' cannot extend class '{1}':{NL}{2}": "Class '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend class '{1}':{NL}{2}": "Interface '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend interface '{1}':{NL}{2}": "Interface '{0}' cannot extend interface '{1}':{NL}{2}",
|
||||
"Duplicate overload signature for '{0}'.": "Duplicate overload signature for '{0}'.",
|
||||
"Duplicate constructor overload signature.": "Duplicate constructor overload signature.",
|
||||
"Duplicate overload call signature.": "Duplicate overload call signature.",
|
||||
"Duplicate overload construct signature.": "Duplicate overload construct signature.",
|
||||
"Overload signature is not compatible with function definition.": "Overload signature is not compatible with function definition.",
|
||||
"Overload signature is not compatible with function definition:{NL}{0}": "Overload signature is not compatible with function definition:{NL}{0}",
|
||||
"Overload signatures must all be public or private.": "Overload signatures must all be public or private.",
|
||||
"Overload signatures must all be exported or local.": "Overload signatures must all be exported or local.",
|
||||
"Overload signatures must all be ambient or non-ambient.": "Overload signatures must all be ambient or non-ambient.",
|
||||
"Overload signatures must all be optional or required.": "Overload signatures must all be optional or required.",
|
||||
"Specialized overload signature is not subtype of any non-specialized signature.": "Specialized overload signature is not subtype of any non-specialized signature.",
|
||||
"'this' cannot be referenced in constructor arguments.": "'this' cannot be referenced in constructor arguments.",
|
||||
"Static member cannot be accessed off an instance variable.": "Static member cannot be accessed off an instance variable.",
|
||||
"Instance member cannot be accessed off a class.": "Instance member cannot be accessed off a class.",
|
||||
"Untyped function calls may not accept type arguments.": "Untyped function calls may not accept type arguments.",
|
||||
"Non-generic functions may not accept type arguments.": "Non-generic functions may not accept type arguments.",
|
||||
"A generic type may not reference itself with a wrapped form of its own type parameters.": "A generic type may not reference itself with a wrapped form of its own type parameters.",
|
||||
"Rest parameters must be array types.": "Rest parameters must be array types.",
|
||||
"Overload signature implementation cannot use specialized type.": "Overload signature implementation cannot use specialized type.",
|
||||
"Export assignments may only be used at the top-level of external modules.": "Export assignments may only be used at the top-level of external modules.",
|
||||
"Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules": "Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules",
|
||||
"Only public instance methods of the base class are accessible via the 'super' keyword.": "Only public instance methods of the base class are accessible via the 'super' keyword.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}'.": "All numerically named properties must be subtypes of numeric indexer type '{0}'.",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}": "All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}",
|
||||
"All named properties must be subtypes of string indexer type '{0}'.": "All named properties must be subtypes of string indexer type '{0}'.",
|
||||
"All named properties must be subtypes of string indexer type '{0}':{NL}{1}": "All named properties must be subtypes of string indexer type '{0}':{NL}{1}",
|
||||
"Generic type references must include all type arguments.": "Generic type references must include all type arguments.",
|
||||
"Default arguments are not allowed in an overload parameter.": "Default arguments are not allowed in an overload parameter.",
|
||||
"Overloads cannot differ only by return type.": "Overloads cannot differ only by return type.",
|
||||
"Function expression declared a non-void return type, but has no return expression.": "Function expression declared a non-void return type, but has no return expression.",
|
||||
"Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.": "Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.",
|
||||
"Could not find symbol '{0}' in module '{1}'.": "Could not find symbol '{0}' in module '{1}'.",
|
||||
"Unable to resolve module reference '{0}'.": "Unable to resolve module reference '{0}'.",
|
||||
"Could not find module '{0}' in module '{1}'.": "Could not find module '{0}' in module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.",
|
||||
"Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.": "Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.",
|
||||
"Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.": "Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.",
|
||||
"Type '{0}' is missing property '{1}' from type '{2}'.": "Type '{0}' is missing property '{1}' from type '{2}'.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible.": "Types of property '{0}' of types '{1}' and '{2}' are incompatible.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}": "Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}",
|
||||
"Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.": "Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.",
|
||||
"Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.": "Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.",
|
||||
"Types '{0}' and '{1}' define property '{2}' as private.": "Types '{0}' and '{1}' define property '{2}' as private.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible.": "Call signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a call signature, but type '{1}' lacks one.": "Type '{0}' requires a call signature, but type '{1}' lacks one.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible.": "Construct signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a construct signature, but type '{1}' lacks one.": "Type '{0}' requires a construct signature, but type '{1}' lacks one.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible.": "Index signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Call signature expects {0} or fewer parameters.": "Call signature expects {0} or fewer parameters.",
|
||||
"Could not apply type '{0}' to argument {1} which is of type '{2}'.": "Could not apply type '{0}' to argument {1} which is of type '{2}'.",
|
||||
"Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}",
|
||||
"Type reference cannot refer to container '{0}'.": "Type reference cannot refer to container '{0}'.",
|
||||
"Type reference must refer to type.": "Type reference must refer to type.",
|
||||
"Enums with multiple declarations must provide an initializer for the first enum element.": "Enums with multiple declarations must provide an initializer for the first enum element.",
|
||||
" (+ {0} overload(s))": " (+ {0} overload(s))",
|
||||
"Current host does not support '{0}' option.": "Current host does not support '{0}' option.",
|
||||
"ECMAScript target version '{0}' not supported. Using default '{1}' code generation.": "ECMAScript target version '{0}' not supported. Using default '{1}' code generation.",
|
||||
"Module code generation '{0}' not supported.": "Module code generation '{0}' not supported.",
|
||||
"Could not find file: '{0}'.": "Could not find file: '{0}'.",
|
||||
"A file cannot have a reference to itself.": "A file cannot have a reference to itself.",
|
||||
"Cannot resolve referenced file: '{0}'.": "Cannot resolve referenced file: '{0}'.",
|
||||
"Cannot find the common subdirectory path for the input files.": "Cannot find the common subdirectory path for the input files.",
|
||||
"Emit Error: {0}.": "Emit Error: {0}.",
|
||||
"Cannot read file '{0}': {1}": "Cannot read file '{0}': {1}",
|
||||
"Unsupported file encoding.": "Unsupported file encoding.",
|
||||
"Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.": "Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.",
|
||||
"Unsupported locale: '{0}'.": "Unsupported locale: '{0}'.",
|
||||
"Execution Failed.{NL}": "Execution Failed.{NL}",
|
||||
"Should not emit a type query": "Should not emit a type query",
|
||||
"Should not emit a type reference": "Should not emit a type reference",
|
||||
"Invalid call to 'up'": "Invalid call to 'up'",
|
||||
"Invalid call to 'down'": "Invalid call to 'down'",
|
||||
"Base64 value '{0}' finished with a continuation bit": "Base64 value '{0}' finished with a continuation bit",
|
||||
"Key was already in table": "Key was already in table",
|
||||
"Unknown option '{0}'": "Unknown option '{0}'",
|
||||
"Expected {0} arguments to message, got {1} instead": "Expected {0} arguments to message, got {1} instead",
|
||||
"Expected the message '{0}' to have {1} arguments, but it had {2}": "Expected the message '{0}' to have {1} arguments, but it had {2}",
|
||||
"Invalid argument: {0}. {1}": "Invalid argument: {0}. {1}",
|
||||
"Invalid argument: {0}.": "Invalid argument: {0}.",
|
||||
"Argument out of range: {0}.": "Argument out of range: {0}.",
|
||||
"Argument null: {0}.": "Argument null: {0}.",
|
||||
"Operation not implemented properly by subclass.": "Operation not implemented properly by subclass.",
|
||||
"Not yet implemented.": "Not yet implemented.",
|
||||
"Invalid operation: {0}": "Invalid operation: {0}",
|
||||
"Invalid operation.": "Invalid operation.",
|
||||
"Could not delete file '{0}'": "Could not delete file '{0}'",
|
||||
"Could not create directory '{0}'": "Could not create directory '{0}'",
|
||||
"Error while executing file '{0}': ": "Error while executing file '{0}': ",
|
||||
"Cannot compile external modules unless the '--module' flag is provided.": "Cannot compile external modules unless the '--module' flag is provided.",
|
||||
"Option mapRoot cannot be specified without specifying sourcemap option.": "Option mapRoot cannot be specified without specifying sourcemap option.",
|
||||
"Option sourceRoot cannot be specified without specifying sourcemap option.": "Option sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.": "Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Concatenate and emit output to single file": "Concatenate and emit output to single file",
|
||||
"Generates corresponding {0} file": "Generates corresponding {0} file",
|
||||
"Specifies the location where debugger should locate map files instead of generated locations.": "Specifies the location where debugger should locate map files instead of generated locations.",
|
||||
"Specifies the location where debugger should locate TypeScript files instead of source locations.": "Specifies the location where debugger should locate TypeScript files instead of source locations.",
|
||||
"Watch input files": "Watch input files",
|
||||
"Redirect output structure to the directory": "Redirect output structure to the directory",
|
||||
"Do not emit comments to output": "Do not emit comments to output",
|
||||
"Skip resolution and preprocessing": "Skip resolution and preprocessing",
|
||||
"Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"": "Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"",
|
||||
"Specify module code generation: \"{0}\" or \"{1}\"": "Specify module code generation: \"{0}\" or \"{1}\"",
|
||||
"Print this message": "Print this message",
|
||||
"Print the compiler's version: {0}": "Print the compiler's version: {0}",
|
||||
"Allow use of deprecated \"{0}\" keyword when referencing an external module": "Allow use of deprecated \"{0}\" keyword when referencing an external module",
|
||||
"Specify locale for errors and messages. For example '{0}' or '{1}'": "Specify locale for errors and messages. For example '{0}' or '{1}'",
|
||||
"Syntax: {0}": "Syntax: {0}",
|
||||
"options": "options",
|
||||
"file": "file",
|
||||
"Examples:": "Examples:",
|
||||
"Options:": "Options:",
|
||||
"Insert command line options and files from a file.": "Insert command line options and files from a file.",
|
||||
"Version {0}": "Version {0}",
|
||||
"Use the '{0}' flag to see options": "Use the '{0}' flag to see options",
|
||||
"{NL}Recompiling ({0}):": "{NL}Recompiling ({0}):",
|
||||
"STRING": "STRING",
|
||||
"KIND": "KIND",
|
||||
"FILE": "FILE",
|
||||
"VERSION": "VERSION",
|
||||
"LOCATION": "LOCATION",
|
||||
"DIRECTORY": "DIRECTORY",
|
||||
"This version of the Javascript runtime does not support the '{0}' function.": "This version of the Javascript runtime does not support the '{0}' function.",
|
||||
"Looking up path for identifier token did not result in an identifer.": "Looking up path for identifier token did not result in an identifer.",
|
||||
"Unknown rule": "Unknown rule",
|
||||
"Invalid line number ({0})": "Invalid line number ({0})",
|
||||
"Warn on expressions and declarations with an implied 'any' type.": "Warn on expressions and declarations with an implied 'any' type.",
|
||||
"Variable '{0}' implicitly has an 'any' type.": "Variable '{0}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of '{1}' implicitly has an 'any' type.": "Parameter '{0}' of '{1}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of function type implicitly has an 'any' type.": "Parameter '{0}' of function type implicitly has an 'any' type.",
|
||||
"Member '{0}' of object type implicitly has an 'any' type.": "Member '{0}' of object type implicitly has an 'any' type.",
|
||||
"\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.": "\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.",
|
||||
"'{0}', which lacks return-type annotation, implicitly has an 'any' return type.": "'{0}', which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Function expression, which lacks return-type annotation, implicitly has an 'any' return type.": "Function expression, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Parameter '{0}' of lambda function implicitly has an 'any' type.": "Parameter '{0}' of lambda function implicitly has an 'any' type.",
|
||||
"Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.": "Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.": "Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Array Literal implicitly has an 'any' type from widening.": "Array Literal implicitly has an 'any' type from widening."
|
||||
}
|
||||
374
bin/resources/diagnosticMessages.generated.json
Normal file
374
bin/resources/diagnosticMessages.generated.json
Normal file
@ -0,0 +1,374 @@
|
||||
{
|
||||
"error TS{0}: {1}": "error TS{0}: {1}",
|
||||
"warning TS{0}: {1}": "warning TS{0}: {1}",
|
||||
"Unrecognized escape sequence.": "Unrecognized escape sequence.",
|
||||
"Unexpected character {0}.": "Unexpected character {0}.",
|
||||
"Missing close quote character.": "Missing close quote character.",
|
||||
"Identifier expected.": "Identifier expected.",
|
||||
"'{0}' keyword expected.": "'{0}' keyword expected.",
|
||||
"'{0}' expected.": "'{0}' expected.",
|
||||
"Identifier expected; '{0}' is a keyword.": "Identifier expected; '{0}' is a keyword.",
|
||||
"Automatic semicolon insertion not allowed.": "Automatic semicolon insertion not allowed.",
|
||||
"Unexpected token; '{0}' expected.": "Unexpected token; '{0}' expected.",
|
||||
"Trailing separator not allowed.": "Trailing separator not allowed.",
|
||||
"'*/' expected.": "'*/' expected.",
|
||||
"'public' or 'private' modifier must precede 'static'.": "'public' or 'private' modifier must precede 'static'.",
|
||||
"Unexpected token.": "Unexpected token.",
|
||||
"Catch clause parameter cannot have a type annotation.": "Catch clause parameter cannot have a type annotation.",
|
||||
"Rest parameter must be last in list.": "Rest parameter must be last in list.",
|
||||
"Parameter cannot have question mark and initializer.": "Parameter cannot have question mark and initializer.",
|
||||
"Required parameter cannot follow optional parameter.": "Required parameter cannot follow optional parameter.",
|
||||
"Index signatures cannot have rest parameters.": "Index signatures cannot have rest parameters.",
|
||||
"Index signature parameter cannot have accessibility modifiers.": "Index signature parameter cannot have accessibility modifiers.",
|
||||
"Index signature parameter cannot have a question mark.": "Index signature parameter cannot have a question mark.",
|
||||
"Index signature parameter cannot have an initializer.": "Index signature parameter cannot have an initializer.",
|
||||
"Index signature must have a type annotation.": "Index signature must have a type annotation.",
|
||||
"Index signature parameter must have a type annotation.": "Index signature parameter must have a type annotation.",
|
||||
"Index signature parameter type must be 'string' or 'number'.": "Index signature parameter type must be 'string' or 'number'.",
|
||||
"'extends' clause already seen.": "'extends' clause already seen.",
|
||||
"'extends' clause must precede 'implements' clause.": "'extends' clause must precede 'implements' clause.",
|
||||
"Classes can only extend a single class.": "Classes can only extend a single class.",
|
||||
"'implements' clause already seen.": "'implements' clause already seen.",
|
||||
"Accessibility modifier already seen.": "Accessibility modifier already seen.",
|
||||
"'{0}' modifier must precede '{1}' modifier.": "'{0}' modifier must precede '{1}' modifier.",
|
||||
"'{0}' modifier already seen.": "'{0}' modifier already seen.",
|
||||
"'{0}' modifier cannot appear on a class element.": "'{0}' modifier cannot appear on a class element.",
|
||||
"Interface declaration cannot have 'implements' clause.": "Interface declaration cannot have 'implements' clause.",
|
||||
"'super' invocation cannot have type arguments.": "'super' invocation cannot have type arguments.",
|
||||
"Only ambient modules can use quoted names.": "Only ambient modules can use quoted names.",
|
||||
"Statements are not allowed in ambient contexts.": "Statements are not allowed in ambient contexts.",
|
||||
"Implementations are not allowed in ambient contexts.": "Implementations are not allowed in ambient contexts.",
|
||||
"'declare' modifier not allowed for code already in an ambient context.": "'declare' modifier not allowed for code already in an ambient context.",
|
||||
"Initializers are not allowed in ambient contexts.": "Initializers are not allowed in ambient contexts.",
|
||||
"Parameter property declarations can only be used in constructors.": "Parameter property declarations can only be used in constructors.",
|
||||
"Function implementation expected.": "Function implementation expected.",
|
||||
"Constructor implementation expected.": "Constructor implementation expected.",
|
||||
"Function overload name must be '{0}'.": "Function overload name must be '{0}'.",
|
||||
"'{0}' modifier cannot appear on a module element.": "'{0}' modifier cannot appear on a module element.",
|
||||
"'declare' modifier cannot appear on an interface declaration.": "'declare' modifier cannot appear on an interface declaration.",
|
||||
"'declare' modifier required for top level element.": "'declare' modifier required for top level element.",
|
||||
"Rest parameter cannot be optional.": "Rest parameter cannot be optional.",
|
||||
"Rest parameter cannot have an initializer.": "Rest parameter cannot have an initializer.",
|
||||
"'set' accessor must have one and only one parameter.": "'set' accessor must have one and only one parameter.",
|
||||
"'set' accessor parameter cannot have accessibility modifier.": "'set' accessor parameter cannot have accessibility modifier.",
|
||||
"'set' accessor parameter cannot be optional.": "'set' accessor parameter cannot be optional.",
|
||||
"'set' accessor parameter cannot have an initializer.": "'set' accessor parameter cannot have an initializer.",
|
||||
"'set' accessor cannot have rest parameter.": "'set' accessor cannot have rest parameter.",
|
||||
"'get' accessor cannot have parameters.": "'get' accessor cannot have parameters.",
|
||||
"Modifiers cannot appear here.": "Modifiers cannot appear here.",
|
||||
"Accessors are only available when targeting ECMAScript 5 and higher.": "Accessors are only available when targeting ECMAScript 5 and higher.",
|
||||
"Class name cannot be '{0}'.": "Class name cannot be '{0}'.",
|
||||
"Interface name cannot be '{0}'.": "Interface name cannot be '{0}'.",
|
||||
"Enum name cannot be '{0}'.": "Enum name cannot be '{0}'.",
|
||||
"Module name cannot be '{0}'.": "Module name cannot be '{0}'.",
|
||||
"Enum member must have initializer.": "Enum member must have initializer.",
|
||||
"Export assignment cannot be used in internal modules.": "Export assignment cannot be used in internal modules.",
|
||||
"Export assignment not allowed in module with exported element.": "Export assignment not allowed in module with exported element.",
|
||||
"Module cannot have multiple export assignments.": "Module cannot have multiple export assignments.",
|
||||
"Ambient enum elements can only have integer literal initializers.": "Ambient enum elements can only have integer literal initializers.",
|
||||
"module, class, interface, enum, import or statement": "module, class, interface, enum, import or statement",
|
||||
"constructor, function, accessor or variable": "constructor, function, accessor or variable",
|
||||
"statement": "statement",
|
||||
"case or default clause": "case or default clause",
|
||||
"identifier": "identifier",
|
||||
"call, construct, index, property or function signature": "call, construct, index, property or function signature",
|
||||
"expression": "expression",
|
||||
"type name": "type name",
|
||||
"property or accessor": "property or accessor",
|
||||
"parameter": "parameter",
|
||||
"type": "type",
|
||||
"type parameter": "type parameter",
|
||||
"'declare' modifier not allowed on import declaration.": "'declare' modifier not allowed on import declaration.",
|
||||
"Function overload must be static": "Function overload must be static",
|
||||
"Function overload must not be static": "Function overload must not be static",
|
||||
"Duplicate identifier '{0}'.": "Duplicate identifier '{0}'.",
|
||||
"The name '{0}' does not exist in the current scope.": "The name '{0}' does not exist in the current scope.",
|
||||
"The name '{0}' does not refer to a value.": "The name '{0}' does not refer to a value.",
|
||||
"'super' can only be used inside a class instance method.": "'super' can only be used inside a class instance method.",
|
||||
"The left-hand side of an assignment expression must be a variable, property or indexer.": "The left-hand side of an assignment expression must be a variable, property or indexer.",
|
||||
"Value of type '{0}' is not callable. Did you mean to include 'new'?": "Value of type '{0}' is not callable. Did you mean to include 'new'?",
|
||||
"Value of type '{0}' is not callable.": "Value of type '{0}' is not callable.",
|
||||
"Value of type '{0}' is not newable.": "Value of type '{0}' is not newable.",
|
||||
"Value of type '{0}' is not indexable by type '{1}'.": "Value of type '{0}' is not indexable by type '{1}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}'.": "Operator '{0}' cannot be applied to types '{1}' and '{2}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}": "Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}",
|
||||
"Cannot convert '{0}' to '{1}'.": "Cannot convert '{0}' to '{1}'.",
|
||||
"Cannot convert '{0}' to '{1}':{NL}{2}": "Cannot convert '{0}' to '{1}':{NL}{2}",
|
||||
"Expected var, class, interface, or module.": "Expected var, class, interface, or module.",
|
||||
"Operator '{0}' cannot be applied to type '{1}'.": "Operator '{0}' cannot be applied to type '{1}'.",
|
||||
"Getter '{0}' already declared.": "Getter '{0}' already declared.",
|
||||
"Setter '{0}' already declared.": "Setter '{0}' already declared.",
|
||||
"Accessors cannot have type parameters.": "Accessors cannot have type parameters.",
|
||||
"Exported class '{0}' extends private class '{1}'.": "Exported class '{0}' extends private class '{1}'.",
|
||||
"Exported class '{0}' implements private interface '{1}'.": "Exported class '{0}' implements private interface '{1}'.",
|
||||
"Exported interface '{0}' extends private interface '{1}'.": "Exported interface '{0}' extends private interface '{1}'.",
|
||||
"Exported class '{0}' extends class from inaccessible module {1}.": "Exported class '{0}' extends class from inaccessible module {1}.",
|
||||
"Exported class '{0}' implements interface from inaccessible module {1}.": "Exported class '{0}' implements interface from inaccessible module {1}.",
|
||||
"Exported interface '{0}' extends interface from inaccessible module {1}.": "Exported interface '{0}' extends interface from inaccessible module {1}.",
|
||||
"Public static property '{0}' of exported class has or is using private type '{1}'.": "Public static property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Public property '{0}' of exported class has or is using private type '{1}'.": "Public property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Property '{0}' of exported interface has or is using private type '{1}'.": "Property '{0}' of exported interface has or is using private type '{1}'.",
|
||||
"Exported variable '{0}' has or is using private type '{1}'.": "Exported variable '{0}' has or is using private type '{1}'.",
|
||||
"Public static property '{0}' of exported class is using inaccessible module {1}.": "Public static property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Public property '{0}' of exported class is using inaccessible module {1}.": "Public property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Property '{0}' of exported interface is using inaccessible module {1}.": "Property '{0}' of exported interface is using inaccessible module {1}.",
|
||||
"Exported variable '{0}' is using inaccessible module {1}.": "Exported variable '{0}' is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor from exported class has or is using private type '{1}'.": "Parameter '{0}' of constructor from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of method from exported interface has or is using private type '{1}'.": "Parameter '{0}' of method from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of exported function has or is using private type '{1}'.": "Parameter '{0}' of exported function has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor from exported class is using inaccessible module {1}.": "Parameter '{0}' of constructor from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.": "Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of call signature from exported interface is using inaccessible module {1}": "Parameter '{0}' of call signature from exported interface is using inaccessible module {1}",
|
||||
"Parameter '{0}' of public static method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of method from exported interface is using inaccessible module {1}.": "Parameter '{0}' of method from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of exported function is using inaccessible module {1}.": "Parameter '{0}' of exported function is using inaccessible module {1}.",
|
||||
"Return type of public static property getter from exported class has or is using private type '{0}'.": "Return type of public static property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of public property getter from exported class has or is using private type '{0}'.": "Return type of public property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of constructor signature from exported interface has or is using private type '{0}'.": "Return type of constructor signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of call signature from exported interface has or is using private type '{0}'.": "Return type of call signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of index signature from exported interface has or is using private type '{0}'.": "Return type of index signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of public static method from exported class has or is using private type '{0}'.": "Return type of public static method from exported class has or is using private type '{0}'.",
|
||||
"Return type of public method from exported class has or is using private type '{0}'.": "Return type of public method from exported class has or is using private type '{0}'.",
|
||||
"Return type of method from exported interface has or is using private type '{0}'.": "Return type of method from exported interface has or is using private type '{0}'.",
|
||||
"Return type of exported function has or is using private type '{0}'.": "Return type of exported function has or is using private type '{0}'.",
|
||||
"Return type of public static property getter from exported class is using inaccessible module {0}.": "Return type of public static property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of public property getter from exported class is using inaccessible module {0}.": "Return type of public property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of constructor signature from exported interface is using inaccessible module {0}.": "Return type of constructor signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of call signature from exported interface is using inaccessible module {0}.": "Return type of call signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of index signature from exported interface is using inaccessible module {0}.": "Return type of index signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of public static method from exported class is using inaccessible module {0}.": "Return type of public static method from exported class is using inaccessible module {0}.",
|
||||
"Return type of public method from exported class is using inaccessible module {0}.": "Return type of public method from exported class is using inaccessible module {0}.",
|
||||
"Return type of method from exported interface is using inaccessible module {0}.": "Return type of method from exported interface is using inaccessible module {0}.",
|
||||
"Return type of exported function is using inaccessible module {0}.": "Return type of exported function is using inaccessible module {0}.",
|
||||
"'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.": "'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.",
|
||||
"A parameter list must follow a generic type argument list. '(' expected.": "A parameter list must follow a generic type argument list. '(' expected.",
|
||||
"Multiple constructor implementations are not allowed.": "Multiple constructor implementations are not allowed.",
|
||||
"Unable to resolve external module '{0}'.": "Unable to resolve external module '{0}'.",
|
||||
"Module cannot be aliased to a non-module type.": "Module cannot be aliased to a non-module type.",
|
||||
"A class may only extend another class.": "A class may only extend another class.",
|
||||
"A class may only implement another class or interface.": "A class may only implement another class or interface.",
|
||||
"An interface may only extend another class or interface.": "An interface may only extend another class or interface.",
|
||||
"An interface cannot implement another type.": "An interface cannot implement another type.",
|
||||
"Unable to resolve type.": "Unable to resolve type.",
|
||||
"Unable to resolve type of '{0}'.": "Unable to resolve type of '{0}'.",
|
||||
"Unable to resolve type parameter constraint.": "Unable to resolve type parameter constraint.",
|
||||
"Type parameter constraint cannot be a primitive type.": "Type parameter constraint cannot be a primitive type.",
|
||||
"Supplied parameters do not match any signature of call target.": "Supplied parameters do not match any signature of call target.",
|
||||
"Supplied parameters do not match any signature of call target:{NL}{0}": "Supplied parameters do not match any signature of call target:{NL}{0}",
|
||||
"Invalid 'new' expression.": "Invalid 'new' expression.",
|
||||
"Call signatures used in a 'new' expression must have a 'void' return type.": "Call signatures used in a 'new' expression must have a 'void' return type.",
|
||||
"Could not select overload for 'new' expression.": "Could not select overload for 'new' expression.",
|
||||
"Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.": "Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.",
|
||||
"Could not select overload for 'call' expression.": "Could not select overload for 'call' expression.",
|
||||
"Cannot invoke an expression whose type lacks a call signature.": "Cannot invoke an expression whose type lacks a call signature.",
|
||||
"Calls to 'super' are only valid inside a class.": "Calls to 'super' are only valid inside a class.",
|
||||
"Generic type '{0}' requires {1} type argument(s).": "Generic type '{0}' requires {1} type argument(s).",
|
||||
"Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.": "Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.",
|
||||
"Type of array literal cannot be determined. Best common type could not be found for array elements.": "Type of array literal cannot be determined. Best common type could not be found for array elements.",
|
||||
"Could not find enclosing symbol for dotted name '{0}'.": "Could not find enclosing symbol for dotted name '{0}'.",
|
||||
"The property '{0}' does not exist on value of type '{1}'.": "The property '{0}' does not exist on value of type '{1}'.",
|
||||
"Could not find symbol '{0}'.": "Could not find symbol '{0}'.",
|
||||
"'get' and 'set' accessor must have the same type.": "'get' and 'set' accessor must have the same type.",
|
||||
"'this' cannot be referenced in current location.": "'this' cannot be referenced in current location.",
|
||||
"Static methods cannot reference class type parameters.": "Static methods cannot reference class type parameters.",
|
||||
"Class '{0}' is recursively referenced as a base type of itself.": "Class '{0}' is recursively referenced as a base type of itself.",
|
||||
"Interface '{0}' is recursively referenced as a base type of itself.": "Interface '{0}' is recursively referenced as a base type of itself.",
|
||||
"'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.": "'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.",
|
||||
"'super' cannot be referenced in non-derived classes.": "'super' cannot be referenced in non-derived classes.",
|
||||
"A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.": "A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.",
|
||||
"Constructors for derived classes must contain a 'super' call.": "Constructors for derived classes must contain a 'super' call.",
|
||||
"Super calls are not permitted outside constructors or in local functions inside constructors.": "Super calls are not permitted outside constructors or in local functions inside constructors.",
|
||||
"'{0}.{1}' is inaccessible.": "'{0}.{1}' is inaccessible.",
|
||||
"'this' cannot be referenced within module bodies.": "'this' cannot be referenced within module bodies.",
|
||||
"Invalid '+' expression - types not known to support the addition operator.": "Invalid '+' expression - types not known to support the addition operator.",
|
||||
"The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.": "The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.",
|
||||
"Variable declarations of a 'for' statement cannot use a type annotation.": "Variable declarations of a 'for' statement cannot use a type annotation.",
|
||||
"Variable declarations of a 'for' statement must be of types 'string' or 'any'.": "Variable declarations of a 'for' statement must be of types 'string' or 'any'.",
|
||||
"The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.": "The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'in' expression must be of types 'string' or 'any'.": "The left-hand side of an 'in' expression must be of types 'string' or 'any'.",
|
||||
"The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.": "The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.": "The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.": "The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.",
|
||||
"Setters cannot return a value.": "Setters cannot return a value.",
|
||||
"Tried to query type of uninitialized module '{0}'.": "Tried to query type of uninitialized module '{0}'.",
|
||||
"Tried to set variable type to uninitialized module type '{0}'.": "Tried to set variable type to uninitialized module type '{0}'.",
|
||||
"Function '{0}' declared a non-void return type, but has no return expression.": "Function '{0}' declared a non-void return type, but has no return expression.",
|
||||
"Getters must return a value.": "Getters must return a value.",
|
||||
"Getter and setter accessors do not agree in visibility.": "Getter and setter accessors do not agree in visibility.",
|
||||
"Invalid left-hand side of assignment expression.": "Invalid left-hand side of assignment expression.",
|
||||
"Function declared a non-void return type, but has no return expression.": "Function declared a non-void return type, but has no return expression.",
|
||||
"Cannot resolve return type reference.": "Cannot resolve return type reference.",
|
||||
"Constructors cannot have a return type of 'void'.": "Constructors cannot have a return type of 'void'.",
|
||||
"Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.": "Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.",
|
||||
"All symbols within a with block will be resolved to 'any'.": "All symbols within a with block will be resolved to 'any'.",
|
||||
"Import declarations in an internal module cannot reference an external module.": "Import declarations in an internal module cannot reference an external module.",
|
||||
"Class {0} declares interface {1} but does not implement it:{NL}{2}": "Class {0} declares interface {1} but does not implement it:{NL}{2}",
|
||||
"Class {0} declares class {1} as an interface but does not implement it:{NL}{2}": "Class {0} declares class {1} as an interface but does not implement it:{NL}{2}",
|
||||
"The operand of an increment or decrement operator must be a variable, property or indexer.": "The operand of an increment or decrement operator must be a variable, property or indexer.",
|
||||
"'this' cannot be referenced in static initializers in a class body.": "'this' cannot be referenced in static initializers in a class body.",
|
||||
"Class '{0}' cannot extend class '{1}':{NL}{2}": "Class '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend class '{1}':{NL}{2}": "Interface '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend interface '{1}':{NL}{2}": "Interface '{0}' cannot extend interface '{1}':{NL}{2}",
|
||||
"Duplicate overload signature for '{0}'.": "Duplicate overload signature for '{0}'.",
|
||||
"Duplicate constructor overload signature.": "Duplicate constructor overload signature.",
|
||||
"Duplicate overload call signature.": "Duplicate overload call signature.",
|
||||
"Duplicate overload construct signature.": "Duplicate overload construct signature.",
|
||||
"Overload signature is not compatible with function definition.": "Overload signature is not compatible with function definition.",
|
||||
"Overload signature is not compatible with function definition:{NL}{0}": "Overload signature is not compatible with function definition:{NL}{0}",
|
||||
"Overload signatures must all be public or private.": "Overload signatures must all be public or private.",
|
||||
"Overload signatures must all be exported or local.": "Overload signatures must all be exported or local.",
|
||||
"Overload signatures must all be ambient or non-ambient.": "Overload signatures must all be ambient or non-ambient.",
|
||||
"Overload signatures must all be optional or required.": "Overload signatures must all be optional or required.",
|
||||
"Specialized overload signature is not subtype of any non-specialized signature.": "Specialized overload signature is not subtype of any non-specialized signature.",
|
||||
"'this' cannot be referenced in constructor arguments.": "'this' cannot be referenced in constructor arguments.",
|
||||
"Static member cannot be accessed off an instance variable.": "Static member cannot be accessed off an instance variable.",
|
||||
"Instance member cannot be accessed off a class.": "Instance member cannot be accessed off a class.",
|
||||
"Untyped function calls may not accept type arguments.": "Untyped function calls may not accept type arguments.",
|
||||
"Non-generic functions may not accept type arguments.": "Non-generic functions may not accept type arguments.",
|
||||
"A generic type may not reference itself with a wrapped form of its own type parameters.": "A generic type may not reference itself with a wrapped form of its own type parameters.",
|
||||
"Rest parameters must be array types.": "Rest parameters must be array types.",
|
||||
"Overload signature implementation cannot use specialized type.": "Overload signature implementation cannot use specialized type.",
|
||||
"Export assignments may only be used at the top-level of external modules.": "Export assignments may only be used at the top-level of external modules.",
|
||||
"Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules": "Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules",
|
||||
"Only public instance methods of the base class are accessible via the 'super' keyword.": "Only public instance methods of the base class are accessible via the 'super' keyword.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}'.": "All numerically named properties must be subtypes of numeric indexer type '{0}'.",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}": "All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}",
|
||||
"All named properties must be subtypes of string indexer type '{0}'.": "All named properties must be subtypes of string indexer type '{0}'.",
|
||||
"All named properties must be subtypes of string indexer type '{0}':{NL}{1}": "All named properties must be subtypes of string indexer type '{0}':{NL}{1}",
|
||||
"Generic type references must include all type arguments.": "Generic type references must include all type arguments.",
|
||||
"Default arguments are not allowed in an overload parameter.": "Default arguments are not allowed in an overload parameter.",
|
||||
"Overloads cannot differ only by return type.": "Overloads cannot differ only by return type.",
|
||||
"Function expression declared a non-void return type, but has no return expression.": "Function expression declared a non-void return type, but has no return expression.",
|
||||
"Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.": "Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.",
|
||||
"Could not find symbol '{0}' in module '{1}'.": "Could not find symbol '{0}' in module '{1}'.",
|
||||
"Unable to resolve module reference '{0}'.": "Unable to resolve module reference '{0}'.",
|
||||
"Could not find module '{0}' in module '{1}'.": "Could not find module '{0}' in module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.",
|
||||
"Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.": "Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.",
|
||||
"Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.": "Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.",
|
||||
"Type '{0}' is missing property '{1}' from type '{2}'.": "Type '{0}' is missing property '{1}' from type '{2}'.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible.": "Types of property '{0}' of types '{1}' and '{2}' are incompatible.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}": "Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}",
|
||||
"Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.": "Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.",
|
||||
"Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.": "Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.",
|
||||
"Types '{0}' and '{1}' define property '{2}' as private.": "Types '{0}' and '{1}' define property '{2}' as private.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible.": "Call signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a call signature, but type '{1}' lacks one.": "Type '{0}' requires a call signature, but type '{1}' lacks one.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible.": "Construct signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a construct signature, but type '{1}' lacks one.": "Type '{0}' requires a construct signature, but type '{1}' lacks one.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible.": "Index signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Call signature expects {0} or fewer parameters.": "Call signature expects {0} or fewer parameters.",
|
||||
"Could not apply type '{0}' to argument {1} which is of type '{2}'.": "Could not apply type '{0}' to argument {1} which is of type '{2}'.",
|
||||
"Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}",
|
||||
"Type reference cannot refer to container '{0}'.": "Type reference cannot refer to container '{0}'.",
|
||||
"Type reference must refer to type.": "Type reference must refer to type.",
|
||||
"Enums with multiple declarations must provide an initializer for the first enum element.": "Enums with multiple declarations must provide an initializer for the first enum element.",
|
||||
" (+ {0} overload(s))": " (+ {0} overload(s))",
|
||||
"Current host does not support '{0}' option.": "Current host does not support '{0}' option.",
|
||||
"ECMAScript target version '{0}' not supported. Using default '{1}' code generation.": "ECMAScript target version '{0}' not supported. Using default '{1}' code generation.",
|
||||
"Module code generation '{0}' not supported.": "Module code generation '{0}' not supported.",
|
||||
"Could not find file: '{0}'.": "Could not find file: '{0}'.",
|
||||
"A file cannot have a reference to itself.": "A file cannot have a reference to itself.",
|
||||
"Cannot resolve referenced file: '{0}'.": "Cannot resolve referenced file: '{0}'.",
|
||||
"Cannot find the common subdirectory path for the input files.": "Cannot find the common subdirectory path for the input files.",
|
||||
"Emit Error: {0}.": "Emit Error: {0}.",
|
||||
"Cannot read file '{0}': {1}": "Cannot read file '{0}': {1}",
|
||||
"Unsupported file encoding.": "Unsupported file encoding.",
|
||||
"Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.": "Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.",
|
||||
"Unsupported locale: '{0}'.": "Unsupported locale: '{0}'.",
|
||||
"Execution Failed.{NL}": "Execution Failed.{NL}",
|
||||
"Should not emit a type query": "Should not emit a type query",
|
||||
"Should not emit a type reference": "Should not emit a type reference",
|
||||
"Invalid call to 'up'": "Invalid call to 'up'",
|
||||
"Invalid call to 'down'": "Invalid call to 'down'",
|
||||
"Base64 value '{0}' finished with a continuation bit": "Base64 value '{0}' finished with a continuation bit",
|
||||
"Key was already in table": "Key was already in table",
|
||||
"Unknown option '{0}'": "Unknown option '{0}'",
|
||||
"Expected {0} arguments to message, got {1} instead": "Expected {0} arguments to message, got {1} instead",
|
||||
"Expected the message '{0}' to have {1} arguments, but it had {2}": "Expected the message '{0}' to have {1} arguments, but it had {2}",
|
||||
"Invalid argument: {0}. {1}": "Invalid argument: {0}. {1}",
|
||||
"Invalid argument: {0}.": "Invalid argument: {0}.",
|
||||
"Argument out of range: {0}.": "Argument out of range: {0}.",
|
||||
"Argument null: {0}.": "Argument null: {0}.",
|
||||
"Operation not implemented properly by subclass.": "Operation not implemented properly by subclass.",
|
||||
"Not yet implemented.": "Not yet implemented.",
|
||||
"Invalid operation: {0}": "Invalid operation: {0}",
|
||||
"Invalid operation.": "Invalid operation.",
|
||||
"Could not delete file '{0}'": "Could not delete file '{0}'",
|
||||
"Could not create directory '{0}'": "Could not create directory '{0}'",
|
||||
"Error while executing file '{0}': ": "Error while executing file '{0}': ",
|
||||
"Cannot compile external modules unless the '--module' flag is provided.": "Cannot compile external modules unless the '--module' flag is provided.",
|
||||
"Option mapRoot cannot be specified without specifying sourcemap option.": "Option mapRoot cannot be specified without specifying sourcemap option.",
|
||||
"Option sourceRoot cannot be specified without specifying sourcemap option.": "Option sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.": "Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Concatenate and emit output to single file": "Concatenate and emit output to single file",
|
||||
"Generates corresponding {0} file": "Generates corresponding {0} file",
|
||||
"Specifies the location where debugger should locate map files instead of generated locations.": "Specifies the location where debugger should locate map files instead of generated locations.",
|
||||
"Specifies the location where debugger should locate TypeScript files instead of source locations.": "Specifies the location where debugger should locate TypeScript files instead of source locations.",
|
||||
"Watch input files": "Watch input files",
|
||||
"Redirect output structure to the directory": "Redirect output structure to the directory",
|
||||
"Do not emit comments to output": "Do not emit comments to output",
|
||||
"Skip resolution and preprocessing": "Skip resolution and preprocessing",
|
||||
"Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"": "Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"",
|
||||
"Specify module code generation: \"{0}\" or \"{1}\"": "Specify module code generation: \"{0}\" or \"{1}\"",
|
||||
"Print this message": "Print this message",
|
||||
"Print the compiler's version: {0}": "Print the compiler's version: {0}",
|
||||
"Allow use of deprecated \"{0}\" keyword when referencing an external module": "Allow use of deprecated \"{0}\" keyword when referencing an external module",
|
||||
"Specify locale for errors and messages. For example '{0}' or '{1}'": "Specify locale for errors and messages. For example '{0}' or '{1}'",
|
||||
"Syntax: {0}": "Syntax: {0}",
|
||||
"options": "options",
|
||||
"file": "file",
|
||||
"Examples:": "Examples:",
|
||||
"Options:": "Options:",
|
||||
"Insert command line options and files from a file.": "Insert command line options and files from a file.",
|
||||
"Version {0}": "Version {0}",
|
||||
"Use the '{0}' flag to see options": "Use the '{0}' flag to see options",
|
||||
"{NL}Recompiling ({0}):": "{NL}Recompiling ({0}):",
|
||||
"STRING": "STRING",
|
||||
"KIND": "KIND",
|
||||
"FILE": "FILE",
|
||||
"VERSION": "VERSION",
|
||||
"LOCATION": "LOCATION",
|
||||
"DIRECTORY": "DIRECTORY",
|
||||
"This version of the Javascript runtime does not support the '{0}' function.": "This version of the Javascript runtime does not support the '{0}' function.",
|
||||
"Looking up path for identifier token did not result in an identifer.": "Looking up path for identifier token did not result in an identifer.",
|
||||
"Unknown rule": "Unknown rule",
|
||||
"Invalid line number ({0})": "Invalid line number ({0})",
|
||||
"Warn on expressions and declarations with an implied 'any' type.": "Warn on expressions and declarations with an implied 'any' type.",
|
||||
"Variable '{0}' implicitly has an 'any' type.": "Variable '{0}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of '{1}' implicitly has an 'any' type.": "Parameter '{0}' of '{1}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of function type implicitly has an 'any' type.": "Parameter '{0}' of function type implicitly has an 'any' type.",
|
||||
"Member '{0}' of object type implicitly has an 'any' type.": "Member '{0}' of object type implicitly has an 'any' type.",
|
||||
"\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.": "\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.",
|
||||
"'{0}', which lacks return-type annotation, implicitly has an 'any' return type.": "'{0}', which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Function expression, which lacks return-type annotation, implicitly has an 'any' return type.": "Function expression, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Parameter '{0}' of lambda function implicitly has an 'any' type.": "Parameter '{0}' of lambda function implicitly has an 'any' type.",
|
||||
"Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.": "Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.": "Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Array Literal implicitly has an 'any' type from widening.": "Array Literal implicitly has an 'any' type from widening."
|
||||
}
|
||||
374
bin/resources/en/diagnosticMessages.generated.json
Normal file
374
bin/resources/en/diagnosticMessages.generated.json
Normal file
@ -0,0 +1,374 @@
|
||||
{
|
||||
"error TS{0}: {1}": "error TS{0}: {1}",
|
||||
"warning TS{0}: {1}": "warning TS{0}: {1}",
|
||||
"Unrecognized escape sequence.": "Unrecognized escape sequence.",
|
||||
"Unexpected character {0}.": "Unexpected character {0}.",
|
||||
"Missing close quote character.": "Missing close quote character.",
|
||||
"Identifier expected.": "Identifier expected.",
|
||||
"'{0}' keyword expected.": "'{0}' keyword expected.",
|
||||
"'{0}' expected.": "'{0}' expected.",
|
||||
"Identifier expected; '{0}' is a keyword.": "Identifier expected; '{0}' is a keyword.",
|
||||
"Automatic semicolon insertion not allowed.": "Automatic semicolon insertion not allowed.",
|
||||
"Unexpected token; '{0}' expected.": "Unexpected token; '{0}' expected.",
|
||||
"Trailing separator not allowed.": "Trailing separator not allowed.",
|
||||
"'*/' expected.": "'*/' expected.",
|
||||
"'public' or 'private' modifier must precede 'static'.": "'public' or 'private' modifier must precede 'static'.",
|
||||
"Unexpected token.": "Unexpected token.",
|
||||
"Catch clause parameter cannot have a type annotation.": "Catch clause parameter cannot have a type annotation.",
|
||||
"Rest parameter must be last in list.": "Rest parameter must be last in list.",
|
||||
"Parameter cannot have question mark and initializer.": "Parameter cannot have question mark and initializer.",
|
||||
"Required parameter cannot follow optional parameter.": "Required parameter cannot follow optional parameter.",
|
||||
"Index signatures cannot have rest parameters.": "Index signatures cannot have rest parameters.",
|
||||
"Index signature parameter cannot have accessibility modifiers.": "Index signature parameter cannot have accessibility modifiers.",
|
||||
"Index signature parameter cannot have a question mark.": "Index signature parameter cannot have a question mark.",
|
||||
"Index signature parameter cannot have an initializer.": "Index signature parameter cannot have an initializer.",
|
||||
"Index signature must have a type annotation.": "Index signature must have a type annotation.",
|
||||
"Index signature parameter must have a type annotation.": "Index signature parameter must have a type annotation.",
|
||||
"Index signature parameter type must be 'string' or 'number'.": "Index signature parameter type must be 'string' or 'number'.",
|
||||
"'extends' clause already seen.": "'extends' clause already seen.",
|
||||
"'extends' clause must precede 'implements' clause.": "'extends' clause must precede 'implements' clause.",
|
||||
"Classes can only extend a single class.": "Classes can only extend a single class.",
|
||||
"'implements' clause already seen.": "'implements' clause already seen.",
|
||||
"Accessibility modifier already seen.": "Accessibility modifier already seen.",
|
||||
"'{0}' modifier must precede '{1}' modifier.": "'{0}' modifier must precede '{1}' modifier.",
|
||||
"'{0}' modifier already seen.": "'{0}' modifier already seen.",
|
||||
"'{0}' modifier cannot appear on a class element.": "'{0}' modifier cannot appear on a class element.",
|
||||
"Interface declaration cannot have 'implements' clause.": "Interface declaration cannot have 'implements' clause.",
|
||||
"'super' invocation cannot have type arguments.": "'super' invocation cannot have type arguments.",
|
||||
"Only ambient modules can use quoted names.": "Only ambient modules can use quoted names.",
|
||||
"Statements are not allowed in ambient contexts.": "Statements are not allowed in ambient contexts.",
|
||||
"Implementations are not allowed in ambient contexts.": "Implementations are not allowed in ambient contexts.",
|
||||
"'declare' modifier not allowed for code already in an ambient context.": "'declare' modifier not allowed for code already in an ambient context.",
|
||||
"Initializers are not allowed in ambient contexts.": "Initializers are not allowed in ambient contexts.",
|
||||
"Parameter property declarations can only be used in constructors.": "Parameter property declarations can only be used in constructors.",
|
||||
"Function implementation expected.": "Function implementation expected.",
|
||||
"Constructor implementation expected.": "Constructor implementation expected.",
|
||||
"Function overload name must be '{0}'.": "Function overload name must be '{0}'.",
|
||||
"'{0}' modifier cannot appear on a module element.": "'{0}' modifier cannot appear on a module element.",
|
||||
"'declare' modifier cannot appear on an interface declaration.": "'declare' modifier cannot appear on an interface declaration.",
|
||||
"'declare' modifier required for top level element.": "'declare' modifier required for top level element.",
|
||||
"Rest parameter cannot be optional.": "Rest parameter cannot be optional.",
|
||||
"Rest parameter cannot have an initializer.": "Rest parameter cannot have an initializer.",
|
||||
"'set' accessor must have one and only one parameter.": "'set' accessor must have one and only one parameter.",
|
||||
"'set' accessor parameter cannot have accessibility modifier.": "'set' accessor parameter cannot have accessibility modifier.",
|
||||
"'set' accessor parameter cannot be optional.": "'set' accessor parameter cannot be optional.",
|
||||
"'set' accessor parameter cannot have an initializer.": "'set' accessor parameter cannot have an initializer.",
|
||||
"'set' accessor cannot have rest parameter.": "'set' accessor cannot have rest parameter.",
|
||||
"'get' accessor cannot have parameters.": "'get' accessor cannot have parameters.",
|
||||
"Modifiers cannot appear here.": "Modifiers cannot appear here.",
|
||||
"Accessors are only available when targeting ECMAScript 5 and higher.": "Accessors are only available when targeting ECMAScript 5 and higher.",
|
||||
"Class name cannot be '{0}'.": "Class name cannot be '{0}'.",
|
||||
"Interface name cannot be '{0}'.": "Interface name cannot be '{0}'.",
|
||||
"Enum name cannot be '{0}'.": "Enum name cannot be '{0}'.",
|
||||
"Module name cannot be '{0}'.": "Module name cannot be '{0}'.",
|
||||
"Enum member must have initializer.": "Enum member must have initializer.",
|
||||
"Export assignment cannot be used in internal modules.": "Export assignment cannot be used in internal modules.",
|
||||
"Export assignment not allowed in module with exported element.": "Export assignment not allowed in module with exported element.",
|
||||
"Module cannot have multiple export assignments.": "Module cannot have multiple export assignments.",
|
||||
"Ambient enum elements can only have integer literal initializers.": "Ambient enum elements can only have integer literal initializers.",
|
||||
"module, class, interface, enum, import or statement": "module, class, interface, enum, import or statement",
|
||||
"constructor, function, accessor or variable": "constructor, function, accessor or variable",
|
||||
"statement": "statement",
|
||||
"case or default clause": "case or default clause",
|
||||
"identifier": "identifier",
|
||||
"call, construct, index, property or function signature": "call, construct, index, property or function signature",
|
||||
"expression": "expression",
|
||||
"type name": "type name",
|
||||
"property or accessor": "property or accessor",
|
||||
"parameter": "parameter",
|
||||
"type": "type",
|
||||
"type parameter": "type parameter",
|
||||
"'declare' modifier not allowed on import declaration.": "'declare' modifier not allowed on import declaration.",
|
||||
"Function overload must be static": "Function overload must be static",
|
||||
"Function overload must not be static": "Function overload must not be static",
|
||||
"Duplicate identifier '{0}'.": "Duplicate identifier '{0}'.",
|
||||
"The name '{0}' does not exist in the current scope.": "The name '{0}' does not exist in the current scope.",
|
||||
"The name '{0}' does not refer to a value.": "The name '{0}' does not refer to a value.",
|
||||
"'super' can only be used inside a class instance method.": "'super' can only be used inside a class instance method.",
|
||||
"The left-hand side of an assignment expression must be a variable, property or indexer.": "The left-hand side of an assignment expression must be a variable, property or indexer.",
|
||||
"Value of type '{0}' is not callable. Did you mean to include 'new'?": "Value of type '{0}' is not callable. Did you mean to include 'new'?",
|
||||
"Value of type '{0}' is not callable.": "Value of type '{0}' is not callable.",
|
||||
"Value of type '{0}' is not newable.": "Value of type '{0}' is not newable.",
|
||||
"Value of type '{0}' is not indexable by type '{1}'.": "Value of type '{0}' is not indexable by type '{1}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}'.": "Operator '{0}' cannot be applied to types '{1}' and '{2}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}": "Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}",
|
||||
"Cannot convert '{0}' to '{1}'.": "Cannot convert '{0}' to '{1}'.",
|
||||
"Cannot convert '{0}' to '{1}':{NL}{2}": "Cannot convert '{0}' to '{1}':{NL}{2}",
|
||||
"Expected var, class, interface, or module.": "Expected var, class, interface, or module.",
|
||||
"Operator '{0}' cannot be applied to type '{1}'.": "Operator '{0}' cannot be applied to type '{1}'.",
|
||||
"Getter '{0}' already declared.": "Getter '{0}' already declared.",
|
||||
"Setter '{0}' already declared.": "Setter '{0}' already declared.",
|
||||
"Accessors cannot have type parameters.": "Accessors cannot have type parameters.",
|
||||
"Exported class '{0}' extends private class '{1}'.": "Exported class '{0}' extends private class '{1}'.",
|
||||
"Exported class '{0}' implements private interface '{1}'.": "Exported class '{0}' implements private interface '{1}'.",
|
||||
"Exported interface '{0}' extends private interface '{1}'.": "Exported interface '{0}' extends private interface '{1}'.",
|
||||
"Exported class '{0}' extends class from inaccessible module {1}.": "Exported class '{0}' extends class from inaccessible module {1}.",
|
||||
"Exported class '{0}' implements interface from inaccessible module {1}.": "Exported class '{0}' implements interface from inaccessible module {1}.",
|
||||
"Exported interface '{0}' extends interface from inaccessible module {1}.": "Exported interface '{0}' extends interface from inaccessible module {1}.",
|
||||
"Public static property '{0}' of exported class has or is using private type '{1}'.": "Public static property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Public property '{0}' of exported class has or is using private type '{1}'.": "Public property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Property '{0}' of exported interface has or is using private type '{1}'.": "Property '{0}' of exported interface has or is using private type '{1}'.",
|
||||
"Exported variable '{0}' has or is using private type '{1}'.": "Exported variable '{0}' has or is using private type '{1}'.",
|
||||
"Public static property '{0}' of exported class is using inaccessible module {1}.": "Public static property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Public property '{0}' of exported class is using inaccessible module {1}.": "Public property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Property '{0}' of exported interface is using inaccessible module {1}.": "Property '{0}' of exported interface is using inaccessible module {1}.",
|
||||
"Exported variable '{0}' is using inaccessible module {1}.": "Exported variable '{0}' is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor from exported class has or is using private type '{1}'.": "Parameter '{0}' of constructor from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of method from exported interface has or is using private type '{1}'.": "Parameter '{0}' of method from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of exported function has or is using private type '{1}'.": "Parameter '{0}' of exported function has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor from exported class is using inaccessible module {1}.": "Parameter '{0}' of constructor from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.": "Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of call signature from exported interface is using inaccessible module {1}": "Parameter '{0}' of call signature from exported interface is using inaccessible module {1}",
|
||||
"Parameter '{0}' of public static method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of method from exported interface is using inaccessible module {1}.": "Parameter '{0}' of method from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of exported function is using inaccessible module {1}.": "Parameter '{0}' of exported function is using inaccessible module {1}.",
|
||||
"Return type of public static property getter from exported class has or is using private type '{0}'.": "Return type of public static property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of public property getter from exported class has or is using private type '{0}'.": "Return type of public property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of constructor signature from exported interface has or is using private type '{0}'.": "Return type of constructor signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of call signature from exported interface has or is using private type '{0}'.": "Return type of call signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of index signature from exported interface has or is using private type '{0}'.": "Return type of index signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of public static method from exported class has or is using private type '{0}'.": "Return type of public static method from exported class has or is using private type '{0}'.",
|
||||
"Return type of public method from exported class has or is using private type '{0}'.": "Return type of public method from exported class has or is using private type '{0}'.",
|
||||
"Return type of method from exported interface has or is using private type '{0}'.": "Return type of method from exported interface has or is using private type '{0}'.",
|
||||
"Return type of exported function has or is using private type '{0}'.": "Return type of exported function has or is using private type '{0}'.",
|
||||
"Return type of public static property getter from exported class is using inaccessible module {0}.": "Return type of public static property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of public property getter from exported class is using inaccessible module {0}.": "Return type of public property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of constructor signature from exported interface is using inaccessible module {0}.": "Return type of constructor signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of call signature from exported interface is using inaccessible module {0}.": "Return type of call signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of index signature from exported interface is using inaccessible module {0}.": "Return type of index signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of public static method from exported class is using inaccessible module {0}.": "Return type of public static method from exported class is using inaccessible module {0}.",
|
||||
"Return type of public method from exported class is using inaccessible module {0}.": "Return type of public method from exported class is using inaccessible module {0}.",
|
||||
"Return type of method from exported interface is using inaccessible module {0}.": "Return type of method from exported interface is using inaccessible module {0}.",
|
||||
"Return type of exported function is using inaccessible module {0}.": "Return type of exported function is using inaccessible module {0}.",
|
||||
"'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.": "'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.",
|
||||
"A parameter list must follow a generic type argument list. '(' expected.": "A parameter list must follow a generic type argument list. '(' expected.",
|
||||
"Multiple constructor implementations are not allowed.": "Multiple constructor implementations are not allowed.",
|
||||
"Unable to resolve external module '{0}'.": "Unable to resolve external module '{0}'.",
|
||||
"Module cannot be aliased to a non-module type.": "Module cannot be aliased to a non-module type.",
|
||||
"A class may only extend another class.": "A class may only extend another class.",
|
||||
"A class may only implement another class or interface.": "A class may only implement another class or interface.",
|
||||
"An interface may only extend another class or interface.": "An interface may only extend another class or interface.",
|
||||
"An interface cannot implement another type.": "An interface cannot implement another type.",
|
||||
"Unable to resolve type.": "Unable to resolve type.",
|
||||
"Unable to resolve type of '{0}'.": "Unable to resolve type of '{0}'.",
|
||||
"Unable to resolve type parameter constraint.": "Unable to resolve type parameter constraint.",
|
||||
"Type parameter constraint cannot be a primitive type.": "Type parameter constraint cannot be a primitive type.",
|
||||
"Supplied parameters do not match any signature of call target.": "Supplied parameters do not match any signature of call target.",
|
||||
"Supplied parameters do not match any signature of call target:{NL}{0}": "Supplied parameters do not match any signature of call target:{NL}{0}",
|
||||
"Invalid 'new' expression.": "Invalid 'new' expression.",
|
||||
"Call signatures used in a 'new' expression must have a 'void' return type.": "Call signatures used in a 'new' expression must have a 'void' return type.",
|
||||
"Could not select overload for 'new' expression.": "Could not select overload for 'new' expression.",
|
||||
"Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.": "Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.",
|
||||
"Could not select overload for 'call' expression.": "Could not select overload for 'call' expression.",
|
||||
"Cannot invoke an expression whose type lacks a call signature.": "Cannot invoke an expression whose type lacks a call signature.",
|
||||
"Calls to 'super' are only valid inside a class.": "Calls to 'super' are only valid inside a class.",
|
||||
"Generic type '{0}' requires {1} type argument(s).": "Generic type '{0}' requires {1} type argument(s).",
|
||||
"Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.": "Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.",
|
||||
"Type of array literal cannot be determined. Best common type could not be found for array elements.": "Type of array literal cannot be determined. Best common type could not be found for array elements.",
|
||||
"Could not find enclosing symbol for dotted name '{0}'.": "Could not find enclosing symbol for dotted name '{0}'.",
|
||||
"The property '{0}' does not exist on value of type '{1}'.": "The property '{0}' does not exist on value of type '{1}'.",
|
||||
"Could not find symbol '{0}'.": "Could not find symbol '{0}'.",
|
||||
"'get' and 'set' accessor must have the same type.": "'get' and 'set' accessor must have the same type.",
|
||||
"'this' cannot be referenced in current location.": "'this' cannot be referenced in current location.",
|
||||
"Static methods cannot reference class type parameters.": "Static methods cannot reference class type parameters.",
|
||||
"Class '{0}' is recursively referenced as a base type of itself.": "Class '{0}' is recursively referenced as a base type of itself.",
|
||||
"Interface '{0}' is recursively referenced as a base type of itself.": "Interface '{0}' is recursively referenced as a base type of itself.",
|
||||
"'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.": "'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.",
|
||||
"'super' cannot be referenced in non-derived classes.": "'super' cannot be referenced in non-derived classes.",
|
||||
"A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.": "A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.",
|
||||
"Constructors for derived classes must contain a 'super' call.": "Constructors for derived classes must contain a 'super' call.",
|
||||
"Super calls are not permitted outside constructors or in local functions inside constructors.": "Super calls are not permitted outside constructors or in local functions inside constructors.",
|
||||
"'{0}.{1}' is inaccessible.": "'{0}.{1}' is inaccessible.",
|
||||
"'this' cannot be referenced within module bodies.": "'this' cannot be referenced within module bodies.",
|
||||
"Invalid '+' expression - types not known to support the addition operator.": "Invalid '+' expression - types not known to support the addition operator.",
|
||||
"The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.": "The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.",
|
||||
"Variable declarations of a 'for' statement cannot use a type annotation.": "Variable declarations of a 'for' statement cannot use a type annotation.",
|
||||
"Variable declarations of a 'for' statement must be of types 'string' or 'any'.": "Variable declarations of a 'for' statement must be of types 'string' or 'any'.",
|
||||
"The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.": "The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'in' expression must be of types 'string' or 'any'.": "The left-hand side of an 'in' expression must be of types 'string' or 'any'.",
|
||||
"The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.": "The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.": "The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.": "The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.",
|
||||
"Setters cannot return a value.": "Setters cannot return a value.",
|
||||
"Tried to query type of uninitialized module '{0}'.": "Tried to query type of uninitialized module '{0}'.",
|
||||
"Tried to set variable type to uninitialized module type '{0}'.": "Tried to set variable type to uninitialized module type '{0}'.",
|
||||
"Function '{0}' declared a non-void return type, but has no return expression.": "Function '{0}' declared a non-void return type, but has no return expression.",
|
||||
"Getters must return a value.": "Getters must return a value.",
|
||||
"Getter and setter accessors do not agree in visibility.": "Getter and setter accessors do not agree in visibility.",
|
||||
"Invalid left-hand side of assignment expression.": "Invalid left-hand side of assignment expression.",
|
||||
"Function declared a non-void return type, but has no return expression.": "Function declared a non-void return type, but has no return expression.",
|
||||
"Cannot resolve return type reference.": "Cannot resolve return type reference.",
|
||||
"Constructors cannot have a return type of 'void'.": "Constructors cannot have a return type of 'void'.",
|
||||
"Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.": "Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.",
|
||||
"All symbols within a with block will be resolved to 'any'.": "All symbols within a with block will be resolved to 'any'.",
|
||||
"Import declarations in an internal module cannot reference an external module.": "Import declarations in an internal module cannot reference an external module.",
|
||||
"Class {0} declares interface {1} but does not implement it:{NL}{2}": "Class {0} declares interface {1} but does not implement it:{NL}{2}",
|
||||
"Class {0} declares class {1} as an interface but does not implement it:{NL}{2}": "Class {0} declares class {1} as an interface but does not implement it:{NL}{2}",
|
||||
"The operand of an increment or decrement operator must be a variable, property or indexer.": "The operand of an increment or decrement operator must be a variable, property or indexer.",
|
||||
"'this' cannot be referenced in static initializers in a class body.": "'this' cannot be referenced in static initializers in a class body.",
|
||||
"Class '{0}' cannot extend class '{1}':{NL}{2}": "Class '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend class '{1}':{NL}{2}": "Interface '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend interface '{1}':{NL}{2}": "Interface '{0}' cannot extend interface '{1}':{NL}{2}",
|
||||
"Duplicate overload signature for '{0}'.": "Duplicate overload signature for '{0}'.",
|
||||
"Duplicate constructor overload signature.": "Duplicate constructor overload signature.",
|
||||
"Duplicate overload call signature.": "Duplicate overload call signature.",
|
||||
"Duplicate overload construct signature.": "Duplicate overload construct signature.",
|
||||
"Overload signature is not compatible with function definition.": "Overload signature is not compatible with function definition.",
|
||||
"Overload signature is not compatible with function definition:{NL}{0}": "Overload signature is not compatible with function definition:{NL}{0}",
|
||||
"Overload signatures must all be public or private.": "Overload signatures must all be public or private.",
|
||||
"Overload signatures must all be exported or local.": "Overload signatures must all be exported or local.",
|
||||
"Overload signatures must all be ambient or non-ambient.": "Overload signatures must all be ambient or non-ambient.",
|
||||
"Overload signatures must all be optional or required.": "Overload signatures must all be optional or required.",
|
||||
"Specialized overload signature is not subtype of any non-specialized signature.": "Specialized overload signature is not subtype of any non-specialized signature.",
|
||||
"'this' cannot be referenced in constructor arguments.": "'this' cannot be referenced in constructor arguments.",
|
||||
"Static member cannot be accessed off an instance variable.": "Static member cannot be accessed off an instance variable.",
|
||||
"Instance member cannot be accessed off a class.": "Instance member cannot be accessed off a class.",
|
||||
"Untyped function calls may not accept type arguments.": "Untyped function calls may not accept type arguments.",
|
||||
"Non-generic functions may not accept type arguments.": "Non-generic functions may not accept type arguments.",
|
||||
"A generic type may not reference itself with a wrapped form of its own type parameters.": "A generic type may not reference itself with a wrapped form of its own type parameters.",
|
||||
"Rest parameters must be array types.": "Rest parameters must be array types.",
|
||||
"Overload signature implementation cannot use specialized type.": "Overload signature implementation cannot use specialized type.",
|
||||
"Export assignments may only be used at the top-level of external modules.": "Export assignments may only be used at the top-level of external modules.",
|
||||
"Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules": "Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules",
|
||||
"Only public instance methods of the base class are accessible via the 'super' keyword.": "Only public instance methods of the base class are accessible via the 'super' keyword.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}'.": "All numerically named properties must be subtypes of numeric indexer type '{0}'.",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}": "All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}",
|
||||
"All named properties must be subtypes of string indexer type '{0}'.": "All named properties must be subtypes of string indexer type '{0}'.",
|
||||
"All named properties must be subtypes of string indexer type '{0}':{NL}{1}": "All named properties must be subtypes of string indexer type '{0}':{NL}{1}",
|
||||
"Generic type references must include all type arguments.": "Generic type references must include all type arguments.",
|
||||
"Default arguments are not allowed in an overload parameter.": "Default arguments are not allowed in an overload parameter.",
|
||||
"Overloads cannot differ only by return type.": "Overloads cannot differ only by return type.",
|
||||
"Function expression declared a non-void return type, but has no return expression.": "Function expression declared a non-void return type, but has no return expression.",
|
||||
"Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.": "Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.",
|
||||
"Could not find symbol '{0}' in module '{1}'.": "Could not find symbol '{0}' in module '{1}'.",
|
||||
"Unable to resolve module reference '{0}'.": "Unable to resolve module reference '{0}'.",
|
||||
"Could not find module '{0}' in module '{1}'.": "Could not find module '{0}' in module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.",
|
||||
"Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.": "Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.",
|
||||
"Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.": "Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.",
|
||||
"Type '{0}' is missing property '{1}' from type '{2}'.": "Type '{0}' is missing property '{1}' from type '{2}'.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible.": "Types of property '{0}' of types '{1}' and '{2}' are incompatible.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}": "Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}",
|
||||
"Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.": "Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.",
|
||||
"Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.": "Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.",
|
||||
"Types '{0}' and '{1}' define property '{2}' as private.": "Types '{0}' and '{1}' define property '{2}' as private.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible.": "Call signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a call signature, but type '{1}' lacks one.": "Type '{0}' requires a call signature, but type '{1}' lacks one.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible.": "Construct signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a construct signature, but type '{1}' lacks one.": "Type '{0}' requires a construct signature, but type '{1}' lacks one.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible.": "Index signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Call signature expects {0} or fewer parameters.": "Call signature expects {0} or fewer parameters.",
|
||||
"Could not apply type '{0}' to argument {1} which is of type '{2}'.": "Could not apply type '{0}' to argument {1} which is of type '{2}'.",
|
||||
"Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}",
|
||||
"Type reference cannot refer to container '{0}'.": "Type reference cannot refer to container '{0}'.",
|
||||
"Type reference must refer to type.": "Type reference must refer to type.",
|
||||
"Enums with multiple declarations must provide an initializer for the first enum element.": "Enums with multiple declarations must provide an initializer for the first enum element.",
|
||||
" (+ {0} overload(s))": " (+ {0} overload(s))",
|
||||
"Current host does not support '{0}' option.": "Current host does not support '{0}' option.",
|
||||
"ECMAScript target version '{0}' not supported. Using default '{1}' code generation.": "ECMAScript target version '{0}' not supported. Using default '{1}' code generation.",
|
||||
"Module code generation '{0}' not supported.": "Module code generation '{0}' not supported.",
|
||||
"Could not find file: '{0}'.": "Could not find file: '{0}'.",
|
||||
"A file cannot have a reference to itself.": "A file cannot have a reference to itself.",
|
||||
"Cannot resolve referenced file: '{0}'.": "Cannot resolve referenced file: '{0}'.",
|
||||
"Cannot find the common subdirectory path for the input files.": "Cannot find the common subdirectory path for the input files.",
|
||||
"Emit Error: {0}.": "Emit Error: {0}.",
|
||||
"Cannot read file '{0}': {1}": "Cannot read file '{0}': {1}",
|
||||
"Unsupported file encoding.": "Unsupported file encoding.",
|
||||
"Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.": "Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.",
|
||||
"Unsupported locale: '{0}'.": "Unsupported locale: '{0}'.",
|
||||
"Execution Failed.{NL}": "Execution Failed.{NL}",
|
||||
"Should not emit a type query": "Should not emit a type query",
|
||||
"Should not emit a type reference": "Should not emit a type reference",
|
||||
"Invalid call to 'up'": "Invalid call to 'up'",
|
||||
"Invalid call to 'down'": "Invalid call to 'down'",
|
||||
"Base64 value '{0}' finished with a continuation bit": "Base64 value '{0}' finished with a continuation bit",
|
||||
"Key was already in table": "Key was already in table",
|
||||
"Unknown option '{0}'": "Unknown option '{0}'",
|
||||
"Expected {0} arguments to message, got {1} instead": "Expected {0} arguments to message, got {1} instead",
|
||||
"Expected the message '{0}' to have {1} arguments, but it had {2}": "Expected the message '{0}' to have {1} arguments, but it had {2}",
|
||||
"Invalid argument: {0}. {1}": "Invalid argument: {0}. {1}",
|
||||
"Invalid argument: {0}.": "Invalid argument: {0}.",
|
||||
"Argument out of range: {0}.": "Argument out of range: {0}.",
|
||||
"Argument null: {0}.": "Argument null: {0}.",
|
||||
"Operation not implemented properly by subclass.": "Operation not implemented properly by subclass.",
|
||||
"Not yet implemented.": "Not yet implemented.",
|
||||
"Invalid operation: {0}": "Invalid operation: {0}",
|
||||
"Invalid operation.": "Invalid operation.",
|
||||
"Could not delete file '{0}'": "Could not delete file '{0}'",
|
||||
"Could not create directory '{0}'": "Could not create directory '{0}'",
|
||||
"Error while executing file '{0}': ": "Error while executing file '{0}': ",
|
||||
"Cannot compile external modules unless the '--module' flag is provided.": "Cannot compile external modules unless the '--module' flag is provided.",
|
||||
"Option mapRoot cannot be specified without specifying sourcemap option.": "Option mapRoot cannot be specified without specifying sourcemap option.",
|
||||
"Option sourceRoot cannot be specified without specifying sourcemap option.": "Option sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.": "Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Concatenate and emit output to single file": "Concatenate and emit output to single file",
|
||||
"Generates corresponding {0} file": "Generates corresponding {0} file",
|
||||
"Specifies the location where debugger should locate map files instead of generated locations.": "Specifies the location where debugger should locate map files instead of generated locations.",
|
||||
"Specifies the location where debugger should locate TypeScript files instead of source locations.": "Specifies the location where debugger should locate TypeScript files instead of source locations.",
|
||||
"Watch input files": "Watch input files",
|
||||
"Redirect output structure to the directory": "Redirect output structure to the directory",
|
||||
"Do not emit comments to output": "Do not emit comments to output",
|
||||
"Skip resolution and preprocessing": "Skip resolution and preprocessing",
|
||||
"Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"": "Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"",
|
||||
"Specify module code generation: \"{0}\" or \"{1}\"": "Specify module code generation: \"{0}\" or \"{1}\"",
|
||||
"Print this message": "Print this message",
|
||||
"Print the compiler's version: {0}": "Print the compiler's version: {0}",
|
||||
"Allow use of deprecated \"{0}\" keyword when referencing an external module": "Allow use of deprecated \"{0}\" keyword when referencing an external module",
|
||||
"Specify locale for errors and messages. For example '{0}' or '{1}'": "Specify locale for errors and messages. For example '{0}' or '{1}'",
|
||||
"Syntax: {0}": "Syntax: {0}",
|
||||
"options": "options",
|
||||
"file": "file",
|
||||
"Examples:": "Examples:",
|
||||
"Options:": "Options:",
|
||||
"Insert command line options and files from a file.": "Insert command line options and files from a file.",
|
||||
"Version {0}": "Version {0}",
|
||||
"Use the '{0}' flag to see options": "Use the '{0}' flag to see options",
|
||||
"{NL}Recompiling ({0}):": "{NL}Recompiling ({0}):",
|
||||
"STRING": "STRING",
|
||||
"KIND": "KIND",
|
||||
"FILE": "FILE",
|
||||
"VERSION": "VERSION",
|
||||
"LOCATION": "LOCATION",
|
||||
"DIRECTORY": "DIRECTORY",
|
||||
"This version of the Javascript runtime does not support the '{0}' function.": "This version of the Javascript runtime does not support the '{0}' function.",
|
||||
"Looking up path for identifier token did not result in an identifer.": "Looking up path for identifier token did not result in an identifer.",
|
||||
"Unknown rule": "Unknown rule",
|
||||
"Invalid line number ({0})": "Invalid line number ({0})",
|
||||
"Warn on expressions and declarations with an implied 'any' type.": "Warn on expressions and declarations with an implied 'any' type.",
|
||||
"Variable '{0}' implicitly has an 'any' type.": "Variable '{0}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of '{1}' implicitly has an 'any' type.": "Parameter '{0}' of '{1}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of function type implicitly has an 'any' type.": "Parameter '{0}' of function type implicitly has an 'any' type.",
|
||||
"Member '{0}' of object type implicitly has an 'any' type.": "Member '{0}' of object type implicitly has an 'any' type.",
|
||||
"\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.": "\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.",
|
||||
"'{0}', which lacks return-type annotation, implicitly has an 'any' return type.": "'{0}', which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Function expression, which lacks return-type annotation, implicitly has an 'any' return type.": "Function expression, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Parameter '{0}' of lambda function implicitly has an 'any' type.": "Parameter '{0}' of lambda function implicitly has an 'any' type.",
|
||||
"Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.": "Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.": "Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Array Literal implicitly has an 'any' type from widening.": "Array Literal implicitly has an 'any' type from widening."
|
||||
}
|
||||
374
bin/resources/en/us/diagnosticMessages.generated.json
Normal file
374
bin/resources/en/us/diagnosticMessages.generated.json
Normal file
@ -0,0 +1,374 @@
|
||||
{
|
||||
"error TS{0}: {1}": "error TS{0}: {1}",
|
||||
"warning TS{0}: {1}": "warning TS{0}: {1}",
|
||||
"Unrecognized escape sequence.": "Unrecognized escape sequence.",
|
||||
"Unexpected character {0}.": "Unexpected character {0}.",
|
||||
"Missing close quote character.": "Missing close quote character.",
|
||||
"Identifier expected.": "Identifier expected.",
|
||||
"'{0}' keyword expected.": "'{0}' keyword expected.",
|
||||
"'{0}' expected.": "'{0}' expected.",
|
||||
"Identifier expected; '{0}' is a keyword.": "Identifier expected; '{0}' is a keyword.",
|
||||
"Automatic semicolon insertion not allowed.": "Automatic semicolon insertion not allowed.",
|
||||
"Unexpected token; '{0}' expected.": "Unexpected token; '{0}' expected.",
|
||||
"Trailing separator not allowed.": "Trailing separator not allowed.",
|
||||
"'*/' expected.": "'*/' expected.",
|
||||
"'public' or 'private' modifier must precede 'static'.": "'public' or 'private' modifier must precede 'static'.",
|
||||
"Unexpected token.": "Unexpected token.",
|
||||
"Catch clause parameter cannot have a type annotation.": "Catch clause parameter cannot have a type annotation.",
|
||||
"Rest parameter must be last in list.": "Rest parameter must be last in list.",
|
||||
"Parameter cannot have question mark and initializer.": "Parameter cannot have question mark and initializer.",
|
||||
"Required parameter cannot follow optional parameter.": "Required parameter cannot follow optional parameter.",
|
||||
"Index signatures cannot have rest parameters.": "Index signatures cannot have rest parameters.",
|
||||
"Index signature parameter cannot have accessibility modifiers.": "Index signature parameter cannot have accessibility modifiers.",
|
||||
"Index signature parameter cannot have a question mark.": "Index signature parameter cannot have a question mark.",
|
||||
"Index signature parameter cannot have an initializer.": "Index signature parameter cannot have an initializer.",
|
||||
"Index signature must have a type annotation.": "Index signature must have a type annotation.",
|
||||
"Index signature parameter must have a type annotation.": "Index signature parameter must have a type annotation.",
|
||||
"Index signature parameter type must be 'string' or 'number'.": "Index signature parameter type must be 'string' or 'number'.",
|
||||
"'extends' clause already seen.": "'extends' clause already seen.",
|
||||
"'extends' clause must precede 'implements' clause.": "'extends' clause must precede 'implements' clause.",
|
||||
"Classes can only extend a single class.": "Classes can only extend a single class.",
|
||||
"'implements' clause already seen.": "'implements' clause already seen.",
|
||||
"Accessibility modifier already seen.": "Accessibility modifier already seen.",
|
||||
"'{0}' modifier must precede '{1}' modifier.": "'{0}' modifier must precede '{1}' modifier.",
|
||||
"'{0}' modifier already seen.": "'{0}' modifier already seen.",
|
||||
"'{0}' modifier cannot appear on a class element.": "'{0}' modifier cannot appear on a class element.",
|
||||
"Interface declaration cannot have 'implements' clause.": "Interface declaration cannot have 'implements' clause.",
|
||||
"'super' invocation cannot have type arguments.": "'super' invocation cannot have type arguments.",
|
||||
"Only ambient modules can use quoted names.": "Only ambient modules can use quoted names.",
|
||||
"Statements are not allowed in ambient contexts.": "Statements are not allowed in ambient contexts.",
|
||||
"Implementations are not allowed in ambient contexts.": "Implementations are not allowed in ambient contexts.",
|
||||
"'declare' modifier not allowed for code already in an ambient context.": "'declare' modifier not allowed for code already in an ambient context.",
|
||||
"Initializers are not allowed in ambient contexts.": "Initializers are not allowed in ambient contexts.",
|
||||
"Parameter property declarations can only be used in constructors.": "Parameter property declarations can only be used in constructors.",
|
||||
"Function implementation expected.": "Function implementation expected.",
|
||||
"Constructor implementation expected.": "Constructor implementation expected.",
|
||||
"Function overload name must be '{0}'.": "Function overload name must be '{0}'.",
|
||||
"'{0}' modifier cannot appear on a module element.": "'{0}' modifier cannot appear on a module element.",
|
||||
"'declare' modifier cannot appear on an interface declaration.": "'declare' modifier cannot appear on an interface declaration.",
|
||||
"'declare' modifier required for top level element.": "'declare' modifier required for top level element.",
|
||||
"Rest parameter cannot be optional.": "Rest parameter cannot be optional.",
|
||||
"Rest parameter cannot have an initializer.": "Rest parameter cannot have an initializer.",
|
||||
"'set' accessor must have one and only one parameter.": "'set' accessor must have one and only one parameter.",
|
||||
"'set' accessor parameter cannot have accessibility modifier.": "'set' accessor parameter cannot have accessibility modifier.",
|
||||
"'set' accessor parameter cannot be optional.": "'set' accessor parameter cannot be optional.",
|
||||
"'set' accessor parameter cannot have an initializer.": "'set' accessor parameter cannot have an initializer.",
|
||||
"'set' accessor cannot have rest parameter.": "'set' accessor cannot have rest parameter.",
|
||||
"'get' accessor cannot have parameters.": "'get' accessor cannot have parameters.",
|
||||
"Modifiers cannot appear here.": "Modifiers cannot appear here.",
|
||||
"Accessors are only available when targeting ECMAScript 5 and higher.": "Accessors are only available when targeting ECMAScript 5 and higher.",
|
||||
"Class name cannot be '{0}'.": "Class name cannot be '{0}'.",
|
||||
"Interface name cannot be '{0}'.": "Interface name cannot be '{0}'.",
|
||||
"Enum name cannot be '{0}'.": "Enum name cannot be '{0}'.",
|
||||
"Module name cannot be '{0}'.": "Module name cannot be '{0}'.",
|
||||
"Enum member must have initializer.": "Enum member must have initializer.",
|
||||
"Export assignment cannot be used in internal modules.": "Export assignment cannot be used in internal modules.",
|
||||
"Export assignment not allowed in module with exported element.": "Export assignment not allowed in module with exported element.",
|
||||
"Module cannot have multiple export assignments.": "Module cannot have multiple export assignments.",
|
||||
"Ambient enum elements can only have integer literal initializers.": "Ambient enum elements can only have integer literal initializers.",
|
||||
"module, class, interface, enum, import or statement": "module, class, interface, enum, import or statement",
|
||||
"constructor, function, accessor or variable": "constructor, function, accessor or variable",
|
||||
"statement": "statement",
|
||||
"case or default clause": "case or default clause",
|
||||
"identifier": "identifier",
|
||||
"call, construct, index, property or function signature": "call, construct, index, property or function signature",
|
||||
"expression": "expression",
|
||||
"type name": "type name",
|
||||
"property or accessor": "property or accessor",
|
||||
"parameter": "parameter",
|
||||
"type": "type",
|
||||
"type parameter": "type parameter",
|
||||
"'declare' modifier not allowed on import declaration.": "'declare' modifier not allowed on import declaration.",
|
||||
"Function overload must be static": "Function overload must be static",
|
||||
"Function overload must not be static": "Function overload must not be static",
|
||||
"Duplicate identifier '{0}'.": "Duplicate identifier '{0}'.",
|
||||
"The name '{0}' does not exist in the current scope.": "The name '{0}' does not exist in the current scope.",
|
||||
"The name '{0}' does not refer to a value.": "The name '{0}' does not refer to a value.",
|
||||
"'super' can only be used inside a class instance method.": "'super' can only be used inside a class instance method.",
|
||||
"The left-hand side of an assignment expression must be a variable, property or indexer.": "The left-hand side of an assignment expression must be a variable, property or indexer.",
|
||||
"Value of type '{0}' is not callable. Did you mean to include 'new'?": "Value of type '{0}' is not callable. Did you mean to include 'new'?",
|
||||
"Value of type '{0}' is not callable.": "Value of type '{0}' is not callable.",
|
||||
"Value of type '{0}' is not newable.": "Value of type '{0}' is not newable.",
|
||||
"Value of type '{0}' is not indexable by type '{1}'.": "Value of type '{0}' is not indexable by type '{1}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}'.": "Operator '{0}' cannot be applied to types '{1}' and '{2}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}": "Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}",
|
||||
"Cannot convert '{0}' to '{1}'.": "Cannot convert '{0}' to '{1}'.",
|
||||
"Cannot convert '{0}' to '{1}':{NL}{2}": "Cannot convert '{0}' to '{1}':{NL}{2}",
|
||||
"Expected var, class, interface, or module.": "Expected var, class, interface, or module.",
|
||||
"Operator '{0}' cannot be applied to type '{1}'.": "Operator '{0}' cannot be applied to type '{1}'.",
|
||||
"Getter '{0}' already declared.": "Getter '{0}' already declared.",
|
||||
"Setter '{0}' already declared.": "Setter '{0}' already declared.",
|
||||
"Accessors cannot have type parameters.": "Accessors cannot have type parameters.",
|
||||
"Exported class '{0}' extends private class '{1}'.": "Exported class '{0}' extends private class '{1}'.",
|
||||
"Exported class '{0}' implements private interface '{1}'.": "Exported class '{0}' implements private interface '{1}'.",
|
||||
"Exported interface '{0}' extends private interface '{1}'.": "Exported interface '{0}' extends private interface '{1}'.",
|
||||
"Exported class '{0}' extends class from inaccessible module {1}.": "Exported class '{0}' extends class from inaccessible module {1}.",
|
||||
"Exported class '{0}' implements interface from inaccessible module {1}.": "Exported class '{0}' implements interface from inaccessible module {1}.",
|
||||
"Exported interface '{0}' extends interface from inaccessible module {1}.": "Exported interface '{0}' extends interface from inaccessible module {1}.",
|
||||
"Public static property '{0}' of exported class has or is using private type '{1}'.": "Public static property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Public property '{0}' of exported class has or is using private type '{1}'.": "Public property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Property '{0}' of exported interface has or is using private type '{1}'.": "Property '{0}' of exported interface has or is using private type '{1}'.",
|
||||
"Exported variable '{0}' has or is using private type '{1}'.": "Exported variable '{0}' has or is using private type '{1}'.",
|
||||
"Public static property '{0}' of exported class is using inaccessible module {1}.": "Public static property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Public property '{0}' of exported class is using inaccessible module {1}.": "Public property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Property '{0}' of exported interface is using inaccessible module {1}.": "Property '{0}' of exported interface is using inaccessible module {1}.",
|
||||
"Exported variable '{0}' is using inaccessible module {1}.": "Exported variable '{0}' is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor from exported class has or is using private type '{1}'.": "Parameter '{0}' of constructor from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of method from exported interface has or is using private type '{1}'.": "Parameter '{0}' of method from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of exported function has or is using private type '{1}'.": "Parameter '{0}' of exported function has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor from exported class is using inaccessible module {1}.": "Parameter '{0}' of constructor from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.": "Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of call signature from exported interface is using inaccessible module {1}": "Parameter '{0}' of call signature from exported interface is using inaccessible module {1}",
|
||||
"Parameter '{0}' of public static method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of method from exported interface is using inaccessible module {1}.": "Parameter '{0}' of method from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of exported function is using inaccessible module {1}.": "Parameter '{0}' of exported function is using inaccessible module {1}.",
|
||||
"Return type of public static property getter from exported class has or is using private type '{0}'.": "Return type of public static property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of public property getter from exported class has or is using private type '{0}'.": "Return type of public property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of constructor signature from exported interface has or is using private type '{0}'.": "Return type of constructor signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of call signature from exported interface has or is using private type '{0}'.": "Return type of call signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of index signature from exported interface has or is using private type '{0}'.": "Return type of index signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of public static method from exported class has or is using private type '{0}'.": "Return type of public static method from exported class has or is using private type '{0}'.",
|
||||
"Return type of public method from exported class has or is using private type '{0}'.": "Return type of public method from exported class has or is using private type '{0}'.",
|
||||
"Return type of method from exported interface has or is using private type '{0}'.": "Return type of method from exported interface has or is using private type '{0}'.",
|
||||
"Return type of exported function has or is using private type '{0}'.": "Return type of exported function has or is using private type '{0}'.",
|
||||
"Return type of public static property getter from exported class is using inaccessible module {0}.": "Return type of public static property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of public property getter from exported class is using inaccessible module {0}.": "Return type of public property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of constructor signature from exported interface is using inaccessible module {0}.": "Return type of constructor signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of call signature from exported interface is using inaccessible module {0}.": "Return type of call signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of index signature from exported interface is using inaccessible module {0}.": "Return type of index signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of public static method from exported class is using inaccessible module {0}.": "Return type of public static method from exported class is using inaccessible module {0}.",
|
||||
"Return type of public method from exported class is using inaccessible module {0}.": "Return type of public method from exported class is using inaccessible module {0}.",
|
||||
"Return type of method from exported interface is using inaccessible module {0}.": "Return type of method from exported interface is using inaccessible module {0}.",
|
||||
"Return type of exported function is using inaccessible module {0}.": "Return type of exported function is using inaccessible module {0}.",
|
||||
"'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.": "'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.",
|
||||
"A parameter list must follow a generic type argument list. '(' expected.": "A parameter list must follow a generic type argument list. '(' expected.",
|
||||
"Multiple constructor implementations are not allowed.": "Multiple constructor implementations are not allowed.",
|
||||
"Unable to resolve external module '{0}'.": "Unable to resolve external module '{0}'.",
|
||||
"Module cannot be aliased to a non-module type.": "Module cannot be aliased to a non-module type.",
|
||||
"A class may only extend another class.": "A class may only extend another class.",
|
||||
"A class may only implement another class or interface.": "A class may only implement another class or interface.",
|
||||
"An interface may only extend another class or interface.": "An interface may only extend another class or interface.",
|
||||
"An interface cannot implement another type.": "An interface cannot implement another type.",
|
||||
"Unable to resolve type.": "Unable to resolve type.",
|
||||
"Unable to resolve type of '{0}'.": "Unable to resolve type of '{0}'.",
|
||||
"Unable to resolve type parameter constraint.": "Unable to resolve type parameter constraint.",
|
||||
"Type parameter constraint cannot be a primitive type.": "Type parameter constraint cannot be a primitive type.",
|
||||
"Supplied parameters do not match any signature of call target.": "Supplied parameters do not match any signature of call target.",
|
||||
"Supplied parameters do not match any signature of call target:{NL}{0}": "Supplied parameters do not match any signature of call target:{NL}{0}",
|
||||
"Invalid 'new' expression.": "Invalid 'new' expression.",
|
||||
"Call signatures used in a 'new' expression must have a 'void' return type.": "Call signatures used in a 'new' expression must have a 'void' return type.",
|
||||
"Could not select overload for 'new' expression.": "Could not select overload for 'new' expression.",
|
||||
"Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.": "Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.",
|
||||
"Could not select overload for 'call' expression.": "Could not select overload for 'call' expression.",
|
||||
"Cannot invoke an expression whose type lacks a call signature.": "Cannot invoke an expression whose type lacks a call signature.",
|
||||
"Calls to 'super' are only valid inside a class.": "Calls to 'super' are only valid inside a class.",
|
||||
"Generic type '{0}' requires {1} type argument(s).": "Generic type '{0}' requires {1} type argument(s).",
|
||||
"Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.": "Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.",
|
||||
"Type of array literal cannot be determined. Best common type could not be found for array elements.": "Type of array literal cannot be determined. Best common type could not be found for array elements.",
|
||||
"Could not find enclosing symbol for dotted name '{0}'.": "Could not find enclosing symbol for dotted name '{0}'.",
|
||||
"The property '{0}' does not exist on value of type '{1}'.": "The property '{0}' does not exist on value of type '{1}'.",
|
||||
"Could not find symbol '{0}'.": "Could not find symbol '{0}'.",
|
||||
"'get' and 'set' accessor must have the same type.": "'get' and 'set' accessor must have the same type.",
|
||||
"'this' cannot be referenced in current location.": "'this' cannot be referenced in current location.",
|
||||
"Static methods cannot reference class type parameters.": "Static methods cannot reference class type parameters.",
|
||||
"Class '{0}' is recursively referenced as a base type of itself.": "Class '{0}' is recursively referenced as a base type of itself.",
|
||||
"Interface '{0}' is recursively referenced as a base type of itself.": "Interface '{0}' is recursively referenced as a base type of itself.",
|
||||
"'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.": "'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.",
|
||||
"'super' cannot be referenced in non-derived classes.": "'super' cannot be referenced in non-derived classes.",
|
||||
"A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.": "A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.",
|
||||
"Constructors for derived classes must contain a 'super' call.": "Constructors for derived classes must contain a 'super' call.",
|
||||
"Super calls are not permitted outside constructors or in local functions inside constructors.": "Super calls are not permitted outside constructors or in local functions inside constructors.",
|
||||
"'{0}.{1}' is inaccessible.": "'{0}.{1}' is inaccessible.",
|
||||
"'this' cannot be referenced within module bodies.": "'this' cannot be referenced within module bodies.",
|
||||
"Invalid '+' expression - types not known to support the addition operator.": "Invalid '+' expression - types not known to support the addition operator.",
|
||||
"The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.": "The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.",
|
||||
"Variable declarations of a 'for' statement cannot use a type annotation.": "Variable declarations of a 'for' statement cannot use a type annotation.",
|
||||
"Variable declarations of a 'for' statement must be of types 'string' or 'any'.": "Variable declarations of a 'for' statement must be of types 'string' or 'any'.",
|
||||
"The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.": "The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'in' expression must be of types 'string' or 'any'.": "The left-hand side of an 'in' expression must be of types 'string' or 'any'.",
|
||||
"The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.": "The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.": "The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.": "The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.",
|
||||
"Setters cannot return a value.": "Setters cannot return a value.",
|
||||
"Tried to query type of uninitialized module '{0}'.": "Tried to query type of uninitialized module '{0}'.",
|
||||
"Tried to set variable type to uninitialized module type '{0}'.": "Tried to set variable type to uninitialized module type '{0}'.",
|
||||
"Function '{0}' declared a non-void return type, but has no return expression.": "Function '{0}' declared a non-void return type, but has no return expression.",
|
||||
"Getters must return a value.": "Getters must return a value.",
|
||||
"Getter and setter accessors do not agree in visibility.": "Getter and setter accessors do not agree in visibility.",
|
||||
"Invalid left-hand side of assignment expression.": "Invalid left-hand side of assignment expression.",
|
||||
"Function declared a non-void return type, but has no return expression.": "Function declared a non-void return type, but has no return expression.",
|
||||
"Cannot resolve return type reference.": "Cannot resolve return type reference.",
|
||||
"Constructors cannot have a return type of 'void'.": "Constructors cannot have a return type of 'void'.",
|
||||
"Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.": "Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.",
|
||||
"All symbols within a with block will be resolved to 'any'.": "All symbols within a with block will be resolved to 'any'.",
|
||||
"Import declarations in an internal module cannot reference an external module.": "Import declarations in an internal module cannot reference an external module.",
|
||||
"Class {0} declares interface {1} but does not implement it:{NL}{2}": "Class {0} declares interface {1} but does not implement it:{NL}{2}",
|
||||
"Class {0} declares class {1} as an interface but does not implement it:{NL}{2}": "Class {0} declares class {1} as an interface but does not implement it:{NL}{2}",
|
||||
"The operand of an increment or decrement operator must be a variable, property or indexer.": "The operand of an increment or decrement operator must be a variable, property or indexer.",
|
||||
"'this' cannot be referenced in static initializers in a class body.": "'this' cannot be referenced in static initializers in a class body.",
|
||||
"Class '{0}' cannot extend class '{1}':{NL}{2}": "Class '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend class '{1}':{NL}{2}": "Interface '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend interface '{1}':{NL}{2}": "Interface '{0}' cannot extend interface '{1}':{NL}{2}",
|
||||
"Duplicate overload signature for '{0}'.": "Duplicate overload signature for '{0}'.",
|
||||
"Duplicate constructor overload signature.": "Duplicate constructor overload signature.",
|
||||
"Duplicate overload call signature.": "Duplicate overload call signature.",
|
||||
"Duplicate overload construct signature.": "Duplicate overload construct signature.",
|
||||
"Overload signature is not compatible with function definition.": "Overload signature is not compatible with function definition.",
|
||||
"Overload signature is not compatible with function definition:{NL}{0}": "Overload signature is not compatible with function definition:{NL}{0}",
|
||||
"Overload signatures must all be public or private.": "Overload signatures must all be public or private.",
|
||||
"Overload signatures must all be exported or local.": "Overload signatures must all be exported or local.",
|
||||
"Overload signatures must all be ambient or non-ambient.": "Overload signatures must all be ambient or non-ambient.",
|
||||
"Overload signatures must all be optional or required.": "Overload signatures must all be optional or required.",
|
||||
"Specialized overload signature is not subtype of any non-specialized signature.": "Specialized overload signature is not subtype of any non-specialized signature.",
|
||||
"'this' cannot be referenced in constructor arguments.": "'this' cannot be referenced in constructor arguments.",
|
||||
"Static member cannot be accessed off an instance variable.": "Static member cannot be accessed off an instance variable.",
|
||||
"Instance member cannot be accessed off a class.": "Instance member cannot be accessed off a class.",
|
||||
"Untyped function calls may not accept type arguments.": "Untyped function calls may not accept type arguments.",
|
||||
"Non-generic functions may not accept type arguments.": "Non-generic functions may not accept type arguments.",
|
||||
"A generic type may not reference itself with a wrapped form of its own type parameters.": "A generic type may not reference itself with a wrapped form of its own type parameters.",
|
||||
"Rest parameters must be array types.": "Rest parameters must be array types.",
|
||||
"Overload signature implementation cannot use specialized type.": "Overload signature implementation cannot use specialized type.",
|
||||
"Export assignments may only be used at the top-level of external modules.": "Export assignments may only be used at the top-level of external modules.",
|
||||
"Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules": "Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules",
|
||||
"Only public instance methods of the base class are accessible via the 'super' keyword.": "Only public instance methods of the base class are accessible via the 'super' keyword.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}'.": "All numerically named properties must be subtypes of numeric indexer type '{0}'.",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}": "All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}",
|
||||
"All named properties must be subtypes of string indexer type '{0}'.": "All named properties must be subtypes of string indexer type '{0}'.",
|
||||
"All named properties must be subtypes of string indexer type '{0}':{NL}{1}": "All named properties must be subtypes of string indexer type '{0}':{NL}{1}",
|
||||
"Generic type references must include all type arguments.": "Generic type references must include all type arguments.",
|
||||
"Default arguments are not allowed in an overload parameter.": "Default arguments are not allowed in an overload parameter.",
|
||||
"Overloads cannot differ only by return type.": "Overloads cannot differ only by return type.",
|
||||
"Function expression declared a non-void return type, but has no return expression.": "Function expression declared a non-void return type, but has no return expression.",
|
||||
"Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.": "Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.",
|
||||
"Could not find symbol '{0}' in module '{1}'.": "Could not find symbol '{0}' in module '{1}'.",
|
||||
"Unable to resolve module reference '{0}'.": "Unable to resolve module reference '{0}'.",
|
||||
"Could not find module '{0}' in module '{1}'.": "Could not find module '{0}' in module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.",
|
||||
"Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.": "Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.",
|
||||
"Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.": "Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.",
|
||||
"Type '{0}' is missing property '{1}' from type '{2}'.": "Type '{0}' is missing property '{1}' from type '{2}'.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible.": "Types of property '{0}' of types '{1}' and '{2}' are incompatible.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}": "Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}",
|
||||
"Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.": "Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.",
|
||||
"Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.": "Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.",
|
||||
"Types '{0}' and '{1}' define property '{2}' as private.": "Types '{0}' and '{1}' define property '{2}' as private.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible.": "Call signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a call signature, but type '{1}' lacks one.": "Type '{0}' requires a call signature, but type '{1}' lacks one.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible.": "Construct signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a construct signature, but type '{1}' lacks one.": "Type '{0}' requires a construct signature, but type '{1}' lacks one.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible.": "Index signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Call signature expects {0} or fewer parameters.": "Call signature expects {0} or fewer parameters.",
|
||||
"Could not apply type '{0}' to argument {1} which is of type '{2}'.": "Could not apply type '{0}' to argument {1} which is of type '{2}'.",
|
||||
"Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}",
|
||||
"Type reference cannot refer to container '{0}'.": "Type reference cannot refer to container '{0}'.",
|
||||
"Type reference must refer to type.": "Type reference must refer to type.",
|
||||
"Enums with multiple declarations must provide an initializer for the first enum element.": "Enums with multiple declarations must provide an initializer for the first enum element.",
|
||||
" (+ {0} overload(s))": " (+ {0} overload(s))",
|
||||
"Current host does not support '{0}' option.": "Current host does not support '{0}' option.",
|
||||
"ECMAScript target version '{0}' not supported. Using default '{1}' code generation.": "ECMAScript target version '{0}' not supported. Using default '{1}' code generation.",
|
||||
"Module code generation '{0}' not supported.": "Module code generation '{0}' not supported.",
|
||||
"Could not find file: '{0}'.": "Could not find file: '{0}'.",
|
||||
"A file cannot have a reference to itself.": "A file cannot have a reference to itself.",
|
||||
"Cannot resolve referenced file: '{0}'.": "Cannot resolve referenced file: '{0}'.",
|
||||
"Cannot find the common subdirectory path for the input files.": "Cannot find the common subdirectory path for the input files.",
|
||||
"Emit Error: {0}.": "Emit Error: {0}.",
|
||||
"Cannot read file '{0}': {1}": "Cannot read file '{0}': {1}",
|
||||
"Unsupported file encoding.": "Unsupported file encoding.",
|
||||
"Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.": "Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.",
|
||||
"Unsupported locale: '{0}'.": "Unsupported locale: '{0}'.",
|
||||
"Execution Failed.{NL}": "Execution Failed.{NL}",
|
||||
"Should not emit a type query": "Should not emit a type query",
|
||||
"Should not emit a type reference": "Should not emit a type reference",
|
||||
"Invalid call to 'up'": "Invalid call to 'up'",
|
||||
"Invalid call to 'down'": "Invalid call to 'down'",
|
||||
"Base64 value '{0}' finished with a continuation bit": "Base64 value '{0}' finished with a continuation bit",
|
||||
"Key was already in table": "Key was already in table",
|
||||
"Unknown option '{0}'": "Unknown option '{0}'",
|
||||
"Expected {0} arguments to message, got {1} instead": "Expected {0} arguments to message, got {1} instead",
|
||||
"Expected the message '{0}' to have {1} arguments, but it had {2}": "Expected the message '{0}' to have {1} arguments, but it had {2}",
|
||||
"Invalid argument: {0}. {1}": "Invalid argument: {0}. {1}",
|
||||
"Invalid argument: {0}.": "Invalid argument: {0}.",
|
||||
"Argument out of range: {0}.": "Argument out of range: {0}.",
|
||||
"Argument null: {0}.": "Argument null: {0}.",
|
||||
"Operation not implemented properly by subclass.": "Operation not implemented properly by subclass.",
|
||||
"Not yet implemented.": "Not yet implemented.",
|
||||
"Invalid operation: {0}": "Invalid operation: {0}",
|
||||
"Invalid operation.": "Invalid operation.",
|
||||
"Could not delete file '{0}'": "Could not delete file '{0}'",
|
||||
"Could not create directory '{0}'": "Could not create directory '{0}'",
|
||||
"Error while executing file '{0}': ": "Error while executing file '{0}': ",
|
||||
"Cannot compile external modules unless the '--module' flag is provided.": "Cannot compile external modules unless the '--module' flag is provided.",
|
||||
"Option mapRoot cannot be specified without specifying sourcemap option.": "Option mapRoot cannot be specified without specifying sourcemap option.",
|
||||
"Option sourceRoot cannot be specified without specifying sourcemap option.": "Option sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.": "Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Concatenate and emit output to single file": "Concatenate and emit output to single file",
|
||||
"Generates corresponding {0} file": "Generates corresponding {0} file",
|
||||
"Specifies the location where debugger should locate map files instead of generated locations.": "Specifies the location where debugger should locate map files instead of generated locations.",
|
||||
"Specifies the location where debugger should locate TypeScript files instead of source locations.": "Specifies the location where debugger should locate TypeScript files instead of source locations.",
|
||||
"Watch input files": "Watch input files",
|
||||
"Redirect output structure to the directory": "Redirect output structure to the directory",
|
||||
"Do not emit comments to output": "Do not emit comments to output",
|
||||
"Skip resolution and preprocessing": "Skip resolution and preprocessing",
|
||||
"Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"": "Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"",
|
||||
"Specify module code generation: \"{0}\" or \"{1}\"": "Specify module code generation: \"{0}\" or \"{1}\"",
|
||||
"Print this message": "Print this message",
|
||||
"Print the compiler's version: {0}": "Print the compiler's version: {0}",
|
||||
"Allow use of deprecated \"{0}\" keyword when referencing an external module": "Allow use of deprecated \"{0}\" keyword when referencing an external module",
|
||||
"Specify locale for errors and messages. For example '{0}' or '{1}'": "Specify locale for errors and messages. For example '{0}' or '{1}'",
|
||||
"Syntax: {0}": "Syntax: {0}",
|
||||
"options": "options",
|
||||
"file": "file",
|
||||
"Examples:": "Examples:",
|
||||
"Options:": "Options:",
|
||||
"Insert command line options and files from a file.": "Insert command line options and files from a file.",
|
||||
"Version {0}": "Version {0}",
|
||||
"Use the '{0}' flag to see options": "Use the '{0}' flag to see options",
|
||||
"{NL}Recompiling ({0}):": "{NL}Recompiling ({0}):",
|
||||
"STRING": "STRING",
|
||||
"KIND": "KIND",
|
||||
"FILE": "FILE",
|
||||
"VERSION": "VERSION",
|
||||
"LOCATION": "LOCATION",
|
||||
"DIRECTORY": "DIRECTORY",
|
||||
"This version of the Javascript runtime does not support the '{0}' function.": "This version of the Javascript runtime does not support the '{0}' function.",
|
||||
"Looking up path for identifier token did not result in an identifer.": "Looking up path for identifier token did not result in an identifer.",
|
||||
"Unknown rule": "Unknown rule",
|
||||
"Invalid line number ({0})": "Invalid line number ({0})",
|
||||
"Warn on expressions and declarations with an implied 'any' type.": "Warn on expressions and declarations with an implied 'any' type.",
|
||||
"Variable '{0}' implicitly has an 'any' type.": "Variable '{0}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of '{1}' implicitly has an 'any' type.": "Parameter '{0}' of '{1}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of function type implicitly has an 'any' type.": "Parameter '{0}' of function type implicitly has an 'any' type.",
|
||||
"Member '{0}' of object type implicitly has an 'any' type.": "Member '{0}' of object type implicitly has an 'any' type.",
|
||||
"\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.": "\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.",
|
||||
"'{0}', which lacks return-type annotation, implicitly has an 'any' return type.": "'{0}', which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Function expression, which lacks return-type annotation, implicitly has an 'any' return type.": "Function expression, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Parameter '{0}' of lambda function implicitly has an 'any' type.": "Parameter '{0}' of lambda function implicitly has an 'any' type.",
|
||||
"Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.": "Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.": "Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Array Literal implicitly has an 'any' type from widening.": "Array Literal implicitly has an 'any' type from widening."
|
||||
}
|
||||
374
bin/resources/es/diagnosticMessages.generated.json
Normal file
374
bin/resources/es/diagnosticMessages.generated.json
Normal file
@ -0,0 +1,374 @@
|
||||
{
|
||||
"error TS{0}: {1}": "error TS{0}: {1}",
|
||||
"warning TS{0}: {1}": "warning TS{0}: {1}",
|
||||
"Unrecognized escape sequence.": "Unrecognized escape sequence.",
|
||||
"Unexpected character {0}.": "Unexpected character {0}.",
|
||||
"Missing close quote character.": "Missing close quote character.",
|
||||
"Identifier expected.": "Identifier expected.",
|
||||
"'{0}' keyword expected.": "'{0}' keyword expected.",
|
||||
"'{0}' expected.": "'{0}' expected.",
|
||||
"Identifier expected; '{0}' is a keyword.": "Identifier expected; '{0}' is a keyword.",
|
||||
"Automatic semicolon insertion not allowed.": "Automatic semicolon insertion not allowed.",
|
||||
"Unexpected token; '{0}' expected.": "Unexpected token; '{0}' expected.",
|
||||
"Trailing separator not allowed.": "Trailing separator not allowed.",
|
||||
"'*/' expected.": "'*/' expected.",
|
||||
"'public' or 'private' modifier must precede 'static'.": "'public' or 'private' modifier must precede 'static'.",
|
||||
"Unexpected token.": "Unexpected token.",
|
||||
"Catch clause parameter cannot have a type annotation.": "Catch clause parameter cannot have a type annotation.",
|
||||
"Rest parameter must be last in list.": "Rest parameter must be last in list.",
|
||||
"Parameter cannot have question mark and initializer.": "Parameter cannot have question mark and initializer.",
|
||||
"Required parameter cannot follow optional parameter.": "Required parameter cannot follow optional parameter.",
|
||||
"Index signatures cannot have rest parameters.": "Index signatures cannot have rest parameters.",
|
||||
"Index signature parameter cannot have accessibility modifiers.": "Index signature parameter cannot have accessibility modifiers.",
|
||||
"Index signature parameter cannot have a question mark.": "Index signature parameter cannot have a question mark.",
|
||||
"Index signature parameter cannot have an initializer.": "Index signature parameter cannot have an initializer.",
|
||||
"Index signature must have a type annotation.": "Index signature must have a type annotation.",
|
||||
"Index signature parameter must have a type annotation.": "Index signature parameter must have a type annotation.",
|
||||
"Index signature parameter type must be 'string' or 'number'.": "Index signature parameter type must be 'string' or 'number'.",
|
||||
"'extends' clause already seen.": "'extends' clause already seen.",
|
||||
"'extends' clause must precede 'implements' clause.": "'extends' clause must precede 'implements' clause.",
|
||||
"Classes can only extend a single class.": "Classes can only extend a single class.",
|
||||
"'implements' clause already seen.": "'implements' clause already seen.",
|
||||
"Accessibility modifier already seen.": "Accessibility modifier already seen.",
|
||||
"'{0}' modifier must precede '{1}' modifier.": "'{0}' modifier must precede '{1}' modifier.",
|
||||
"'{0}' modifier already seen.": "'{0}' modifier already seen.",
|
||||
"'{0}' modifier cannot appear on a class element.": "'{0}' modifier cannot appear on a class element.",
|
||||
"Interface declaration cannot have 'implements' clause.": "Interface declaration cannot have 'implements' clause.",
|
||||
"'super' invocation cannot have type arguments.": "'super' invocation cannot have type arguments.",
|
||||
"Only ambient modules can use quoted names.": "Only ambient modules can use quoted names.",
|
||||
"Statements are not allowed in ambient contexts.": "Statements are not allowed in ambient contexts.",
|
||||
"Implementations are not allowed in ambient contexts.": "Implementations are not allowed in ambient contexts.",
|
||||
"'declare' modifier not allowed for code already in an ambient context.": "'declare' modifier not allowed for code already in an ambient context.",
|
||||
"Initializers are not allowed in ambient contexts.": "Initializers are not allowed in ambient contexts.",
|
||||
"Parameter property declarations can only be used in constructors.": "Parameter property declarations can only be used in constructors.",
|
||||
"Function implementation expected.": "Function implementation expected.",
|
||||
"Constructor implementation expected.": "Constructor implementation expected.",
|
||||
"Function overload name must be '{0}'.": "Function overload name must be '{0}'.",
|
||||
"'{0}' modifier cannot appear on a module element.": "'{0}' modifier cannot appear on a module element.",
|
||||
"'declare' modifier cannot appear on an interface declaration.": "'declare' modifier cannot appear on an interface declaration.",
|
||||
"'declare' modifier required for top level element.": "'declare' modifier required for top level element.",
|
||||
"Rest parameter cannot be optional.": "Rest parameter cannot be optional.",
|
||||
"Rest parameter cannot have an initializer.": "Rest parameter cannot have an initializer.",
|
||||
"'set' accessor must have one and only one parameter.": "'set' accessor must have one and only one parameter.",
|
||||
"'set' accessor parameter cannot have accessibility modifier.": "'set' accessor parameter cannot have accessibility modifier.",
|
||||
"'set' accessor parameter cannot be optional.": "'set' accessor parameter cannot be optional.",
|
||||
"'set' accessor parameter cannot have an initializer.": "'set' accessor parameter cannot have an initializer.",
|
||||
"'set' accessor cannot have rest parameter.": "'set' accessor cannot have rest parameter.",
|
||||
"'get' accessor cannot have parameters.": "'get' accessor cannot have parameters.",
|
||||
"Modifiers cannot appear here.": "Modifiers cannot appear here.",
|
||||
"Accessors are only available when targeting ECMAScript 5 and higher.": "Accessors are only available when targeting ECMAScript 5 and higher.",
|
||||
"Class name cannot be '{0}'.": "Class name cannot be '{0}'.",
|
||||
"Interface name cannot be '{0}'.": "Interface name cannot be '{0}'.",
|
||||
"Enum name cannot be '{0}'.": "Enum name cannot be '{0}'.",
|
||||
"Module name cannot be '{0}'.": "Module name cannot be '{0}'.",
|
||||
"Enum member must have initializer.": "Enum member must have initializer.",
|
||||
"Export assignment cannot be used in internal modules.": "Export assignment cannot be used in internal modules.",
|
||||
"Export assignment not allowed in module with exported element.": "Export assignment not allowed in module with exported element.",
|
||||
"Module cannot have multiple export assignments.": "Module cannot have multiple export assignments.",
|
||||
"Ambient enum elements can only have integer literal initializers.": "Ambient enum elements can only have integer literal initializers.",
|
||||
"module, class, interface, enum, import or statement": "module, class, interface, enum, import or statement",
|
||||
"constructor, function, accessor or variable": "constructor, function, accessor or variable",
|
||||
"statement": "statement",
|
||||
"case or default clause": "case or default clause",
|
||||
"identifier": "identifier",
|
||||
"call, construct, index, property or function signature": "call, construct, index, property or function signature",
|
||||
"expression": "expression",
|
||||
"type name": "type name",
|
||||
"property or accessor": "property or accessor",
|
||||
"parameter": "parameter",
|
||||
"type": "type",
|
||||
"type parameter": "type parameter",
|
||||
"'declare' modifier not allowed on import declaration.": "'declare' modifier not allowed on import declaration.",
|
||||
"Function overload must be static": "Function overload must be static",
|
||||
"Function overload must not be static": "Function overload must not be static",
|
||||
"Duplicate identifier '{0}'.": "Duplicate identifier '{0}'.",
|
||||
"The name '{0}' does not exist in the current scope.": "The name '{0}' does not exist in the current scope.",
|
||||
"The name '{0}' does not refer to a value.": "The name '{0}' does not refer to a value.",
|
||||
"'super' can only be used inside a class instance method.": "'super' can only be used inside a class instance method.",
|
||||
"The left-hand side of an assignment expression must be a variable, property or indexer.": "The left-hand side of an assignment expression must be a variable, property or indexer.",
|
||||
"Value of type '{0}' is not callable. Did you mean to include 'new'?": "Value of type '{0}' is not callable. Did you mean to include 'new'?",
|
||||
"Value of type '{0}' is not callable.": "Value of type '{0}' is not callable.",
|
||||
"Value of type '{0}' is not newable.": "Value of type '{0}' is not newable.",
|
||||
"Value of type '{0}' is not indexable by type '{1}'.": "Value of type '{0}' is not indexable by type '{1}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}'.": "Operator '{0}' cannot be applied to types '{1}' and '{2}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}": "Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}",
|
||||
"Cannot convert '{0}' to '{1}'.": "Cannot convert '{0}' to '{1}'.",
|
||||
"Cannot convert '{0}' to '{1}':{NL}{2}": "Cannot convert '{0}' to '{1}':{NL}{2}",
|
||||
"Expected var, class, interface, or module.": "Expected var, class, interface, or module.",
|
||||
"Operator '{0}' cannot be applied to type '{1}'.": "Operator '{0}' cannot be applied to type '{1}'.",
|
||||
"Getter '{0}' already declared.": "Getter '{0}' already declared.",
|
||||
"Setter '{0}' already declared.": "Setter '{0}' already declared.",
|
||||
"Accessors cannot have type parameters.": "Accessors cannot have type parameters.",
|
||||
"Exported class '{0}' extends private class '{1}'.": "Exported class '{0}' extends private class '{1}'.",
|
||||
"Exported class '{0}' implements private interface '{1}'.": "Exported class '{0}' implements private interface '{1}'.",
|
||||
"Exported interface '{0}' extends private interface '{1}'.": "Exported interface '{0}' extends private interface '{1}'.",
|
||||
"Exported class '{0}' extends class from inaccessible module {1}.": "Exported class '{0}' extends class from inaccessible module {1}.",
|
||||
"Exported class '{0}' implements interface from inaccessible module {1}.": "Exported class '{0}' implements interface from inaccessible module {1}.",
|
||||
"Exported interface '{0}' extends interface from inaccessible module {1}.": "Exported interface '{0}' extends interface from inaccessible module {1}.",
|
||||
"Public static property '{0}' of exported class has or is using private type '{1}'.": "Public static property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Public property '{0}' of exported class has or is using private type '{1}'.": "Public property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Property '{0}' of exported interface has or is using private type '{1}'.": "Property '{0}' of exported interface has or is using private type '{1}'.",
|
||||
"Exported variable '{0}' has or is using private type '{1}'.": "Exported variable '{0}' has or is using private type '{1}'.",
|
||||
"Public static property '{0}' of exported class is using inaccessible module {1}.": "Public static property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Public property '{0}' of exported class is using inaccessible module {1}.": "Public property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Property '{0}' of exported interface is using inaccessible module {1}.": "Property '{0}' of exported interface is using inaccessible module {1}.",
|
||||
"Exported variable '{0}' is using inaccessible module {1}.": "Exported variable '{0}' is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor from exported class has or is using private type '{1}'.": "Parameter '{0}' of constructor from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of method from exported interface has or is using private type '{1}'.": "Parameter '{0}' of method from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of exported function has or is using private type '{1}'.": "Parameter '{0}' of exported function has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor from exported class is using inaccessible module {1}.": "Parameter '{0}' of constructor from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.": "Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of call signature from exported interface is using inaccessible module {1}": "Parameter '{0}' of call signature from exported interface is using inaccessible module {1}",
|
||||
"Parameter '{0}' of public static method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of method from exported interface is using inaccessible module {1}.": "Parameter '{0}' of method from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of exported function is using inaccessible module {1}.": "Parameter '{0}' of exported function is using inaccessible module {1}.",
|
||||
"Return type of public static property getter from exported class has or is using private type '{0}'.": "Return type of public static property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of public property getter from exported class has or is using private type '{0}'.": "Return type of public property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of constructor signature from exported interface has or is using private type '{0}'.": "Return type of constructor signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of call signature from exported interface has or is using private type '{0}'.": "Return type of call signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of index signature from exported interface has or is using private type '{0}'.": "Return type of index signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of public static method from exported class has or is using private type '{0}'.": "Return type of public static method from exported class has or is using private type '{0}'.",
|
||||
"Return type of public method from exported class has or is using private type '{0}'.": "Return type of public method from exported class has or is using private type '{0}'.",
|
||||
"Return type of method from exported interface has or is using private type '{0}'.": "Return type of method from exported interface has or is using private type '{0}'.",
|
||||
"Return type of exported function has or is using private type '{0}'.": "Return type of exported function has or is using private type '{0}'.",
|
||||
"Return type of public static property getter from exported class is using inaccessible module {0}.": "Return type of public static property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of public property getter from exported class is using inaccessible module {0}.": "Return type of public property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of constructor signature from exported interface is using inaccessible module {0}.": "Return type of constructor signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of call signature from exported interface is using inaccessible module {0}.": "Return type of call signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of index signature from exported interface is using inaccessible module {0}.": "Return type of index signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of public static method from exported class is using inaccessible module {0}.": "Return type of public static method from exported class is using inaccessible module {0}.",
|
||||
"Return type of public method from exported class is using inaccessible module {0}.": "Return type of public method from exported class is using inaccessible module {0}.",
|
||||
"Return type of method from exported interface is using inaccessible module {0}.": "Return type of method from exported interface is using inaccessible module {0}.",
|
||||
"Return type of exported function is using inaccessible module {0}.": "Return type of exported function is using inaccessible module {0}.",
|
||||
"'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.": "'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.",
|
||||
"A parameter list must follow a generic type argument list. '(' expected.": "A parameter list must follow a generic type argument list. '(' expected.",
|
||||
"Multiple constructor implementations are not allowed.": "Multiple constructor implementations are not allowed.",
|
||||
"Unable to resolve external module '{0}'.": "Unable to resolve external module '{0}'.",
|
||||
"Module cannot be aliased to a non-module type.": "Module cannot be aliased to a non-module type.",
|
||||
"A class may only extend another class.": "A class may only extend another class.",
|
||||
"A class may only implement another class or interface.": "A class may only implement another class or interface.",
|
||||
"An interface may only extend another class or interface.": "An interface may only extend another class or interface.",
|
||||
"An interface cannot implement another type.": "An interface cannot implement another type.",
|
||||
"Unable to resolve type.": "Unable to resolve type.",
|
||||
"Unable to resolve type of '{0}'.": "Unable to resolve type of '{0}'.",
|
||||
"Unable to resolve type parameter constraint.": "Unable to resolve type parameter constraint.",
|
||||
"Type parameter constraint cannot be a primitive type.": "Type parameter constraint cannot be a primitive type.",
|
||||
"Supplied parameters do not match any signature of call target.": "Supplied parameters do not match any signature of call target.",
|
||||
"Supplied parameters do not match any signature of call target:{NL}{0}": "Supplied parameters do not match any signature of call target:{NL}{0}",
|
||||
"Invalid 'new' expression.": "Invalid 'new' expression.",
|
||||
"Call signatures used in a 'new' expression must have a 'void' return type.": "Call signatures used in a 'new' expression must have a 'void' return type.",
|
||||
"Could not select overload for 'new' expression.": "Could not select overload for 'new' expression.",
|
||||
"Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.": "Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.",
|
||||
"Could not select overload for 'call' expression.": "Could not select overload for 'call' expression.",
|
||||
"Cannot invoke an expression whose type lacks a call signature.": "Cannot invoke an expression whose type lacks a call signature.",
|
||||
"Calls to 'super' are only valid inside a class.": "Calls to 'super' are only valid inside a class.",
|
||||
"Generic type '{0}' requires {1} type argument(s).": "Generic type '{0}' requires {1} type argument(s).",
|
||||
"Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.": "Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.",
|
||||
"Type of array literal cannot be determined. Best common type could not be found for array elements.": "Type of array literal cannot be determined. Best common type could not be found for array elements.",
|
||||
"Could not find enclosing symbol for dotted name '{0}'.": "Could not find enclosing symbol for dotted name '{0}'.",
|
||||
"The property '{0}' does not exist on value of type '{1}'.": "The property '{0}' does not exist on value of type '{1}'.",
|
||||
"Could not find symbol '{0}'.": "Could not find symbol '{0}'.",
|
||||
"'get' and 'set' accessor must have the same type.": "'get' and 'set' accessor must have the same type.",
|
||||
"'this' cannot be referenced in current location.": "'this' cannot be referenced in current location.",
|
||||
"Static methods cannot reference class type parameters.": "Static methods cannot reference class type parameters.",
|
||||
"Class '{0}' is recursively referenced as a base type of itself.": "Class '{0}' is recursively referenced as a base type of itself.",
|
||||
"Interface '{0}' is recursively referenced as a base type of itself.": "Interface '{0}' is recursively referenced as a base type of itself.",
|
||||
"'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.": "'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.",
|
||||
"'super' cannot be referenced in non-derived classes.": "'super' cannot be referenced in non-derived classes.",
|
||||
"A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.": "A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.",
|
||||
"Constructors for derived classes must contain a 'super' call.": "Constructors for derived classes must contain a 'super' call.",
|
||||
"Super calls are not permitted outside constructors or in local functions inside constructors.": "Super calls are not permitted outside constructors or in local functions inside constructors.",
|
||||
"'{0}.{1}' is inaccessible.": "'{0}.{1}' is inaccessible.",
|
||||
"'this' cannot be referenced within module bodies.": "'this' cannot be referenced within module bodies.",
|
||||
"Invalid '+' expression - types not known to support the addition operator.": "Invalid '+' expression - types not known to support the addition operator.",
|
||||
"The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.": "The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.",
|
||||
"Variable declarations of a 'for' statement cannot use a type annotation.": "Variable declarations of a 'for' statement cannot use a type annotation.",
|
||||
"Variable declarations of a 'for' statement must be of types 'string' or 'any'.": "Variable declarations of a 'for' statement must be of types 'string' or 'any'.",
|
||||
"The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.": "The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'in' expression must be of types 'string' or 'any'.": "The left-hand side of an 'in' expression must be of types 'string' or 'any'.",
|
||||
"The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.": "The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.": "The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.": "The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.",
|
||||
"Setters cannot return a value.": "Setters cannot return a value.",
|
||||
"Tried to query type of uninitialized module '{0}'.": "Tried to query type of uninitialized module '{0}'.",
|
||||
"Tried to set variable type to uninitialized module type '{0}'.": "Tried to set variable type to uninitialized module type '{0}'.",
|
||||
"Function '{0}' declared a non-void return type, but has no return expression.": "Function '{0}' declared a non-void return type, but has no return expression.",
|
||||
"Getters must return a value.": "Getters must return a value.",
|
||||
"Getter and setter accessors do not agree in visibility.": "Getter and setter accessors do not agree in visibility.",
|
||||
"Invalid left-hand side of assignment expression.": "Invalid left-hand side of assignment expression.",
|
||||
"Function declared a non-void return type, but has no return expression.": "Function declared a non-void return type, but has no return expression.",
|
||||
"Cannot resolve return type reference.": "Cannot resolve return type reference.",
|
||||
"Constructors cannot have a return type of 'void'.": "Constructors cannot have a return type of 'void'.",
|
||||
"Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.": "Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.",
|
||||
"All symbols within a with block will be resolved to 'any'.": "All symbols within a with block will be resolved to 'any'.",
|
||||
"Import declarations in an internal module cannot reference an external module.": "Import declarations in an internal module cannot reference an external module.",
|
||||
"Class {0} declares interface {1} but does not implement it:{NL}{2}": "Class {0} declares interface {1} but does not implement it:{NL}{2}",
|
||||
"Class {0} declares class {1} as an interface but does not implement it:{NL}{2}": "Class {0} declares class {1} as an interface but does not implement it:{NL}{2}",
|
||||
"The operand of an increment or decrement operator must be a variable, property or indexer.": "The operand of an increment or decrement operator must be a variable, property or indexer.",
|
||||
"'this' cannot be referenced in static initializers in a class body.": "'this' cannot be referenced in static initializers in a class body.",
|
||||
"Class '{0}' cannot extend class '{1}':{NL}{2}": "Class '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend class '{1}':{NL}{2}": "Interface '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend interface '{1}':{NL}{2}": "Interface '{0}' cannot extend interface '{1}':{NL}{2}",
|
||||
"Duplicate overload signature for '{0}'.": "Duplicate overload signature for '{0}'.",
|
||||
"Duplicate constructor overload signature.": "Duplicate constructor overload signature.",
|
||||
"Duplicate overload call signature.": "Duplicate overload call signature.",
|
||||
"Duplicate overload construct signature.": "Duplicate overload construct signature.",
|
||||
"Overload signature is not compatible with function definition.": "Overload signature is not compatible with function definition.",
|
||||
"Overload signature is not compatible with function definition:{NL}{0}": "Overload signature is not compatible with function definition:{NL}{0}",
|
||||
"Overload signatures must all be public or private.": "Overload signatures must all be public or private.",
|
||||
"Overload signatures must all be exported or local.": "Overload signatures must all be exported or local.",
|
||||
"Overload signatures must all be ambient or non-ambient.": "Overload signatures must all be ambient or non-ambient.",
|
||||
"Overload signatures must all be optional or required.": "Overload signatures must all be optional or required.",
|
||||
"Specialized overload signature is not subtype of any non-specialized signature.": "Specialized overload signature is not subtype of any non-specialized signature.",
|
||||
"'this' cannot be referenced in constructor arguments.": "'this' cannot be referenced in constructor arguments.",
|
||||
"Static member cannot be accessed off an instance variable.": "Static member cannot be accessed off an instance variable.",
|
||||
"Instance member cannot be accessed off a class.": "Instance member cannot be accessed off a class.",
|
||||
"Untyped function calls may not accept type arguments.": "Untyped function calls may not accept type arguments.",
|
||||
"Non-generic functions may not accept type arguments.": "Non-generic functions may not accept type arguments.",
|
||||
"A generic type may not reference itself with a wrapped form of its own type parameters.": "A generic type may not reference itself with a wrapped form of its own type parameters.",
|
||||
"Rest parameters must be array types.": "Rest parameters must be array types.",
|
||||
"Overload signature implementation cannot use specialized type.": "Overload signature implementation cannot use specialized type.",
|
||||
"Export assignments may only be used at the top-level of external modules.": "Export assignments may only be used at the top-level of external modules.",
|
||||
"Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules": "Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules",
|
||||
"Only public instance methods of the base class are accessible via the 'super' keyword.": "Only public instance methods of the base class are accessible via the 'super' keyword.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}'.": "All numerically named properties must be subtypes of numeric indexer type '{0}'.",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}": "All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}",
|
||||
"All named properties must be subtypes of string indexer type '{0}'.": "All named properties must be subtypes of string indexer type '{0}'.",
|
||||
"All named properties must be subtypes of string indexer type '{0}':{NL}{1}": "All named properties must be subtypes of string indexer type '{0}':{NL}{1}",
|
||||
"Generic type references must include all type arguments.": "Generic type references must include all type arguments.",
|
||||
"Default arguments are not allowed in an overload parameter.": "Default arguments are not allowed in an overload parameter.",
|
||||
"Overloads cannot differ only by return type.": "Overloads cannot differ only by return type.",
|
||||
"Function expression declared a non-void return type, but has no return expression.": "Function expression declared a non-void return type, but has no return expression.",
|
||||
"Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.": "Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.",
|
||||
"Could not find symbol '{0}' in module '{1}'.": "Could not find symbol '{0}' in module '{1}'.",
|
||||
"Unable to resolve module reference '{0}'.": "Unable to resolve module reference '{0}'.",
|
||||
"Could not find module '{0}' in module '{1}'.": "Could not find module '{0}' in module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.",
|
||||
"Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.": "Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.",
|
||||
"Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.": "Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.",
|
||||
"Type '{0}' is missing property '{1}' from type '{2}'.": "Type '{0}' is missing property '{1}' from type '{2}'.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible.": "Types of property '{0}' of types '{1}' and '{2}' are incompatible.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}": "Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}",
|
||||
"Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.": "Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.",
|
||||
"Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.": "Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.",
|
||||
"Types '{0}' and '{1}' define property '{2}' as private.": "Types '{0}' and '{1}' define property '{2}' as private.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible.": "Call signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a call signature, but type '{1}' lacks one.": "Type '{0}' requires a call signature, but type '{1}' lacks one.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible.": "Construct signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a construct signature, but type '{1}' lacks one.": "Type '{0}' requires a construct signature, but type '{1}' lacks one.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible.": "Index signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Call signature expects {0} or fewer parameters.": "Call signature expects {0} or fewer parameters.",
|
||||
"Could not apply type '{0}' to argument {1} which is of type '{2}'.": "Could not apply type '{0}' to argument {1} which is of type '{2}'.",
|
||||
"Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}",
|
||||
"Type reference cannot refer to container '{0}'.": "Type reference cannot refer to container '{0}'.",
|
||||
"Type reference must refer to type.": "Type reference must refer to type.",
|
||||
"Enums with multiple declarations must provide an initializer for the first enum element.": "Enums with multiple declarations must provide an initializer for the first enum element.",
|
||||
" (+ {0} overload(s))": " (+ {0} overload(s))",
|
||||
"Current host does not support '{0}' option.": "Current host does not support '{0}' option.",
|
||||
"ECMAScript target version '{0}' not supported. Using default '{1}' code generation.": "ECMAScript target version '{0}' not supported. Using default '{1}' code generation.",
|
||||
"Module code generation '{0}' not supported.": "Module code generation '{0}' not supported.",
|
||||
"Could not find file: '{0}'.": "Could not find file: '{0}'.",
|
||||
"A file cannot have a reference to itself.": "A file cannot have a reference to itself.",
|
||||
"Cannot resolve referenced file: '{0}'.": "Cannot resolve referenced file: '{0}'.",
|
||||
"Cannot find the common subdirectory path for the input files.": "Cannot find the common subdirectory path for the input files.",
|
||||
"Emit Error: {0}.": "Emit Error: {0}.",
|
||||
"Cannot read file '{0}': {1}": "Cannot read file '{0}': {1}",
|
||||
"Unsupported file encoding.": "Unsupported file encoding.",
|
||||
"Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.": "Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.",
|
||||
"Unsupported locale: '{0}'.": "Unsupported locale: '{0}'.",
|
||||
"Execution Failed.{NL}": "Execution Failed.{NL}",
|
||||
"Should not emit a type query": "Should not emit a type query",
|
||||
"Should not emit a type reference": "Should not emit a type reference",
|
||||
"Invalid call to 'up'": "Invalid call to 'up'",
|
||||
"Invalid call to 'down'": "Invalid call to 'down'",
|
||||
"Base64 value '{0}' finished with a continuation bit": "Base64 value '{0}' finished with a continuation bit",
|
||||
"Key was already in table": "Key was already in table",
|
||||
"Unknown option '{0}'": "Unknown option '{0}'",
|
||||
"Expected {0} arguments to message, got {1} instead": "Expected {0} arguments to message, got {1} instead",
|
||||
"Expected the message '{0}' to have {1} arguments, but it had {2}": "Expected the message '{0}' to have {1} arguments, but it had {2}",
|
||||
"Invalid argument: {0}. {1}": "Invalid argument: {0}. {1}",
|
||||
"Invalid argument: {0}.": "Invalid argument: {0}.",
|
||||
"Argument out of range: {0}.": "Argument out of range: {0}.",
|
||||
"Argument null: {0}.": "Argument null: {0}.",
|
||||
"Operation not implemented properly by subclass.": "Operation not implemented properly by subclass.",
|
||||
"Not yet implemented.": "Not yet implemented.",
|
||||
"Invalid operation: {0}": "Invalid operation: {0}",
|
||||
"Invalid operation.": "Invalid operation.",
|
||||
"Could not delete file '{0}'": "Could not delete file '{0}'",
|
||||
"Could not create directory '{0}'": "Could not create directory '{0}'",
|
||||
"Error while executing file '{0}': ": "Error while executing file '{0}': ",
|
||||
"Cannot compile external modules unless the '--module' flag is provided.": "Cannot compile external modules unless the '--module' flag is provided.",
|
||||
"Option mapRoot cannot be specified without specifying sourcemap option.": "Option mapRoot cannot be specified without specifying sourcemap option.",
|
||||
"Option sourceRoot cannot be specified without specifying sourcemap option.": "Option sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.": "Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Concatenate and emit output to single file": "Concatenate and emit output to single file",
|
||||
"Generates corresponding {0} file": "Generates corresponding {0} file",
|
||||
"Specifies the location where debugger should locate map files instead of generated locations.": "Specifies the location where debugger should locate map files instead of generated locations.",
|
||||
"Specifies the location where debugger should locate TypeScript files instead of source locations.": "Specifies the location where debugger should locate TypeScript files instead of source locations.",
|
||||
"Watch input files": "Watch input files",
|
||||
"Redirect output structure to the directory": "Redirect output structure to the directory",
|
||||
"Do not emit comments to output": "Do not emit comments to output",
|
||||
"Skip resolution and preprocessing": "Skip resolution and preprocessing",
|
||||
"Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"": "Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"",
|
||||
"Specify module code generation: \"{0}\" or \"{1}\"": "Specify module code generation: \"{0}\" or \"{1}\"",
|
||||
"Print this message": "Print this message",
|
||||
"Print the compiler's version: {0}": "Print the compiler's version: {0}",
|
||||
"Allow use of deprecated \"{0}\" keyword when referencing an external module": "Allow use of deprecated \"{0}\" keyword when referencing an external module",
|
||||
"Specify locale for errors and messages. For example '{0}' or '{1}'": "Specify locale for errors and messages. For example '{0}' or '{1}'",
|
||||
"Syntax: {0}": "Syntax: {0}",
|
||||
"options": "options",
|
||||
"file": "file",
|
||||
"Examples:": "Examples:",
|
||||
"Options:": "Options:",
|
||||
"Insert command line options and files from a file.": "Insert command line options and files from a file.",
|
||||
"Version {0}": "Version {0}",
|
||||
"Use the '{0}' flag to see options": "Use the '{0}' flag to see options",
|
||||
"{NL}Recompiling ({0}):": "{NL}Recompiling ({0}):",
|
||||
"STRING": "STRING",
|
||||
"KIND": "KIND",
|
||||
"FILE": "FILE",
|
||||
"VERSION": "VERSION",
|
||||
"LOCATION": "LOCATION",
|
||||
"DIRECTORY": "DIRECTORY",
|
||||
"This version of the Javascript runtime does not support the '{0}' function.": "This version of the Javascript runtime does not support the '{0}' function.",
|
||||
"Looking up path for identifier token did not result in an identifer.": "Looking up path for identifier token did not result in an identifer.",
|
||||
"Unknown rule": "Unknown rule",
|
||||
"Invalid line number ({0})": "Invalid line number ({0})",
|
||||
"Warn on expressions and declarations with an implied 'any' type.": "Warn on expressions and declarations with an implied 'any' type.",
|
||||
"Variable '{0}' implicitly has an 'any' type.": "Variable '{0}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of '{1}' implicitly has an 'any' type.": "Parameter '{0}' of '{1}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of function type implicitly has an 'any' type.": "Parameter '{0}' of function type implicitly has an 'any' type.",
|
||||
"Member '{0}' of object type implicitly has an 'any' type.": "Member '{0}' of object type implicitly has an 'any' type.",
|
||||
"\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.": "\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.",
|
||||
"'{0}', which lacks return-type annotation, implicitly has an 'any' return type.": "'{0}', which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Function expression, which lacks return-type annotation, implicitly has an 'any' return type.": "Function expression, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Parameter '{0}' of lambda function implicitly has an 'any' type.": "Parameter '{0}' of lambda function implicitly has an 'any' type.",
|
||||
"Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.": "Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.": "Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Array Literal implicitly has an 'any' type from widening.": "Array Literal implicitly has an 'any' type from widening."
|
||||
}
|
||||
374
bin/resources/fr/diagnosticMessages.generated.json
Normal file
374
bin/resources/fr/diagnosticMessages.generated.json
Normal file
@ -0,0 +1,374 @@
|
||||
{
|
||||
"error TS{0}: {1}": "error TS{0}: {1}",
|
||||
"warning TS{0}: {1}": "warning TS{0}: {1}",
|
||||
"Unrecognized escape sequence.": "Unrecognized escape sequence.",
|
||||
"Unexpected character {0}.": "Unexpected character {0}.",
|
||||
"Missing close quote character.": "Missing close quote character.",
|
||||
"Identifier expected.": "Identifier expected.",
|
||||
"'{0}' keyword expected.": "'{0}' keyword expected.",
|
||||
"'{0}' expected.": "'{0}' expected.",
|
||||
"Identifier expected; '{0}' is a keyword.": "Identifier expected; '{0}' is a keyword.",
|
||||
"Automatic semicolon insertion not allowed.": "Automatic semicolon insertion not allowed.",
|
||||
"Unexpected token; '{0}' expected.": "Unexpected token; '{0}' expected.",
|
||||
"Trailing separator not allowed.": "Trailing separator not allowed.",
|
||||
"'*/' expected.": "'*/' expected.",
|
||||
"'public' or 'private' modifier must precede 'static'.": "'public' or 'private' modifier must precede 'static'.",
|
||||
"Unexpected token.": "Unexpected token.",
|
||||
"Catch clause parameter cannot have a type annotation.": "Catch clause parameter cannot have a type annotation.",
|
||||
"Rest parameter must be last in list.": "Rest parameter must be last in list.",
|
||||
"Parameter cannot have question mark and initializer.": "Parameter cannot have question mark and initializer.",
|
||||
"Required parameter cannot follow optional parameter.": "Required parameter cannot follow optional parameter.",
|
||||
"Index signatures cannot have rest parameters.": "Index signatures cannot have rest parameters.",
|
||||
"Index signature parameter cannot have accessibility modifiers.": "Index signature parameter cannot have accessibility modifiers.",
|
||||
"Index signature parameter cannot have a question mark.": "Index signature parameter cannot have a question mark.",
|
||||
"Index signature parameter cannot have an initializer.": "Index signature parameter cannot have an initializer.",
|
||||
"Index signature must have a type annotation.": "Index signature must have a type annotation.",
|
||||
"Index signature parameter must have a type annotation.": "Index signature parameter must have a type annotation.",
|
||||
"Index signature parameter type must be 'string' or 'number'.": "Index signature parameter type must be 'string' or 'number'.",
|
||||
"'extends' clause already seen.": "'extends' clause already seen.",
|
||||
"'extends' clause must precede 'implements' clause.": "'extends' clause must precede 'implements' clause.",
|
||||
"Classes can only extend a single class.": "Classes can only extend a single class.",
|
||||
"'implements' clause already seen.": "'implements' clause already seen.",
|
||||
"Accessibility modifier already seen.": "Accessibility modifier already seen.",
|
||||
"'{0}' modifier must precede '{1}' modifier.": "'{0}' modifier must precede '{1}' modifier.",
|
||||
"'{0}' modifier already seen.": "'{0}' modifier already seen.",
|
||||
"'{0}' modifier cannot appear on a class element.": "'{0}' modifier cannot appear on a class element.",
|
||||
"Interface declaration cannot have 'implements' clause.": "Interface declaration cannot have 'implements' clause.",
|
||||
"'super' invocation cannot have type arguments.": "'super' invocation cannot have type arguments.",
|
||||
"Only ambient modules can use quoted names.": "Only ambient modules can use quoted names.",
|
||||
"Statements are not allowed in ambient contexts.": "Statements are not allowed in ambient contexts.",
|
||||
"Implementations are not allowed in ambient contexts.": "Implementations are not allowed in ambient contexts.",
|
||||
"'declare' modifier not allowed for code already in an ambient context.": "'declare' modifier not allowed for code already in an ambient context.",
|
||||
"Initializers are not allowed in ambient contexts.": "Initializers are not allowed in ambient contexts.",
|
||||
"Parameter property declarations can only be used in constructors.": "Parameter property declarations can only be used in constructors.",
|
||||
"Function implementation expected.": "Function implementation expected.",
|
||||
"Constructor implementation expected.": "Constructor implementation expected.",
|
||||
"Function overload name must be '{0}'.": "Function overload name must be '{0}'.",
|
||||
"'{0}' modifier cannot appear on a module element.": "'{0}' modifier cannot appear on a module element.",
|
||||
"'declare' modifier cannot appear on an interface declaration.": "'declare' modifier cannot appear on an interface declaration.",
|
||||
"'declare' modifier required for top level element.": "'declare' modifier required for top level element.",
|
||||
"Rest parameter cannot be optional.": "Rest parameter cannot be optional.",
|
||||
"Rest parameter cannot have an initializer.": "Rest parameter cannot have an initializer.",
|
||||
"'set' accessor must have one and only one parameter.": "'set' accessor must have one and only one parameter.",
|
||||
"'set' accessor parameter cannot have accessibility modifier.": "'set' accessor parameter cannot have accessibility modifier.",
|
||||
"'set' accessor parameter cannot be optional.": "'set' accessor parameter cannot be optional.",
|
||||
"'set' accessor parameter cannot have an initializer.": "'set' accessor parameter cannot have an initializer.",
|
||||
"'set' accessor cannot have rest parameter.": "'set' accessor cannot have rest parameter.",
|
||||
"'get' accessor cannot have parameters.": "'get' accessor cannot have parameters.",
|
||||
"Modifiers cannot appear here.": "Modifiers cannot appear here.",
|
||||
"Accessors are only available when targeting ECMAScript 5 and higher.": "Accessors are only available when targeting ECMAScript 5 and higher.",
|
||||
"Class name cannot be '{0}'.": "Class name cannot be '{0}'.",
|
||||
"Interface name cannot be '{0}'.": "Interface name cannot be '{0}'.",
|
||||
"Enum name cannot be '{0}'.": "Enum name cannot be '{0}'.",
|
||||
"Module name cannot be '{0}'.": "Module name cannot be '{0}'.",
|
||||
"Enum member must have initializer.": "Enum member must have initializer.",
|
||||
"Export assignment cannot be used in internal modules.": "Export assignment cannot be used in internal modules.",
|
||||
"Export assignment not allowed in module with exported element.": "Export assignment not allowed in module with exported element.",
|
||||
"Module cannot have multiple export assignments.": "Module cannot have multiple export assignments.",
|
||||
"Ambient enum elements can only have integer literal initializers.": "Ambient enum elements can only have integer literal initializers.",
|
||||
"module, class, interface, enum, import or statement": "module, class, interface, enum, import or statement",
|
||||
"constructor, function, accessor or variable": "constructor, function, accessor or variable",
|
||||
"statement": "statement",
|
||||
"case or default clause": "case or default clause",
|
||||
"identifier": "identifier",
|
||||
"call, construct, index, property or function signature": "call, construct, index, property or function signature",
|
||||
"expression": "expression",
|
||||
"type name": "type name",
|
||||
"property or accessor": "property or accessor",
|
||||
"parameter": "parameter",
|
||||
"type": "type",
|
||||
"type parameter": "type parameter",
|
||||
"'declare' modifier not allowed on import declaration.": "'declare' modifier not allowed on import declaration.",
|
||||
"Function overload must be static": "Function overload must be static",
|
||||
"Function overload must not be static": "Function overload must not be static",
|
||||
"Duplicate identifier '{0}'.": "Duplicate identifier '{0}'.",
|
||||
"The name '{0}' does not exist in the current scope.": "The name '{0}' does not exist in the current scope.",
|
||||
"The name '{0}' does not refer to a value.": "The name '{0}' does not refer to a value.",
|
||||
"'super' can only be used inside a class instance method.": "'super' can only be used inside a class instance method.",
|
||||
"The left-hand side of an assignment expression must be a variable, property or indexer.": "The left-hand side of an assignment expression must be a variable, property or indexer.",
|
||||
"Value of type '{0}' is not callable. Did you mean to include 'new'?": "Value of type '{0}' is not callable. Did you mean to include 'new'?",
|
||||
"Value of type '{0}' is not callable.": "Value of type '{0}' is not callable.",
|
||||
"Value of type '{0}' is not newable.": "Value of type '{0}' is not newable.",
|
||||
"Value of type '{0}' is not indexable by type '{1}'.": "Value of type '{0}' is not indexable by type '{1}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}'.": "Operator '{0}' cannot be applied to types '{1}' and '{2}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}": "Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}",
|
||||
"Cannot convert '{0}' to '{1}'.": "Cannot convert '{0}' to '{1}'.",
|
||||
"Cannot convert '{0}' to '{1}':{NL}{2}": "Cannot convert '{0}' to '{1}':{NL}{2}",
|
||||
"Expected var, class, interface, or module.": "Expected var, class, interface, or module.",
|
||||
"Operator '{0}' cannot be applied to type '{1}'.": "Operator '{0}' cannot be applied to type '{1}'.",
|
||||
"Getter '{0}' already declared.": "Getter '{0}' already declared.",
|
||||
"Setter '{0}' already declared.": "Setter '{0}' already declared.",
|
||||
"Accessors cannot have type parameters.": "Accessors cannot have type parameters.",
|
||||
"Exported class '{0}' extends private class '{1}'.": "Exported class '{0}' extends private class '{1}'.",
|
||||
"Exported class '{0}' implements private interface '{1}'.": "Exported class '{0}' implements private interface '{1}'.",
|
||||
"Exported interface '{0}' extends private interface '{1}'.": "Exported interface '{0}' extends private interface '{1}'.",
|
||||
"Exported class '{0}' extends class from inaccessible module {1}.": "Exported class '{0}' extends class from inaccessible module {1}.",
|
||||
"Exported class '{0}' implements interface from inaccessible module {1}.": "Exported class '{0}' implements interface from inaccessible module {1}.",
|
||||
"Exported interface '{0}' extends interface from inaccessible module {1}.": "Exported interface '{0}' extends interface from inaccessible module {1}.",
|
||||
"Public static property '{0}' of exported class has or is using private type '{1}'.": "Public static property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Public property '{0}' of exported class has or is using private type '{1}'.": "Public property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Property '{0}' of exported interface has or is using private type '{1}'.": "Property '{0}' of exported interface has or is using private type '{1}'.",
|
||||
"Exported variable '{0}' has or is using private type '{1}'.": "Exported variable '{0}' has or is using private type '{1}'.",
|
||||
"Public static property '{0}' of exported class is using inaccessible module {1}.": "Public static property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Public property '{0}' of exported class is using inaccessible module {1}.": "Public property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Property '{0}' of exported interface is using inaccessible module {1}.": "Property '{0}' of exported interface is using inaccessible module {1}.",
|
||||
"Exported variable '{0}' is using inaccessible module {1}.": "Exported variable '{0}' is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor from exported class has or is using private type '{1}'.": "Parameter '{0}' of constructor from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of method from exported interface has or is using private type '{1}'.": "Parameter '{0}' of method from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of exported function has or is using private type '{1}'.": "Parameter '{0}' of exported function has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor from exported class is using inaccessible module {1}.": "Parameter '{0}' of constructor from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.": "Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of call signature from exported interface is using inaccessible module {1}": "Parameter '{0}' of call signature from exported interface is using inaccessible module {1}",
|
||||
"Parameter '{0}' of public static method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of method from exported interface is using inaccessible module {1}.": "Parameter '{0}' of method from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of exported function is using inaccessible module {1}.": "Parameter '{0}' of exported function is using inaccessible module {1}.",
|
||||
"Return type of public static property getter from exported class has or is using private type '{0}'.": "Return type of public static property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of public property getter from exported class has or is using private type '{0}'.": "Return type of public property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of constructor signature from exported interface has or is using private type '{0}'.": "Return type of constructor signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of call signature from exported interface has or is using private type '{0}'.": "Return type of call signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of index signature from exported interface has or is using private type '{0}'.": "Return type of index signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of public static method from exported class has or is using private type '{0}'.": "Return type of public static method from exported class has or is using private type '{0}'.",
|
||||
"Return type of public method from exported class has or is using private type '{0}'.": "Return type of public method from exported class has or is using private type '{0}'.",
|
||||
"Return type of method from exported interface has or is using private type '{0}'.": "Return type of method from exported interface has or is using private type '{0}'.",
|
||||
"Return type of exported function has or is using private type '{0}'.": "Return type of exported function has or is using private type '{0}'.",
|
||||
"Return type of public static property getter from exported class is using inaccessible module {0}.": "Return type of public static property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of public property getter from exported class is using inaccessible module {0}.": "Return type of public property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of constructor signature from exported interface is using inaccessible module {0}.": "Return type of constructor signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of call signature from exported interface is using inaccessible module {0}.": "Return type of call signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of index signature from exported interface is using inaccessible module {0}.": "Return type of index signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of public static method from exported class is using inaccessible module {0}.": "Return type of public static method from exported class is using inaccessible module {0}.",
|
||||
"Return type of public method from exported class is using inaccessible module {0}.": "Return type of public method from exported class is using inaccessible module {0}.",
|
||||
"Return type of method from exported interface is using inaccessible module {0}.": "Return type of method from exported interface is using inaccessible module {0}.",
|
||||
"Return type of exported function is using inaccessible module {0}.": "Return type of exported function is using inaccessible module {0}.",
|
||||
"'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.": "'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.",
|
||||
"A parameter list must follow a generic type argument list. '(' expected.": "A parameter list must follow a generic type argument list. '(' expected.",
|
||||
"Multiple constructor implementations are not allowed.": "Multiple constructor implementations are not allowed.",
|
||||
"Unable to resolve external module '{0}'.": "Unable to resolve external module '{0}'.",
|
||||
"Module cannot be aliased to a non-module type.": "Module cannot be aliased to a non-module type.",
|
||||
"A class may only extend another class.": "A class may only extend another class.",
|
||||
"A class may only implement another class or interface.": "A class may only implement another class or interface.",
|
||||
"An interface may only extend another class or interface.": "An interface may only extend another class or interface.",
|
||||
"An interface cannot implement another type.": "An interface cannot implement another type.",
|
||||
"Unable to resolve type.": "Unable to resolve type.",
|
||||
"Unable to resolve type of '{0}'.": "Unable to resolve type of '{0}'.",
|
||||
"Unable to resolve type parameter constraint.": "Unable to resolve type parameter constraint.",
|
||||
"Type parameter constraint cannot be a primitive type.": "Type parameter constraint cannot be a primitive type.",
|
||||
"Supplied parameters do not match any signature of call target.": "Supplied parameters do not match any signature of call target.",
|
||||
"Supplied parameters do not match any signature of call target:{NL}{0}": "Supplied parameters do not match any signature of call target:{NL}{0}",
|
||||
"Invalid 'new' expression.": "Invalid 'new' expression.",
|
||||
"Call signatures used in a 'new' expression must have a 'void' return type.": "Call signatures used in a 'new' expression must have a 'void' return type.",
|
||||
"Could not select overload for 'new' expression.": "Could not select overload for 'new' expression.",
|
||||
"Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.": "Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.",
|
||||
"Could not select overload for 'call' expression.": "Could not select overload for 'call' expression.",
|
||||
"Cannot invoke an expression whose type lacks a call signature.": "Cannot invoke an expression whose type lacks a call signature.",
|
||||
"Calls to 'super' are only valid inside a class.": "Calls to 'super' are only valid inside a class.",
|
||||
"Generic type '{0}' requires {1} type argument(s).": "Generic type '{0}' requires {1} type argument(s).",
|
||||
"Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.": "Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.",
|
||||
"Type of array literal cannot be determined. Best common type could not be found for array elements.": "Type of array literal cannot be determined. Best common type could not be found for array elements.",
|
||||
"Could not find enclosing symbol for dotted name '{0}'.": "Could not find enclosing symbol for dotted name '{0}'.",
|
||||
"The property '{0}' does not exist on value of type '{1}'.": "The property '{0}' does not exist on value of type '{1}'.",
|
||||
"Could not find symbol '{0}'.": "Could not find symbol '{0}'.",
|
||||
"'get' and 'set' accessor must have the same type.": "'get' and 'set' accessor must have the same type.",
|
||||
"'this' cannot be referenced in current location.": "'this' cannot be referenced in current location.",
|
||||
"Static methods cannot reference class type parameters.": "Static methods cannot reference class type parameters.",
|
||||
"Class '{0}' is recursively referenced as a base type of itself.": "Class '{0}' is recursively referenced as a base type of itself.",
|
||||
"Interface '{0}' is recursively referenced as a base type of itself.": "Interface '{0}' is recursively referenced as a base type of itself.",
|
||||
"'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.": "'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.",
|
||||
"'super' cannot be referenced in non-derived classes.": "'super' cannot be referenced in non-derived classes.",
|
||||
"A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.": "A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.",
|
||||
"Constructors for derived classes must contain a 'super' call.": "Constructors for derived classes must contain a 'super' call.",
|
||||
"Super calls are not permitted outside constructors or in local functions inside constructors.": "Super calls are not permitted outside constructors or in local functions inside constructors.",
|
||||
"'{0}.{1}' is inaccessible.": "'{0}.{1}' is inaccessible.",
|
||||
"'this' cannot be referenced within module bodies.": "'this' cannot be referenced within module bodies.",
|
||||
"Invalid '+' expression - types not known to support the addition operator.": "Invalid '+' expression - types not known to support the addition operator.",
|
||||
"The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.": "The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.",
|
||||
"Variable declarations of a 'for' statement cannot use a type annotation.": "Variable declarations of a 'for' statement cannot use a type annotation.",
|
||||
"Variable declarations of a 'for' statement must be of types 'string' or 'any'.": "Variable declarations of a 'for' statement must be of types 'string' or 'any'.",
|
||||
"The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.": "The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'in' expression must be of types 'string' or 'any'.": "The left-hand side of an 'in' expression must be of types 'string' or 'any'.",
|
||||
"The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.": "The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.": "The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.": "The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.",
|
||||
"Setters cannot return a value.": "Setters cannot return a value.",
|
||||
"Tried to query type of uninitialized module '{0}'.": "Tried to query type of uninitialized module '{0}'.",
|
||||
"Tried to set variable type to uninitialized module type '{0}'.": "Tried to set variable type to uninitialized module type '{0}'.",
|
||||
"Function '{0}' declared a non-void return type, but has no return expression.": "Function '{0}' declared a non-void return type, but has no return expression.",
|
||||
"Getters must return a value.": "Getters must return a value.",
|
||||
"Getter and setter accessors do not agree in visibility.": "Getter and setter accessors do not agree in visibility.",
|
||||
"Invalid left-hand side of assignment expression.": "Invalid left-hand side of assignment expression.",
|
||||
"Function declared a non-void return type, but has no return expression.": "Function declared a non-void return type, but has no return expression.",
|
||||
"Cannot resolve return type reference.": "Cannot resolve return type reference.",
|
||||
"Constructors cannot have a return type of 'void'.": "Constructors cannot have a return type of 'void'.",
|
||||
"Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.": "Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.",
|
||||
"All symbols within a with block will be resolved to 'any'.": "All symbols within a with block will be resolved to 'any'.",
|
||||
"Import declarations in an internal module cannot reference an external module.": "Import declarations in an internal module cannot reference an external module.",
|
||||
"Class {0} declares interface {1} but does not implement it:{NL}{2}": "Class {0} declares interface {1} but does not implement it:{NL}{2}",
|
||||
"Class {0} declares class {1} as an interface but does not implement it:{NL}{2}": "Class {0} declares class {1} as an interface but does not implement it:{NL}{2}",
|
||||
"The operand of an increment or decrement operator must be a variable, property or indexer.": "The operand of an increment or decrement operator must be a variable, property or indexer.",
|
||||
"'this' cannot be referenced in static initializers in a class body.": "'this' cannot be referenced in static initializers in a class body.",
|
||||
"Class '{0}' cannot extend class '{1}':{NL}{2}": "Class '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend class '{1}':{NL}{2}": "Interface '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend interface '{1}':{NL}{2}": "Interface '{0}' cannot extend interface '{1}':{NL}{2}",
|
||||
"Duplicate overload signature for '{0}'.": "Duplicate overload signature for '{0}'.",
|
||||
"Duplicate constructor overload signature.": "Duplicate constructor overload signature.",
|
||||
"Duplicate overload call signature.": "Duplicate overload call signature.",
|
||||
"Duplicate overload construct signature.": "Duplicate overload construct signature.",
|
||||
"Overload signature is not compatible with function definition.": "Overload signature is not compatible with function definition.",
|
||||
"Overload signature is not compatible with function definition:{NL}{0}": "Overload signature is not compatible with function definition:{NL}{0}",
|
||||
"Overload signatures must all be public or private.": "Overload signatures must all be public or private.",
|
||||
"Overload signatures must all be exported or local.": "Overload signatures must all be exported or local.",
|
||||
"Overload signatures must all be ambient or non-ambient.": "Overload signatures must all be ambient or non-ambient.",
|
||||
"Overload signatures must all be optional or required.": "Overload signatures must all be optional or required.",
|
||||
"Specialized overload signature is not subtype of any non-specialized signature.": "Specialized overload signature is not subtype of any non-specialized signature.",
|
||||
"'this' cannot be referenced in constructor arguments.": "'this' cannot be referenced in constructor arguments.",
|
||||
"Static member cannot be accessed off an instance variable.": "Static member cannot be accessed off an instance variable.",
|
||||
"Instance member cannot be accessed off a class.": "Instance member cannot be accessed off a class.",
|
||||
"Untyped function calls may not accept type arguments.": "Untyped function calls may not accept type arguments.",
|
||||
"Non-generic functions may not accept type arguments.": "Non-generic functions may not accept type arguments.",
|
||||
"A generic type may not reference itself with a wrapped form of its own type parameters.": "A generic type may not reference itself with a wrapped form of its own type parameters.",
|
||||
"Rest parameters must be array types.": "Rest parameters must be array types.",
|
||||
"Overload signature implementation cannot use specialized type.": "Overload signature implementation cannot use specialized type.",
|
||||
"Export assignments may only be used at the top-level of external modules.": "Export assignments may only be used at the top-level of external modules.",
|
||||
"Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules": "Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules",
|
||||
"Only public instance methods of the base class are accessible via the 'super' keyword.": "Only public instance methods of the base class are accessible via the 'super' keyword.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}'.": "All numerically named properties must be subtypes of numeric indexer type '{0}'.",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}": "All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}",
|
||||
"All named properties must be subtypes of string indexer type '{0}'.": "All named properties must be subtypes of string indexer type '{0}'.",
|
||||
"All named properties must be subtypes of string indexer type '{0}':{NL}{1}": "All named properties must be subtypes of string indexer type '{0}':{NL}{1}",
|
||||
"Generic type references must include all type arguments.": "Generic type references must include all type arguments.",
|
||||
"Default arguments are not allowed in an overload parameter.": "Default arguments are not allowed in an overload parameter.",
|
||||
"Overloads cannot differ only by return type.": "Overloads cannot differ only by return type.",
|
||||
"Function expression declared a non-void return type, but has no return expression.": "Function expression declared a non-void return type, but has no return expression.",
|
||||
"Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.": "Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.",
|
||||
"Could not find symbol '{0}' in module '{1}'.": "Could not find symbol '{0}' in module '{1}'.",
|
||||
"Unable to resolve module reference '{0}'.": "Unable to resolve module reference '{0}'.",
|
||||
"Could not find module '{0}' in module '{1}'.": "Could not find module '{0}' in module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.",
|
||||
"Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.": "Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.",
|
||||
"Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.": "Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.",
|
||||
"Type '{0}' is missing property '{1}' from type '{2}'.": "Type '{0}' is missing property '{1}' from type '{2}'.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible.": "Types of property '{0}' of types '{1}' and '{2}' are incompatible.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}": "Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}",
|
||||
"Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.": "Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.",
|
||||
"Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.": "Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.",
|
||||
"Types '{0}' and '{1}' define property '{2}' as private.": "Types '{0}' and '{1}' define property '{2}' as private.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible.": "Call signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a call signature, but type '{1}' lacks one.": "Type '{0}' requires a call signature, but type '{1}' lacks one.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible.": "Construct signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a construct signature, but type '{1}' lacks one.": "Type '{0}' requires a construct signature, but type '{1}' lacks one.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible.": "Index signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Call signature expects {0} or fewer parameters.": "Call signature expects {0} or fewer parameters.",
|
||||
"Could not apply type '{0}' to argument {1} which is of type '{2}'.": "Could not apply type '{0}' to argument {1} which is of type '{2}'.",
|
||||
"Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}",
|
||||
"Type reference cannot refer to container '{0}'.": "Type reference cannot refer to container '{0}'.",
|
||||
"Type reference must refer to type.": "Type reference must refer to type.",
|
||||
"Enums with multiple declarations must provide an initializer for the first enum element.": "Enums with multiple declarations must provide an initializer for the first enum element.",
|
||||
" (+ {0} overload(s))": " (+ {0} overload(s))",
|
||||
"Current host does not support '{0}' option.": "Current host does not support '{0}' option.",
|
||||
"ECMAScript target version '{0}' not supported. Using default '{1}' code generation.": "ECMAScript target version '{0}' not supported. Using default '{1}' code generation.",
|
||||
"Module code generation '{0}' not supported.": "Module code generation '{0}' not supported.",
|
||||
"Could not find file: '{0}'.": "Could not find file: '{0}'.",
|
||||
"A file cannot have a reference to itself.": "A file cannot have a reference to itself.",
|
||||
"Cannot resolve referenced file: '{0}'.": "Cannot resolve referenced file: '{0}'.",
|
||||
"Cannot find the common subdirectory path for the input files.": "Cannot find the common subdirectory path for the input files.",
|
||||
"Emit Error: {0}.": "Emit Error: {0}.",
|
||||
"Cannot read file '{0}': {1}": "Cannot read file '{0}': {1}",
|
||||
"Unsupported file encoding.": "Unsupported file encoding.",
|
||||
"Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.": "Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.",
|
||||
"Unsupported locale: '{0}'.": "Unsupported locale: '{0}'.",
|
||||
"Execution Failed.{NL}": "Execution Failed.{NL}",
|
||||
"Should not emit a type query": "Should not emit a type query",
|
||||
"Should not emit a type reference": "Should not emit a type reference",
|
||||
"Invalid call to 'up'": "Invalid call to 'up'",
|
||||
"Invalid call to 'down'": "Invalid call to 'down'",
|
||||
"Base64 value '{0}' finished with a continuation bit": "Base64 value '{0}' finished with a continuation bit",
|
||||
"Key was already in table": "Key was already in table",
|
||||
"Unknown option '{0}'": "Unknown option '{0}'",
|
||||
"Expected {0} arguments to message, got {1} instead": "Expected {0} arguments to message, got {1} instead",
|
||||
"Expected the message '{0}' to have {1} arguments, but it had {2}": "Expected the message '{0}' to have {1} arguments, but it had {2}",
|
||||
"Invalid argument: {0}. {1}": "Invalid argument: {0}. {1}",
|
||||
"Invalid argument: {0}.": "Invalid argument: {0}.",
|
||||
"Argument out of range: {0}.": "Argument out of range: {0}.",
|
||||
"Argument null: {0}.": "Argument null: {0}.",
|
||||
"Operation not implemented properly by subclass.": "Operation not implemented properly by subclass.",
|
||||
"Not yet implemented.": "Not yet implemented.",
|
||||
"Invalid operation: {0}": "Invalid operation: {0}",
|
||||
"Invalid operation.": "Invalid operation.",
|
||||
"Could not delete file '{0}'": "Could not delete file '{0}'",
|
||||
"Could not create directory '{0}'": "Could not create directory '{0}'",
|
||||
"Error while executing file '{0}': ": "Error while executing file '{0}': ",
|
||||
"Cannot compile external modules unless the '--module' flag is provided.": "Cannot compile external modules unless the '--module' flag is provided.",
|
||||
"Option mapRoot cannot be specified without specifying sourcemap option.": "Option mapRoot cannot be specified without specifying sourcemap option.",
|
||||
"Option sourceRoot cannot be specified without specifying sourcemap option.": "Option sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.": "Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Concatenate and emit output to single file": "Concatenate and emit output to single file",
|
||||
"Generates corresponding {0} file": "Generates corresponding {0} file",
|
||||
"Specifies the location where debugger should locate map files instead of generated locations.": "Specifies the location where debugger should locate map files instead of generated locations.",
|
||||
"Specifies the location where debugger should locate TypeScript files instead of source locations.": "Specifies the location where debugger should locate TypeScript files instead of source locations.",
|
||||
"Watch input files": "Watch input files",
|
||||
"Redirect output structure to the directory": "Redirect output structure to the directory",
|
||||
"Do not emit comments to output": "Do not emit comments to output",
|
||||
"Skip resolution and preprocessing": "Skip resolution and preprocessing",
|
||||
"Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"": "Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"",
|
||||
"Specify module code generation: \"{0}\" or \"{1}\"": "Specify module code generation: \"{0}\" or \"{1}\"",
|
||||
"Print this message": "Print this message",
|
||||
"Print the compiler's version: {0}": "Print the compiler's version: {0}",
|
||||
"Allow use of deprecated \"{0}\" keyword when referencing an external module": "Allow use of deprecated \"{0}\" keyword when referencing an external module",
|
||||
"Specify locale for errors and messages. For example '{0}' or '{1}'": "Specify locale for errors and messages. For example '{0}' or '{1}'",
|
||||
"Syntax: {0}": "Syntax: {0}",
|
||||
"options": "options",
|
||||
"file": "file",
|
||||
"Examples:": "Examples:",
|
||||
"Options:": "Options:",
|
||||
"Insert command line options and files from a file.": "Insert command line options and files from a file.",
|
||||
"Version {0}": "Version {0}",
|
||||
"Use the '{0}' flag to see options": "Use the '{0}' flag to see options",
|
||||
"{NL}Recompiling ({0}):": "{NL}Recompiling ({0}):",
|
||||
"STRING": "STRING",
|
||||
"KIND": "KIND",
|
||||
"FILE": "FILE",
|
||||
"VERSION": "VERSION",
|
||||
"LOCATION": "LOCATION",
|
||||
"DIRECTORY": "DIRECTORY",
|
||||
"This version of the Javascript runtime does not support the '{0}' function.": "This version of the Javascript runtime does not support the '{0}' function.",
|
||||
"Looking up path for identifier token did not result in an identifer.": "Looking up path for identifier token did not result in an identifer.",
|
||||
"Unknown rule": "Unknown rule",
|
||||
"Invalid line number ({0})": "Invalid line number ({0})",
|
||||
"Warn on expressions and declarations with an implied 'any' type.": "Warn on expressions and declarations with an implied 'any' type.",
|
||||
"Variable '{0}' implicitly has an 'any' type.": "Variable '{0}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of '{1}' implicitly has an 'any' type.": "Parameter '{0}' of '{1}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of function type implicitly has an 'any' type.": "Parameter '{0}' of function type implicitly has an 'any' type.",
|
||||
"Member '{0}' of object type implicitly has an 'any' type.": "Member '{0}' of object type implicitly has an 'any' type.",
|
||||
"\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.": "\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.",
|
||||
"'{0}', which lacks return-type annotation, implicitly has an 'any' return type.": "'{0}', which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Function expression, which lacks return-type annotation, implicitly has an 'any' return type.": "Function expression, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Parameter '{0}' of lambda function implicitly has an 'any' type.": "Parameter '{0}' of lambda function implicitly has an 'any' type.",
|
||||
"Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.": "Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.": "Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Array Literal implicitly has an 'any' type from widening.": "Array Literal implicitly has an 'any' type from widening."
|
||||
}
|
||||
374
bin/resources/it/diagnosticMessages.generated.json
Normal file
374
bin/resources/it/diagnosticMessages.generated.json
Normal file
@ -0,0 +1,374 @@
|
||||
{
|
||||
"error TS{0}: {1}": "error TS{0}: {1}",
|
||||
"warning TS{0}: {1}": "warning TS{0}: {1}",
|
||||
"Unrecognized escape sequence.": "Unrecognized escape sequence.",
|
||||
"Unexpected character {0}.": "Unexpected character {0}.",
|
||||
"Missing close quote character.": "Missing close quote character.",
|
||||
"Identifier expected.": "Identifier expected.",
|
||||
"'{0}' keyword expected.": "'{0}' keyword expected.",
|
||||
"'{0}' expected.": "'{0}' expected.",
|
||||
"Identifier expected; '{0}' is a keyword.": "Identifier expected; '{0}' is a keyword.",
|
||||
"Automatic semicolon insertion not allowed.": "Automatic semicolon insertion not allowed.",
|
||||
"Unexpected token; '{0}' expected.": "Unexpected token; '{0}' expected.",
|
||||
"Trailing separator not allowed.": "Trailing separator not allowed.",
|
||||
"'*/' expected.": "'*/' expected.",
|
||||
"'public' or 'private' modifier must precede 'static'.": "'public' or 'private' modifier must precede 'static'.",
|
||||
"Unexpected token.": "Unexpected token.",
|
||||
"Catch clause parameter cannot have a type annotation.": "Catch clause parameter cannot have a type annotation.",
|
||||
"Rest parameter must be last in list.": "Rest parameter must be last in list.",
|
||||
"Parameter cannot have question mark and initializer.": "Parameter cannot have question mark and initializer.",
|
||||
"Required parameter cannot follow optional parameter.": "Required parameter cannot follow optional parameter.",
|
||||
"Index signatures cannot have rest parameters.": "Index signatures cannot have rest parameters.",
|
||||
"Index signature parameter cannot have accessibility modifiers.": "Index signature parameter cannot have accessibility modifiers.",
|
||||
"Index signature parameter cannot have a question mark.": "Index signature parameter cannot have a question mark.",
|
||||
"Index signature parameter cannot have an initializer.": "Index signature parameter cannot have an initializer.",
|
||||
"Index signature must have a type annotation.": "Index signature must have a type annotation.",
|
||||
"Index signature parameter must have a type annotation.": "Index signature parameter must have a type annotation.",
|
||||
"Index signature parameter type must be 'string' or 'number'.": "Index signature parameter type must be 'string' or 'number'.",
|
||||
"'extends' clause already seen.": "'extends' clause already seen.",
|
||||
"'extends' clause must precede 'implements' clause.": "'extends' clause must precede 'implements' clause.",
|
||||
"Classes can only extend a single class.": "Classes can only extend a single class.",
|
||||
"'implements' clause already seen.": "'implements' clause already seen.",
|
||||
"Accessibility modifier already seen.": "Accessibility modifier already seen.",
|
||||
"'{0}' modifier must precede '{1}' modifier.": "'{0}' modifier must precede '{1}' modifier.",
|
||||
"'{0}' modifier already seen.": "'{0}' modifier already seen.",
|
||||
"'{0}' modifier cannot appear on a class element.": "'{0}' modifier cannot appear on a class element.",
|
||||
"Interface declaration cannot have 'implements' clause.": "Interface declaration cannot have 'implements' clause.",
|
||||
"'super' invocation cannot have type arguments.": "'super' invocation cannot have type arguments.",
|
||||
"Only ambient modules can use quoted names.": "Only ambient modules can use quoted names.",
|
||||
"Statements are not allowed in ambient contexts.": "Statements are not allowed in ambient contexts.",
|
||||
"Implementations are not allowed in ambient contexts.": "Implementations are not allowed in ambient contexts.",
|
||||
"'declare' modifier not allowed for code already in an ambient context.": "'declare' modifier not allowed for code already in an ambient context.",
|
||||
"Initializers are not allowed in ambient contexts.": "Initializers are not allowed in ambient contexts.",
|
||||
"Parameter property declarations can only be used in constructors.": "Parameter property declarations can only be used in constructors.",
|
||||
"Function implementation expected.": "Function implementation expected.",
|
||||
"Constructor implementation expected.": "Constructor implementation expected.",
|
||||
"Function overload name must be '{0}'.": "Function overload name must be '{0}'.",
|
||||
"'{0}' modifier cannot appear on a module element.": "'{0}' modifier cannot appear on a module element.",
|
||||
"'declare' modifier cannot appear on an interface declaration.": "'declare' modifier cannot appear on an interface declaration.",
|
||||
"'declare' modifier required for top level element.": "'declare' modifier required for top level element.",
|
||||
"Rest parameter cannot be optional.": "Rest parameter cannot be optional.",
|
||||
"Rest parameter cannot have an initializer.": "Rest parameter cannot have an initializer.",
|
||||
"'set' accessor must have one and only one parameter.": "'set' accessor must have one and only one parameter.",
|
||||
"'set' accessor parameter cannot have accessibility modifier.": "'set' accessor parameter cannot have accessibility modifier.",
|
||||
"'set' accessor parameter cannot be optional.": "'set' accessor parameter cannot be optional.",
|
||||
"'set' accessor parameter cannot have an initializer.": "'set' accessor parameter cannot have an initializer.",
|
||||
"'set' accessor cannot have rest parameter.": "'set' accessor cannot have rest parameter.",
|
||||
"'get' accessor cannot have parameters.": "'get' accessor cannot have parameters.",
|
||||
"Modifiers cannot appear here.": "Modifiers cannot appear here.",
|
||||
"Accessors are only available when targeting ECMAScript 5 and higher.": "Accessors are only available when targeting ECMAScript 5 and higher.",
|
||||
"Class name cannot be '{0}'.": "Class name cannot be '{0}'.",
|
||||
"Interface name cannot be '{0}'.": "Interface name cannot be '{0}'.",
|
||||
"Enum name cannot be '{0}'.": "Enum name cannot be '{0}'.",
|
||||
"Module name cannot be '{0}'.": "Module name cannot be '{0}'.",
|
||||
"Enum member must have initializer.": "Enum member must have initializer.",
|
||||
"Export assignment cannot be used in internal modules.": "Export assignment cannot be used in internal modules.",
|
||||
"Export assignment not allowed in module with exported element.": "Export assignment not allowed in module with exported element.",
|
||||
"Module cannot have multiple export assignments.": "Module cannot have multiple export assignments.",
|
||||
"Ambient enum elements can only have integer literal initializers.": "Ambient enum elements can only have integer literal initializers.",
|
||||
"module, class, interface, enum, import or statement": "module, class, interface, enum, import or statement",
|
||||
"constructor, function, accessor or variable": "constructor, function, accessor or variable",
|
||||
"statement": "statement",
|
||||
"case or default clause": "case or default clause",
|
||||
"identifier": "identifier",
|
||||
"call, construct, index, property or function signature": "call, construct, index, property or function signature",
|
||||
"expression": "expression",
|
||||
"type name": "type name",
|
||||
"property or accessor": "property or accessor",
|
||||
"parameter": "parameter",
|
||||
"type": "type",
|
||||
"type parameter": "type parameter",
|
||||
"'declare' modifier not allowed on import declaration.": "'declare' modifier not allowed on import declaration.",
|
||||
"Function overload must be static": "Function overload must be static",
|
||||
"Function overload must not be static": "Function overload must not be static",
|
||||
"Duplicate identifier '{0}'.": "Duplicate identifier '{0}'.",
|
||||
"The name '{0}' does not exist in the current scope.": "The name '{0}' does not exist in the current scope.",
|
||||
"The name '{0}' does not refer to a value.": "The name '{0}' does not refer to a value.",
|
||||
"'super' can only be used inside a class instance method.": "'super' can only be used inside a class instance method.",
|
||||
"The left-hand side of an assignment expression must be a variable, property or indexer.": "The left-hand side of an assignment expression must be a variable, property or indexer.",
|
||||
"Value of type '{0}' is not callable. Did you mean to include 'new'?": "Value of type '{0}' is not callable. Did you mean to include 'new'?",
|
||||
"Value of type '{0}' is not callable.": "Value of type '{0}' is not callable.",
|
||||
"Value of type '{0}' is not newable.": "Value of type '{0}' is not newable.",
|
||||
"Value of type '{0}' is not indexable by type '{1}'.": "Value of type '{0}' is not indexable by type '{1}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}'.": "Operator '{0}' cannot be applied to types '{1}' and '{2}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}": "Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}",
|
||||
"Cannot convert '{0}' to '{1}'.": "Cannot convert '{0}' to '{1}'.",
|
||||
"Cannot convert '{0}' to '{1}':{NL}{2}": "Cannot convert '{0}' to '{1}':{NL}{2}",
|
||||
"Expected var, class, interface, or module.": "Expected var, class, interface, or module.",
|
||||
"Operator '{0}' cannot be applied to type '{1}'.": "Operator '{0}' cannot be applied to type '{1}'.",
|
||||
"Getter '{0}' already declared.": "Getter '{0}' already declared.",
|
||||
"Setter '{0}' already declared.": "Setter '{0}' already declared.",
|
||||
"Accessors cannot have type parameters.": "Accessors cannot have type parameters.",
|
||||
"Exported class '{0}' extends private class '{1}'.": "Exported class '{0}' extends private class '{1}'.",
|
||||
"Exported class '{0}' implements private interface '{1}'.": "Exported class '{0}' implements private interface '{1}'.",
|
||||
"Exported interface '{0}' extends private interface '{1}'.": "Exported interface '{0}' extends private interface '{1}'.",
|
||||
"Exported class '{0}' extends class from inaccessible module {1}.": "Exported class '{0}' extends class from inaccessible module {1}.",
|
||||
"Exported class '{0}' implements interface from inaccessible module {1}.": "Exported class '{0}' implements interface from inaccessible module {1}.",
|
||||
"Exported interface '{0}' extends interface from inaccessible module {1}.": "Exported interface '{0}' extends interface from inaccessible module {1}.",
|
||||
"Public static property '{0}' of exported class has or is using private type '{1}'.": "Public static property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Public property '{0}' of exported class has or is using private type '{1}'.": "Public property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Property '{0}' of exported interface has or is using private type '{1}'.": "Property '{0}' of exported interface has or is using private type '{1}'.",
|
||||
"Exported variable '{0}' has or is using private type '{1}'.": "Exported variable '{0}' has or is using private type '{1}'.",
|
||||
"Public static property '{0}' of exported class is using inaccessible module {1}.": "Public static property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Public property '{0}' of exported class is using inaccessible module {1}.": "Public property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Property '{0}' of exported interface is using inaccessible module {1}.": "Property '{0}' of exported interface is using inaccessible module {1}.",
|
||||
"Exported variable '{0}' is using inaccessible module {1}.": "Exported variable '{0}' is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor from exported class has or is using private type '{1}'.": "Parameter '{0}' of constructor from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of method from exported interface has or is using private type '{1}'.": "Parameter '{0}' of method from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of exported function has or is using private type '{1}'.": "Parameter '{0}' of exported function has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor from exported class is using inaccessible module {1}.": "Parameter '{0}' of constructor from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.": "Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of call signature from exported interface is using inaccessible module {1}": "Parameter '{0}' of call signature from exported interface is using inaccessible module {1}",
|
||||
"Parameter '{0}' of public static method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of method from exported interface is using inaccessible module {1}.": "Parameter '{0}' of method from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of exported function is using inaccessible module {1}.": "Parameter '{0}' of exported function is using inaccessible module {1}.",
|
||||
"Return type of public static property getter from exported class has or is using private type '{0}'.": "Return type of public static property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of public property getter from exported class has or is using private type '{0}'.": "Return type of public property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of constructor signature from exported interface has or is using private type '{0}'.": "Return type of constructor signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of call signature from exported interface has or is using private type '{0}'.": "Return type of call signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of index signature from exported interface has or is using private type '{0}'.": "Return type of index signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of public static method from exported class has or is using private type '{0}'.": "Return type of public static method from exported class has or is using private type '{0}'.",
|
||||
"Return type of public method from exported class has or is using private type '{0}'.": "Return type of public method from exported class has or is using private type '{0}'.",
|
||||
"Return type of method from exported interface has or is using private type '{0}'.": "Return type of method from exported interface has or is using private type '{0}'.",
|
||||
"Return type of exported function has or is using private type '{0}'.": "Return type of exported function has or is using private type '{0}'.",
|
||||
"Return type of public static property getter from exported class is using inaccessible module {0}.": "Return type of public static property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of public property getter from exported class is using inaccessible module {0}.": "Return type of public property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of constructor signature from exported interface is using inaccessible module {0}.": "Return type of constructor signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of call signature from exported interface is using inaccessible module {0}.": "Return type of call signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of index signature from exported interface is using inaccessible module {0}.": "Return type of index signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of public static method from exported class is using inaccessible module {0}.": "Return type of public static method from exported class is using inaccessible module {0}.",
|
||||
"Return type of public method from exported class is using inaccessible module {0}.": "Return type of public method from exported class is using inaccessible module {0}.",
|
||||
"Return type of method from exported interface is using inaccessible module {0}.": "Return type of method from exported interface is using inaccessible module {0}.",
|
||||
"Return type of exported function is using inaccessible module {0}.": "Return type of exported function is using inaccessible module {0}.",
|
||||
"'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.": "'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.",
|
||||
"A parameter list must follow a generic type argument list. '(' expected.": "A parameter list must follow a generic type argument list. '(' expected.",
|
||||
"Multiple constructor implementations are not allowed.": "Multiple constructor implementations are not allowed.",
|
||||
"Unable to resolve external module '{0}'.": "Unable to resolve external module '{0}'.",
|
||||
"Module cannot be aliased to a non-module type.": "Module cannot be aliased to a non-module type.",
|
||||
"A class may only extend another class.": "A class may only extend another class.",
|
||||
"A class may only implement another class or interface.": "A class may only implement another class or interface.",
|
||||
"An interface may only extend another class or interface.": "An interface may only extend another class or interface.",
|
||||
"An interface cannot implement another type.": "An interface cannot implement another type.",
|
||||
"Unable to resolve type.": "Unable to resolve type.",
|
||||
"Unable to resolve type of '{0}'.": "Unable to resolve type of '{0}'.",
|
||||
"Unable to resolve type parameter constraint.": "Unable to resolve type parameter constraint.",
|
||||
"Type parameter constraint cannot be a primitive type.": "Type parameter constraint cannot be a primitive type.",
|
||||
"Supplied parameters do not match any signature of call target.": "Supplied parameters do not match any signature of call target.",
|
||||
"Supplied parameters do not match any signature of call target:{NL}{0}": "Supplied parameters do not match any signature of call target:{NL}{0}",
|
||||
"Invalid 'new' expression.": "Invalid 'new' expression.",
|
||||
"Call signatures used in a 'new' expression must have a 'void' return type.": "Call signatures used in a 'new' expression must have a 'void' return type.",
|
||||
"Could not select overload for 'new' expression.": "Could not select overload for 'new' expression.",
|
||||
"Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.": "Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.",
|
||||
"Could not select overload for 'call' expression.": "Could not select overload for 'call' expression.",
|
||||
"Cannot invoke an expression whose type lacks a call signature.": "Cannot invoke an expression whose type lacks a call signature.",
|
||||
"Calls to 'super' are only valid inside a class.": "Calls to 'super' are only valid inside a class.",
|
||||
"Generic type '{0}' requires {1} type argument(s).": "Generic type '{0}' requires {1} type argument(s).",
|
||||
"Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.": "Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.",
|
||||
"Type of array literal cannot be determined. Best common type could not be found for array elements.": "Type of array literal cannot be determined. Best common type could not be found for array elements.",
|
||||
"Could not find enclosing symbol for dotted name '{0}'.": "Could not find enclosing symbol for dotted name '{0}'.",
|
||||
"The property '{0}' does not exist on value of type '{1}'.": "The property '{0}' does not exist on value of type '{1}'.",
|
||||
"Could not find symbol '{0}'.": "Could not find symbol '{0}'.",
|
||||
"'get' and 'set' accessor must have the same type.": "'get' and 'set' accessor must have the same type.",
|
||||
"'this' cannot be referenced in current location.": "'this' cannot be referenced in current location.",
|
||||
"Static methods cannot reference class type parameters.": "Static methods cannot reference class type parameters.",
|
||||
"Class '{0}' is recursively referenced as a base type of itself.": "Class '{0}' is recursively referenced as a base type of itself.",
|
||||
"Interface '{0}' is recursively referenced as a base type of itself.": "Interface '{0}' is recursively referenced as a base type of itself.",
|
||||
"'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.": "'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.",
|
||||
"'super' cannot be referenced in non-derived classes.": "'super' cannot be referenced in non-derived classes.",
|
||||
"A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.": "A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.",
|
||||
"Constructors for derived classes must contain a 'super' call.": "Constructors for derived classes must contain a 'super' call.",
|
||||
"Super calls are not permitted outside constructors or in local functions inside constructors.": "Super calls are not permitted outside constructors or in local functions inside constructors.",
|
||||
"'{0}.{1}' is inaccessible.": "'{0}.{1}' is inaccessible.",
|
||||
"'this' cannot be referenced within module bodies.": "'this' cannot be referenced within module bodies.",
|
||||
"Invalid '+' expression - types not known to support the addition operator.": "Invalid '+' expression - types not known to support the addition operator.",
|
||||
"The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.": "The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.",
|
||||
"Variable declarations of a 'for' statement cannot use a type annotation.": "Variable declarations of a 'for' statement cannot use a type annotation.",
|
||||
"Variable declarations of a 'for' statement must be of types 'string' or 'any'.": "Variable declarations of a 'for' statement must be of types 'string' or 'any'.",
|
||||
"The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.": "The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'in' expression must be of types 'string' or 'any'.": "The left-hand side of an 'in' expression must be of types 'string' or 'any'.",
|
||||
"The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.": "The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.": "The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.": "The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.",
|
||||
"Setters cannot return a value.": "Setters cannot return a value.",
|
||||
"Tried to query type of uninitialized module '{0}'.": "Tried to query type of uninitialized module '{0}'.",
|
||||
"Tried to set variable type to uninitialized module type '{0}'.": "Tried to set variable type to uninitialized module type '{0}'.",
|
||||
"Function '{0}' declared a non-void return type, but has no return expression.": "Function '{0}' declared a non-void return type, but has no return expression.",
|
||||
"Getters must return a value.": "Getters must return a value.",
|
||||
"Getter and setter accessors do not agree in visibility.": "Getter and setter accessors do not agree in visibility.",
|
||||
"Invalid left-hand side of assignment expression.": "Invalid left-hand side of assignment expression.",
|
||||
"Function declared a non-void return type, but has no return expression.": "Function declared a non-void return type, but has no return expression.",
|
||||
"Cannot resolve return type reference.": "Cannot resolve return type reference.",
|
||||
"Constructors cannot have a return type of 'void'.": "Constructors cannot have a return type of 'void'.",
|
||||
"Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.": "Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.",
|
||||
"All symbols within a with block will be resolved to 'any'.": "All symbols within a with block will be resolved to 'any'.",
|
||||
"Import declarations in an internal module cannot reference an external module.": "Import declarations in an internal module cannot reference an external module.",
|
||||
"Class {0} declares interface {1} but does not implement it:{NL}{2}": "Class {0} declares interface {1} but does not implement it:{NL}{2}",
|
||||
"Class {0} declares class {1} as an interface but does not implement it:{NL}{2}": "Class {0} declares class {1} as an interface but does not implement it:{NL}{2}",
|
||||
"The operand of an increment or decrement operator must be a variable, property or indexer.": "The operand of an increment or decrement operator must be a variable, property or indexer.",
|
||||
"'this' cannot be referenced in static initializers in a class body.": "'this' cannot be referenced in static initializers in a class body.",
|
||||
"Class '{0}' cannot extend class '{1}':{NL}{2}": "Class '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend class '{1}':{NL}{2}": "Interface '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend interface '{1}':{NL}{2}": "Interface '{0}' cannot extend interface '{1}':{NL}{2}",
|
||||
"Duplicate overload signature for '{0}'.": "Duplicate overload signature for '{0}'.",
|
||||
"Duplicate constructor overload signature.": "Duplicate constructor overload signature.",
|
||||
"Duplicate overload call signature.": "Duplicate overload call signature.",
|
||||
"Duplicate overload construct signature.": "Duplicate overload construct signature.",
|
||||
"Overload signature is not compatible with function definition.": "Overload signature is not compatible with function definition.",
|
||||
"Overload signature is not compatible with function definition:{NL}{0}": "Overload signature is not compatible with function definition:{NL}{0}",
|
||||
"Overload signatures must all be public or private.": "Overload signatures must all be public or private.",
|
||||
"Overload signatures must all be exported or local.": "Overload signatures must all be exported or local.",
|
||||
"Overload signatures must all be ambient or non-ambient.": "Overload signatures must all be ambient or non-ambient.",
|
||||
"Overload signatures must all be optional or required.": "Overload signatures must all be optional or required.",
|
||||
"Specialized overload signature is not subtype of any non-specialized signature.": "Specialized overload signature is not subtype of any non-specialized signature.",
|
||||
"'this' cannot be referenced in constructor arguments.": "'this' cannot be referenced in constructor arguments.",
|
||||
"Static member cannot be accessed off an instance variable.": "Static member cannot be accessed off an instance variable.",
|
||||
"Instance member cannot be accessed off a class.": "Instance member cannot be accessed off a class.",
|
||||
"Untyped function calls may not accept type arguments.": "Untyped function calls may not accept type arguments.",
|
||||
"Non-generic functions may not accept type arguments.": "Non-generic functions may not accept type arguments.",
|
||||
"A generic type may not reference itself with a wrapped form of its own type parameters.": "A generic type may not reference itself with a wrapped form of its own type parameters.",
|
||||
"Rest parameters must be array types.": "Rest parameters must be array types.",
|
||||
"Overload signature implementation cannot use specialized type.": "Overload signature implementation cannot use specialized type.",
|
||||
"Export assignments may only be used at the top-level of external modules.": "Export assignments may only be used at the top-level of external modules.",
|
||||
"Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules": "Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules",
|
||||
"Only public instance methods of the base class are accessible via the 'super' keyword.": "Only public instance methods of the base class are accessible via the 'super' keyword.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}'.": "All numerically named properties must be subtypes of numeric indexer type '{0}'.",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}": "All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}",
|
||||
"All named properties must be subtypes of string indexer type '{0}'.": "All named properties must be subtypes of string indexer type '{0}'.",
|
||||
"All named properties must be subtypes of string indexer type '{0}':{NL}{1}": "All named properties must be subtypes of string indexer type '{0}':{NL}{1}",
|
||||
"Generic type references must include all type arguments.": "Generic type references must include all type arguments.",
|
||||
"Default arguments are not allowed in an overload parameter.": "Default arguments are not allowed in an overload parameter.",
|
||||
"Overloads cannot differ only by return type.": "Overloads cannot differ only by return type.",
|
||||
"Function expression declared a non-void return type, but has no return expression.": "Function expression declared a non-void return type, but has no return expression.",
|
||||
"Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.": "Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.",
|
||||
"Could not find symbol '{0}' in module '{1}'.": "Could not find symbol '{0}' in module '{1}'.",
|
||||
"Unable to resolve module reference '{0}'.": "Unable to resolve module reference '{0}'.",
|
||||
"Could not find module '{0}' in module '{1}'.": "Could not find module '{0}' in module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.",
|
||||
"Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.": "Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.",
|
||||
"Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.": "Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.",
|
||||
"Type '{0}' is missing property '{1}' from type '{2}'.": "Type '{0}' is missing property '{1}' from type '{2}'.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible.": "Types of property '{0}' of types '{1}' and '{2}' are incompatible.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}": "Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}",
|
||||
"Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.": "Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.",
|
||||
"Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.": "Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.",
|
||||
"Types '{0}' and '{1}' define property '{2}' as private.": "Types '{0}' and '{1}' define property '{2}' as private.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible.": "Call signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a call signature, but type '{1}' lacks one.": "Type '{0}' requires a call signature, but type '{1}' lacks one.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible.": "Construct signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a construct signature, but type '{1}' lacks one.": "Type '{0}' requires a construct signature, but type '{1}' lacks one.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible.": "Index signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Call signature expects {0} or fewer parameters.": "Call signature expects {0} or fewer parameters.",
|
||||
"Could not apply type '{0}' to argument {1} which is of type '{2}'.": "Could not apply type '{0}' to argument {1} which is of type '{2}'.",
|
||||
"Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}",
|
||||
"Type reference cannot refer to container '{0}'.": "Type reference cannot refer to container '{0}'.",
|
||||
"Type reference must refer to type.": "Type reference must refer to type.",
|
||||
"Enums with multiple declarations must provide an initializer for the first enum element.": "Enums with multiple declarations must provide an initializer for the first enum element.",
|
||||
" (+ {0} overload(s))": " (+ {0} overload(s))",
|
||||
"Current host does not support '{0}' option.": "Current host does not support '{0}' option.",
|
||||
"ECMAScript target version '{0}' not supported. Using default '{1}' code generation.": "ECMAScript target version '{0}' not supported. Using default '{1}' code generation.",
|
||||
"Module code generation '{0}' not supported.": "Module code generation '{0}' not supported.",
|
||||
"Could not find file: '{0}'.": "Could not find file: '{0}'.",
|
||||
"A file cannot have a reference to itself.": "A file cannot have a reference to itself.",
|
||||
"Cannot resolve referenced file: '{0}'.": "Cannot resolve referenced file: '{0}'.",
|
||||
"Cannot find the common subdirectory path for the input files.": "Cannot find the common subdirectory path for the input files.",
|
||||
"Emit Error: {0}.": "Emit Error: {0}.",
|
||||
"Cannot read file '{0}': {1}": "Cannot read file '{0}': {1}",
|
||||
"Unsupported file encoding.": "Unsupported file encoding.",
|
||||
"Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.": "Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.",
|
||||
"Unsupported locale: '{0}'.": "Unsupported locale: '{0}'.",
|
||||
"Execution Failed.{NL}": "Execution Failed.{NL}",
|
||||
"Should not emit a type query": "Should not emit a type query",
|
||||
"Should not emit a type reference": "Should not emit a type reference",
|
||||
"Invalid call to 'up'": "Invalid call to 'up'",
|
||||
"Invalid call to 'down'": "Invalid call to 'down'",
|
||||
"Base64 value '{0}' finished with a continuation bit": "Base64 value '{0}' finished with a continuation bit",
|
||||
"Key was already in table": "Key was already in table",
|
||||
"Unknown option '{0}'": "Unknown option '{0}'",
|
||||
"Expected {0} arguments to message, got {1} instead": "Expected {0} arguments to message, got {1} instead",
|
||||
"Expected the message '{0}' to have {1} arguments, but it had {2}": "Expected the message '{0}' to have {1} arguments, but it had {2}",
|
||||
"Invalid argument: {0}. {1}": "Invalid argument: {0}. {1}",
|
||||
"Invalid argument: {0}.": "Invalid argument: {0}.",
|
||||
"Argument out of range: {0}.": "Argument out of range: {0}.",
|
||||
"Argument null: {0}.": "Argument null: {0}.",
|
||||
"Operation not implemented properly by subclass.": "Operation not implemented properly by subclass.",
|
||||
"Not yet implemented.": "Not yet implemented.",
|
||||
"Invalid operation: {0}": "Invalid operation: {0}",
|
||||
"Invalid operation.": "Invalid operation.",
|
||||
"Could not delete file '{0}'": "Could not delete file '{0}'",
|
||||
"Could not create directory '{0}'": "Could not create directory '{0}'",
|
||||
"Error while executing file '{0}': ": "Error while executing file '{0}': ",
|
||||
"Cannot compile external modules unless the '--module' flag is provided.": "Cannot compile external modules unless the '--module' flag is provided.",
|
||||
"Option mapRoot cannot be specified without specifying sourcemap option.": "Option mapRoot cannot be specified without specifying sourcemap option.",
|
||||
"Option sourceRoot cannot be specified without specifying sourcemap option.": "Option sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.": "Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Concatenate and emit output to single file": "Concatenate and emit output to single file",
|
||||
"Generates corresponding {0} file": "Generates corresponding {0} file",
|
||||
"Specifies the location where debugger should locate map files instead of generated locations.": "Specifies the location where debugger should locate map files instead of generated locations.",
|
||||
"Specifies the location where debugger should locate TypeScript files instead of source locations.": "Specifies the location where debugger should locate TypeScript files instead of source locations.",
|
||||
"Watch input files": "Watch input files",
|
||||
"Redirect output structure to the directory": "Redirect output structure to the directory",
|
||||
"Do not emit comments to output": "Do not emit comments to output",
|
||||
"Skip resolution and preprocessing": "Skip resolution and preprocessing",
|
||||
"Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"": "Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"",
|
||||
"Specify module code generation: \"{0}\" or \"{1}\"": "Specify module code generation: \"{0}\" or \"{1}\"",
|
||||
"Print this message": "Print this message",
|
||||
"Print the compiler's version: {0}": "Print the compiler's version: {0}",
|
||||
"Allow use of deprecated \"{0}\" keyword when referencing an external module": "Allow use of deprecated \"{0}\" keyword when referencing an external module",
|
||||
"Specify locale for errors and messages. For example '{0}' or '{1}'": "Specify locale for errors and messages. For example '{0}' or '{1}'",
|
||||
"Syntax: {0}": "Syntax: {0}",
|
||||
"options": "options",
|
||||
"file": "file",
|
||||
"Examples:": "Examples:",
|
||||
"Options:": "Options:",
|
||||
"Insert command line options and files from a file.": "Insert command line options and files from a file.",
|
||||
"Version {0}": "Version {0}",
|
||||
"Use the '{0}' flag to see options": "Use the '{0}' flag to see options",
|
||||
"{NL}Recompiling ({0}):": "{NL}Recompiling ({0}):",
|
||||
"STRING": "STRING",
|
||||
"KIND": "KIND",
|
||||
"FILE": "FILE",
|
||||
"VERSION": "VERSION",
|
||||
"LOCATION": "LOCATION",
|
||||
"DIRECTORY": "DIRECTORY",
|
||||
"This version of the Javascript runtime does not support the '{0}' function.": "This version of the Javascript runtime does not support the '{0}' function.",
|
||||
"Looking up path for identifier token did not result in an identifer.": "Looking up path for identifier token did not result in an identifer.",
|
||||
"Unknown rule": "Unknown rule",
|
||||
"Invalid line number ({0})": "Invalid line number ({0})",
|
||||
"Warn on expressions and declarations with an implied 'any' type.": "Warn on expressions and declarations with an implied 'any' type.",
|
||||
"Variable '{0}' implicitly has an 'any' type.": "Variable '{0}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of '{1}' implicitly has an 'any' type.": "Parameter '{0}' of '{1}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of function type implicitly has an 'any' type.": "Parameter '{0}' of function type implicitly has an 'any' type.",
|
||||
"Member '{0}' of object type implicitly has an 'any' type.": "Member '{0}' of object type implicitly has an 'any' type.",
|
||||
"\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.": "\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.",
|
||||
"'{0}', which lacks return-type annotation, implicitly has an 'any' return type.": "'{0}', which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Function expression, which lacks return-type annotation, implicitly has an 'any' return type.": "Function expression, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Parameter '{0}' of lambda function implicitly has an 'any' type.": "Parameter '{0}' of lambda function implicitly has an 'any' type.",
|
||||
"Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.": "Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.": "Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Array Literal implicitly has an 'any' type from widening.": "Array Literal implicitly has an 'any' type from widening."
|
||||
}
|
||||
374
bin/resources/ja/diagnosticMessages.generated.json
Normal file
374
bin/resources/ja/diagnosticMessages.generated.json
Normal file
@ -0,0 +1,374 @@
|
||||
{
|
||||
"error TS{0}: {1}": "error TS{0}: {1}",
|
||||
"warning TS{0}: {1}": "warning TS{0}: {1}",
|
||||
"Unrecognized escape sequence.": "Unrecognized escape sequence.",
|
||||
"Unexpected character {0}.": "Unexpected character {0}.",
|
||||
"Missing close quote character.": "Missing close quote character.",
|
||||
"Identifier expected.": "Identifier expected.",
|
||||
"'{0}' keyword expected.": "'{0}' keyword expected.",
|
||||
"'{0}' expected.": "'{0}' expected.",
|
||||
"Identifier expected; '{0}' is a keyword.": "Identifier expected; '{0}' is a keyword.",
|
||||
"Automatic semicolon insertion not allowed.": "Automatic semicolon insertion not allowed.",
|
||||
"Unexpected token; '{0}' expected.": "Unexpected token; '{0}' expected.",
|
||||
"Trailing separator not allowed.": "Trailing separator not allowed.",
|
||||
"'*/' expected.": "'*/' expected.",
|
||||
"'public' or 'private' modifier must precede 'static'.": "'public' or 'private' modifier must precede 'static'.",
|
||||
"Unexpected token.": "Unexpected token.",
|
||||
"Catch clause parameter cannot have a type annotation.": "Catch clause parameter cannot have a type annotation.",
|
||||
"Rest parameter must be last in list.": "Rest parameter must be last in list.",
|
||||
"Parameter cannot have question mark and initializer.": "Parameter cannot have question mark and initializer.",
|
||||
"Required parameter cannot follow optional parameter.": "Required parameter cannot follow optional parameter.",
|
||||
"Index signatures cannot have rest parameters.": "Index signatures cannot have rest parameters.",
|
||||
"Index signature parameter cannot have accessibility modifiers.": "Index signature parameter cannot have accessibility modifiers.",
|
||||
"Index signature parameter cannot have a question mark.": "Index signature parameter cannot have a question mark.",
|
||||
"Index signature parameter cannot have an initializer.": "Index signature parameter cannot have an initializer.",
|
||||
"Index signature must have a type annotation.": "Index signature must have a type annotation.",
|
||||
"Index signature parameter must have a type annotation.": "Index signature parameter must have a type annotation.",
|
||||
"Index signature parameter type must be 'string' or 'number'.": "Index signature parameter type must be 'string' or 'number'.",
|
||||
"'extends' clause already seen.": "'extends' clause already seen.",
|
||||
"'extends' clause must precede 'implements' clause.": "'extends' clause must precede 'implements' clause.",
|
||||
"Classes can only extend a single class.": "Classes can only extend a single class.",
|
||||
"'implements' clause already seen.": "'implements' clause already seen.",
|
||||
"Accessibility modifier already seen.": "Accessibility modifier already seen.",
|
||||
"'{0}' modifier must precede '{1}' modifier.": "'{0}' modifier must precede '{1}' modifier.",
|
||||
"'{0}' modifier already seen.": "'{0}' modifier already seen.",
|
||||
"'{0}' modifier cannot appear on a class element.": "'{0}' modifier cannot appear on a class element.",
|
||||
"Interface declaration cannot have 'implements' clause.": "Interface declaration cannot have 'implements' clause.",
|
||||
"'super' invocation cannot have type arguments.": "'super' invocation cannot have type arguments.",
|
||||
"Only ambient modules can use quoted names.": "Only ambient modules can use quoted names.",
|
||||
"Statements are not allowed in ambient contexts.": "Statements are not allowed in ambient contexts.",
|
||||
"Implementations are not allowed in ambient contexts.": "Implementations are not allowed in ambient contexts.",
|
||||
"'declare' modifier not allowed for code already in an ambient context.": "'declare' modifier not allowed for code already in an ambient context.",
|
||||
"Initializers are not allowed in ambient contexts.": "Initializers are not allowed in ambient contexts.",
|
||||
"Parameter property declarations can only be used in constructors.": "Parameter property declarations can only be used in constructors.",
|
||||
"Function implementation expected.": "Function implementation expected.",
|
||||
"Constructor implementation expected.": "Constructor implementation expected.",
|
||||
"Function overload name must be '{0}'.": "Function overload name must be '{0}'.",
|
||||
"'{0}' modifier cannot appear on a module element.": "'{0}' modifier cannot appear on a module element.",
|
||||
"'declare' modifier cannot appear on an interface declaration.": "'declare' modifier cannot appear on an interface declaration.",
|
||||
"'declare' modifier required for top level element.": "'declare' modifier required for top level element.",
|
||||
"Rest parameter cannot be optional.": "Rest parameter cannot be optional.",
|
||||
"Rest parameter cannot have an initializer.": "Rest parameter cannot have an initializer.",
|
||||
"'set' accessor must have one and only one parameter.": "'set' accessor must have one and only one parameter.",
|
||||
"'set' accessor parameter cannot have accessibility modifier.": "'set' accessor parameter cannot have accessibility modifier.",
|
||||
"'set' accessor parameter cannot be optional.": "'set' accessor parameter cannot be optional.",
|
||||
"'set' accessor parameter cannot have an initializer.": "'set' accessor parameter cannot have an initializer.",
|
||||
"'set' accessor cannot have rest parameter.": "'set' accessor cannot have rest parameter.",
|
||||
"'get' accessor cannot have parameters.": "'get' accessor cannot have parameters.",
|
||||
"Modifiers cannot appear here.": "Modifiers cannot appear here.",
|
||||
"Accessors are only available when targeting ECMAScript 5 and higher.": "Accessors are only available when targeting ECMAScript 5 and higher.",
|
||||
"Class name cannot be '{0}'.": "Class name cannot be '{0}'.",
|
||||
"Interface name cannot be '{0}'.": "Interface name cannot be '{0}'.",
|
||||
"Enum name cannot be '{0}'.": "Enum name cannot be '{0}'.",
|
||||
"Module name cannot be '{0}'.": "Module name cannot be '{0}'.",
|
||||
"Enum member must have initializer.": "Enum member must have initializer.",
|
||||
"Export assignment cannot be used in internal modules.": "Export assignment cannot be used in internal modules.",
|
||||
"Export assignment not allowed in module with exported element.": "Export assignment not allowed in module with exported element.",
|
||||
"Module cannot have multiple export assignments.": "Module cannot have multiple export assignments.",
|
||||
"Ambient enum elements can only have integer literal initializers.": "Ambient enum elements can only have integer literal initializers.",
|
||||
"module, class, interface, enum, import or statement": "module, class, interface, enum, import or statement",
|
||||
"constructor, function, accessor or variable": "constructor, function, accessor or variable",
|
||||
"statement": "statement",
|
||||
"case or default clause": "case or default clause",
|
||||
"identifier": "identifier",
|
||||
"call, construct, index, property or function signature": "call, construct, index, property or function signature",
|
||||
"expression": "expression",
|
||||
"type name": "type name",
|
||||
"property or accessor": "property or accessor",
|
||||
"parameter": "parameter",
|
||||
"type": "type",
|
||||
"type parameter": "type parameter",
|
||||
"'declare' modifier not allowed on import declaration.": "'declare' modifier not allowed on import declaration.",
|
||||
"Function overload must be static": "Function overload must be static",
|
||||
"Function overload must not be static": "Function overload must not be static",
|
||||
"Duplicate identifier '{0}'.": "Duplicate identifier '{0}'.",
|
||||
"The name '{0}' does not exist in the current scope.": "The name '{0}' does not exist in the current scope.",
|
||||
"The name '{0}' does not refer to a value.": "The name '{0}' does not refer to a value.",
|
||||
"'super' can only be used inside a class instance method.": "'super' can only be used inside a class instance method.",
|
||||
"The left-hand side of an assignment expression must be a variable, property or indexer.": "The left-hand side of an assignment expression must be a variable, property or indexer.",
|
||||
"Value of type '{0}' is not callable. Did you mean to include 'new'?": "Value of type '{0}' is not callable. Did you mean to include 'new'?",
|
||||
"Value of type '{0}' is not callable.": "Value of type '{0}' is not callable.",
|
||||
"Value of type '{0}' is not newable.": "Value of type '{0}' is not newable.",
|
||||
"Value of type '{0}' is not indexable by type '{1}'.": "Value of type '{0}' is not indexable by type '{1}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}'.": "Operator '{0}' cannot be applied to types '{1}' and '{2}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}": "Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}",
|
||||
"Cannot convert '{0}' to '{1}'.": "Cannot convert '{0}' to '{1}'.",
|
||||
"Cannot convert '{0}' to '{1}':{NL}{2}": "Cannot convert '{0}' to '{1}':{NL}{2}",
|
||||
"Expected var, class, interface, or module.": "Expected var, class, interface, or module.",
|
||||
"Operator '{0}' cannot be applied to type '{1}'.": "Operator '{0}' cannot be applied to type '{1}'.",
|
||||
"Getter '{0}' already declared.": "Getter '{0}' already declared.",
|
||||
"Setter '{0}' already declared.": "Setter '{0}' already declared.",
|
||||
"Accessors cannot have type parameters.": "Accessors cannot have type parameters.",
|
||||
"Exported class '{0}' extends private class '{1}'.": "Exported class '{0}' extends private class '{1}'.",
|
||||
"Exported class '{0}' implements private interface '{1}'.": "Exported class '{0}' implements private interface '{1}'.",
|
||||
"Exported interface '{0}' extends private interface '{1}'.": "Exported interface '{0}' extends private interface '{1}'.",
|
||||
"Exported class '{0}' extends class from inaccessible module {1}.": "Exported class '{0}' extends class from inaccessible module {1}.",
|
||||
"Exported class '{0}' implements interface from inaccessible module {1}.": "Exported class '{0}' implements interface from inaccessible module {1}.",
|
||||
"Exported interface '{0}' extends interface from inaccessible module {1}.": "Exported interface '{0}' extends interface from inaccessible module {1}.",
|
||||
"Public static property '{0}' of exported class has or is using private type '{1}'.": "Public static property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Public property '{0}' of exported class has or is using private type '{1}'.": "Public property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Property '{0}' of exported interface has or is using private type '{1}'.": "Property '{0}' of exported interface has or is using private type '{1}'.",
|
||||
"Exported variable '{0}' has or is using private type '{1}'.": "Exported variable '{0}' has or is using private type '{1}'.",
|
||||
"Public static property '{0}' of exported class is using inaccessible module {1}.": "Public static property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Public property '{0}' of exported class is using inaccessible module {1}.": "Public property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Property '{0}' of exported interface is using inaccessible module {1}.": "Property '{0}' of exported interface is using inaccessible module {1}.",
|
||||
"Exported variable '{0}' is using inaccessible module {1}.": "Exported variable '{0}' is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor from exported class has or is using private type '{1}'.": "Parameter '{0}' of constructor from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of method from exported interface has or is using private type '{1}'.": "Parameter '{0}' of method from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of exported function has or is using private type '{1}'.": "Parameter '{0}' of exported function has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor from exported class is using inaccessible module {1}.": "Parameter '{0}' of constructor from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.": "Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of call signature from exported interface is using inaccessible module {1}": "Parameter '{0}' of call signature from exported interface is using inaccessible module {1}",
|
||||
"Parameter '{0}' of public static method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of method from exported interface is using inaccessible module {1}.": "Parameter '{0}' of method from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of exported function is using inaccessible module {1}.": "Parameter '{0}' of exported function is using inaccessible module {1}.",
|
||||
"Return type of public static property getter from exported class has or is using private type '{0}'.": "Return type of public static property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of public property getter from exported class has or is using private type '{0}'.": "Return type of public property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of constructor signature from exported interface has or is using private type '{0}'.": "Return type of constructor signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of call signature from exported interface has or is using private type '{0}'.": "Return type of call signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of index signature from exported interface has or is using private type '{0}'.": "Return type of index signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of public static method from exported class has or is using private type '{0}'.": "Return type of public static method from exported class has or is using private type '{0}'.",
|
||||
"Return type of public method from exported class has or is using private type '{0}'.": "Return type of public method from exported class has or is using private type '{0}'.",
|
||||
"Return type of method from exported interface has or is using private type '{0}'.": "Return type of method from exported interface has or is using private type '{0}'.",
|
||||
"Return type of exported function has or is using private type '{0}'.": "Return type of exported function has or is using private type '{0}'.",
|
||||
"Return type of public static property getter from exported class is using inaccessible module {0}.": "Return type of public static property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of public property getter from exported class is using inaccessible module {0}.": "Return type of public property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of constructor signature from exported interface is using inaccessible module {0}.": "Return type of constructor signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of call signature from exported interface is using inaccessible module {0}.": "Return type of call signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of index signature from exported interface is using inaccessible module {0}.": "Return type of index signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of public static method from exported class is using inaccessible module {0}.": "Return type of public static method from exported class is using inaccessible module {0}.",
|
||||
"Return type of public method from exported class is using inaccessible module {0}.": "Return type of public method from exported class is using inaccessible module {0}.",
|
||||
"Return type of method from exported interface is using inaccessible module {0}.": "Return type of method from exported interface is using inaccessible module {0}.",
|
||||
"Return type of exported function is using inaccessible module {0}.": "Return type of exported function is using inaccessible module {0}.",
|
||||
"'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.": "'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.",
|
||||
"A parameter list must follow a generic type argument list. '(' expected.": "A parameter list must follow a generic type argument list. '(' expected.",
|
||||
"Multiple constructor implementations are not allowed.": "Multiple constructor implementations are not allowed.",
|
||||
"Unable to resolve external module '{0}'.": "Unable to resolve external module '{0}'.",
|
||||
"Module cannot be aliased to a non-module type.": "Module cannot be aliased to a non-module type.",
|
||||
"A class may only extend another class.": "A class may only extend another class.",
|
||||
"A class may only implement another class or interface.": "A class may only implement another class or interface.",
|
||||
"An interface may only extend another class or interface.": "An interface may only extend another class or interface.",
|
||||
"An interface cannot implement another type.": "An interface cannot implement another type.",
|
||||
"Unable to resolve type.": "Unable to resolve type.",
|
||||
"Unable to resolve type of '{0}'.": "Unable to resolve type of '{0}'.",
|
||||
"Unable to resolve type parameter constraint.": "Unable to resolve type parameter constraint.",
|
||||
"Type parameter constraint cannot be a primitive type.": "Type parameter constraint cannot be a primitive type.",
|
||||
"Supplied parameters do not match any signature of call target.": "Supplied parameters do not match any signature of call target.",
|
||||
"Supplied parameters do not match any signature of call target:{NL}{0}": "Supplied parameters do not match any signature of call target:{NL}{0}",
|
||||
"Invalid 'new' expression.": "Invalid 'new' expression.",
|
||||
"Call signatures used in a 'new' expression must have a 'void' return type.": "Call signatures used in a 'new' expression must have a 'void' return type.",
|
||||
"Could not select overload for 'new' expression.": "Could not select overload for 'new' expression.",
|
||||
"Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.": "Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.",
|
||||
"Could not select overload for 'call' expression.": "Could not select overload for 'call' expression.",
|
||||
"Cannot invoke an expression whose type lacks a call signature.": "Cannot invoke an expression whose type lacks a call signature.",
|
||||
"Calls to 'super' are only valid inside a class.": "Calls to 'super' are only valid inside a class.",
|
||||
"Generic type '{0}' requires {1} type argument(s).": "Generic type '{0}' requires {1} type argument(s).",
|
||||
"Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.": "Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.",
|
||||
"Type of array literal cannot be determined. Best common type could not be found for array elements.": "Type of array literal cannot be determined. Best common type could not be found for array elements.",
|
||||
"Could not find enclosing symbol for dotted name '{0}'.": "Could not find enclosing symbol for dotted name '{0}'.",
|
||||
"The property '{0}' does not exist on value of type '{1}'.": "The property '{0}' does not exist on value of type '{1}'.",
|
||||
"Could not find symbol '{0}'.": "Could not find symbol '{0}'.",
|
||||
"'get' and 'set' accessor must have the same type.": "'get' and 'set' accessor must have the same type.",
|
||||
"'this' cannot be referenced in current location.": "'this' cannot be referenced in current location.",
|
||||
"Static methods cannot reference class type parameters.": "Static methods cannot reference class type parameters.",
|
||||
"Class '{0}' is recursively referenced as a base type of itself.": "Class '{0}' is recursively referenced as a base type of itself.",
|
||||
"Interface '{0}' is recursively referenced as a base type of itself.": "Interface '{0}' is recursively referenced as a base type of itself.",
|
||||
"'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.": "'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.",
|
||||
"'super' cannot be referenced in non-derived classes.": "'super' cannot be referenced in non-derived classes.",
|
||||
"A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.": "A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.",
|
||||
"Constructors for derived classes must contain a 'super' call.": "Constructors for derived classes must contain a 'super' call.",
|
||||
"Super calls are not permitted outside constructors or in local functions inside constructors.": "Super calls are not permitted outside constructors or in local functions inside constructors.",
|
||||
"'{0}.{1}' is inaccessible.": "'{0}.{1}' is inaccessible.",
|
||||
"'this' cannot be referenced within module bodies.": "'this' cannot be referenced within module bodies.",
|
||||
"Invalid '+' expression - types not known to support the addition operator.": "Invalid '+' expression - types not known to support the addition operator.",
|
||||
"The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.": "The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.",
|
||||
"Variable declarations of a 'for' statement cannot use a type annotation.": "Variable declarations of a 'for' statement cannot use a type annotation.",
|
||||
"Variable declarations of a 'for' statement must be of types 'string' or 'any'.": "Variable declarations of a 'for' statement must be of types 'string' or 'any'.",
|
||||
"The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.": "The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'in' expression must be of types 'string' or 'any'.": "The left-hand side of an 'in' expression must be of types 'string' or 'any'.",
|
||||
"The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.": "The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.": "The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.": "The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.",
|
||||
"Setters cannot return a value.": "Setters cannot return a value.",
|
||||
"Tried to query type of uninitialized module '{0}'.": "Tried to query type of uninitialized module '{0}'.",
|
||||
"Tried to set variable type to uninitialized module type '{0}'.": "Tried to set variable type to uninitialized module type '{0}'.",
|
||||
"Function '{0}' declared a non-void return type, but has no return expression.": "Function '{0}' declared a non-void return type, but has no return expression.",
|
||||
"Getters must return a value.": "Getters must return a value.",
|
||||
"Getter and setter accessors do not agree in visibility.": "Getter and setter accessors do not agree in visibility.",
|
||||
"Invalid left-hand side of assignment expression.": "Invalid left-hand side of assignment expression.",
|
||||
"Function declared a non-void return type, but has no return expression.": "Function declared a non-void return type, but has no return expression.",
|
||||
"Cannot resolve return type reference.": "Cannot resolve return type reference.",
|
||||
"Constructors cannot have a return type of 'void'.": "Constructors cannot have a return type of 'void'.",
|
||||
"Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.": "Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.",
|
||||
"All symbols within a with block will be resolved to 'any'.": "All symbols within a with block will be resolved to 'any'.",
|
||||
"Import declarations in an internal module cannot reference an external module.": "Import declarations in an internal module cannot reference an external module.",
|
||||
"Class {0} declares interface {1} but does not implement it:{NL}{2}": "Class {0} declares interface {1} but does not implement it:{NL}{2}",
|
||||
"Class {0} declares class {1} as an interface but does not implement it:{NL}{2}": "Class {0} declares class {1} as an interface but does not implement it:{NL}{2}",
|
||||
"The operand of an increment or decrement operator must be a variable, property or indexer.": "The operand of an increment or decrement operator must be a variable, property or indexer.",
|
||||
"'this' cannot be referenced in static initializers in a class body.": "'this' cannot be referenced in static initializers in a class body.",
|
||||
"Class '{0}' cannot extend class '{1}':{NL}{2}": "Class '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend class '{1}':{NL}{2}": "Interface '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend interface '{1}':{NL}{2}": "Interface '{0}' cannot extend interface '{1}':{NL}{2}",
|
||||
"Duplicate overload signature for '{0}'.": "Duplicate overload signature for '{0}'.",
|
||||
"Duplicate constructor overload signature.": "Duplicate constructor overload signature.",
|
||||
"Duplicate overload call signature.": "Duplicate overload call signature.",
|
||||
"Duplicate overload construct signature.": "Duplicate overload construct signature.",
|
||||
"Overload signature is not compatible with function definition.": "Overload signature is not compatible with function definition.",
|
||||
"Overload signature is not compatible with function definition:{NL}{0}": "Overload signature is not compatible with function definition:{NL}{0}",
|
||||
"Overload signatures must all be public or private.": "Overload signatures must all be public or private.",
|
||||
"Overload signatures must all be exported or local.": "Overload signatures must all be exported or local.",
|
||||
"Overload signatures must all be ambient or non-ambient.": "Overload signatures must all be ambient or non-ambient.",
|
||||
"Overload signatures must all be optional or required.": "Overload signatures must all be optional or required.",
|
||||
"Specialized overload signature is not subtype of any non-specialized signature.": "Specialized overload signature is not subtype of any non-specialized signature.",
|
||||
"'this' cannot be referenced in constructor arguments.": "'this' cannot be referenced in constructor arguments.",
|
||||
"Static member cannot be accessed off an instance variable.": "Static member cannot be accessed off an instance variable.",
|
||||
"Instance member cannot be accessed off a class.": "Instance member cannot be accessed off a class.",
|
||||
"Untyped function calls may not accept type arguments.": "Untyped function calls may not accept type arguments.",
|
||||
"Non-generic functions may not accept type arguments.": "Non-generic functions may not accept type arguments.",
|
||||
"A generic type may not reference itself with a wrapped form of its own type parameters.": "A generic type may not reference itself with a wrapped form of its own type parameters.",
|
||||
"Rest parameters must be array types.": "Rest parameters must be array types.",
|
||||
"Overload signature implementation cannot use specialized type.": "Overload signature implementation cannot use specialized type.",
|
||||
"Export assignments may only be used at the top-level of external modules.": "Export assignments may only be used at the top-level of external modules.",
|
||||
"Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules": "Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules",
|
||||
"Only public instance methods of the base class are accessible via the 'super' keyword.": "Only public instance methods of the base class are accessible via the 'super' keyword.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}'.": "All numerically named properties must be subtypes of numeric indexer type '{0}'.",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}": "All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}",
|
||||
"All named properties must be subtypes of string indexer type '{0}'.": "All named properties must be subtypes of string indexer type '{0}'.",
|
||||
"All named properties must be subtypes of string indexer type '{0}':{NL}{1}": "All named properties must be subtypes of string indexer type '{0}':{NL}{1}",
|
||||
"Generic type references must include all type arguments.": "Generic type references must include all type arguments.",
|
||||
"Default arguments are not allowed in an overload parameter.": "Default arguments are not allowed in an overload parameter.",
|
||||
"Overloads cannot differ only by return type.": "Overloads cannot differ only by return type.",
|
||||
"Function expression declared a non-void return type, but has no return expression.": "Function expression declared a non-void return type, but has no return expression.",
|
||||
"Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.": "Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.",
|
||||
"Could not find symbol '{0}' in module '{1}'.": "Could not find symbol '{0}' in module '{1}'.",
|
||||
"Unable to resolve module reference '{0}'.": "Unable to resolve module reference '{0}'.",
|
||||
"Could not find module '{0}' in module '{1}'.": "Could not find module '{0}' in module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.",
|
||||
"Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.": "Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.",
|
||||
"Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.": "Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.",
|
||||
"Type '{0}' is missing property '{1}' from type '{2}'.": "Type '{0}' is missing property '{1}' from type '{2}'.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible.": "Types of property '{0}' of types '{1}' and '{2}' are incompatible.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}": "Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}",
|
||||
"Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.": "Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.",
|
||||
"Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.": "Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.",
|
||||
"Types '{0}' and '{1}' define property '{2}' as private.": "Types '{0}' and '{1}' define property '{2}' as private.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible.": "Call signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a call signature, but type '{1}' lacks one.": "Type '{0}' requires a call signature, but type '{1}' lacks one.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible.": "Construct signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a construct signature, but type '{1}' lacks one.": "Type '{0}' requires a construct signature, but type '{1}' lacks one.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible.": "Index signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Call signature expects {0} or fewer parameters.": "Call signature expects {0} or fewer parameters.",
|
||||
"Could not apply type '{0}' to argument {1} which is of type '{2}'.": "Could not apply type '{0}' to argument {1} which is of type '{2}'.",
|
||||
"Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}",
|
||||
"Type reference cannot refer to container '{0}'.": "Type reference cannot refer to container '{0}'.",
|
||||
"Type reference must refer to type.": "Type reference must refer to type.",
|
||||
"Enums with multiple declarations must provide an initializer for the first enum element.": "Enums with multiple declarations must provide an initializer for the first enum element.",
|
||||
" (+ {0} overload(s))": " (+ {0} overload(s))",
|
||||
"Current host does not support '{0}' option.": "Current host does not support '{0}' option.",
|
||||
"ECMAScript target version '{0}' not supported. Using default '{1}' code generation.": "ECMAScript target version '{0}' not supported. Using default '{1}' code generation.",
|
||||
"Module code generation '{0}' not supported.": "Module code generation '{0}' not supported.",
|
||||
"Could not find file: '{0}'.": "Could not find file: '{0}'.",
|
||||
"A file cannot have a reference to itself.": "A file cannot have a reference to itself.",
|
||||
"Cannot resolve referenced file: '{0}'.": "Cannot resolve referenced file: '{0}'.",
|
||||
"Cannot find the common subdirectory path for the input files.": "Cannot find the common subdirectory path for the input files.",
|
||||
"Emit Error: {0}.": "Emit Error: {0}.",
|
||||
"Cannot read file '{0}': {1}": "Cannot read file '{0}': {1}",
|
||||
"Unsupported file encoding.": "Unsupported file encoding.",
|
||||
"Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.": "Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.",
|
||||
"Unsupported locale: '{0}'.": "Unsupported locale: '{0}'.",
|
||||
"Execution Failed.{NL}": "Execution Failed.{NL}",
|
||||
"Should not emit a type query": "Should not emit a type query",
|
||||
"Should not emit a type reference": "Should not emit a type reference",
|
||||
"Invalid call to 'up'": "Invalid call to 'up'",
|
||||
"Invalid call to 'down'": "Invalid call to 'down'",
|
||||
"Base64 value '{0}' finished with a continuation bit": "Base64 value '{0}' finished with a continuation bit",
|
||||
"Key was already in table": "Key was already in table",
|
||||
"Unknown option '{0}'": "Unknown option '{0}'",
|
||||
"Expected {0} arguments to message, got {1} instead": "Expected {0} arguments to message, got {1} instead",
|
||||
"Expected the message '{0}' to have {1} arguments, but it had {2}": "Expected the message '{0}' to have {1} arguments, but it had {2}",
|
||||
"Invalid argument: {0}. {1}": "Invalid argument: {0}. {1}",
|
||||
"Invalid argument: {0}.": "Invalid argument: {0}.",
|
||||
"Argument out of range: {0}.": "Argument out of range: {0}.",
|
||||
"Argument null: {0}.": "Argument null: {0}.",
|
||||
"Operation not implemented properly by subclass.": "Operation not implemented properly by subclass.",
|
||||
"Not yet implemented.": "Not yet implemented.",
|
||||
"Invalid operation: {0}": "Invalid operation: {0}",
|
||||
"Invalid operation.": "Invalid operation.",
|
||||
"Could not delete file '{0}'": "Could not delete file '{0}'",
|
||||
"Could not create directory '{0}'": "Could not create directory '{0}'",
|
||||
"Error while executing file '{0}': ": "Error while executing file '{0}': ",
|
||||
"Cannot compile external modules unless the '--module' flag is provided.": "Cannot compile external modules unless the '--module' flag is provided.",
|
||||
"Option mapRoot cannot be specified without specifying sourcemap option.": "Option mapRoot cannot be specified without specifying sourcemap option.",
|
||||
"Option sourceRoot cannot be specified without specifying sourcemap option.": "Option sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.": "Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Concatenate and emit output to single file": "Concatenate and emit output to single file",
|
||||
"Generates corresponding {0} file": "Generates corresponding {0} file",
|
||||
"Specifies the location where debugger should locate map files instead of generated locations.": "Specifies the location where debugger should locate map files instead of generated locations.",
|
||||
"Specifies the location where debugger should locate TypeScript files instead of source locations.": "Specifies the location where debugger should locate TypeScript files instead of source locations.",
|
||||
"Watch input files": "Watch input files",
|
||||
"Redirect output structure to the directory": "Redirect output structure to the directory",
|
||||
"Do not emit comments to output": "Do not emit comments to output",
|
||||
"Skip resolution and preprocessing": "Skip resolution and preprocessing",
|
||||
"Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"": "Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"",
|
||||
"Specify module code generation: \"{0}\" or \"{1}\"": "Specify module code generation: \"{0}\" or \"{1}\"",
|
||||
"Print this message": "Print this message",
|
||||
"Print the compiler's version: {0}": "Print the compiler's version: {0}",
|
||||
"Allow use of deprecated \"{0}\" keyword when referencing an external module": "Allow use of deprecated \"{0}\" keyword when referencing an external module",
|
||||
"Specify locale for errors and messages. For example '{0}' or '{1}'": "Specify locale for errors and messages. For example '{0}' or '{1}'",
|
||||
"Syntax: {0}": "Syntax: {0}",
|
||||
"options": "options",
|
||||
"file": "file",
|
||||
"Examples:": "Examples:",
|
||||
"Options:": "Options:",
|
||||
"Insert command line options and files from a file.": "Insert command line options and files from a file.",
|
||||
"Version {0}": "Version {0}",
|
||||
"Use the '{0}' flag to see options": "Use the '{0}' flag to see options",
|
||||
"{NL}Recompiling ({0}):": "{NL}Recompiling ({0}):",
|
||||
"STRING": "STRING",
|
||||
"KIND": "KIND",
|
||||
"FILE": "FILE",
|
||||
"VERSION": "VERSION",
|
||||
"LOCATION": "LOCATION",
|
||||
"DIRECTORY": "DIRECTORY",
|
||||
"This version of the Javascript runtime does not support the '{0}' function.": "This version of the Javascript runtime does not support the '{0}' function.",
|
||||
"Looking up path for identifier token did not result in an identifer.": "Looking up path for identifier token did not result in an identifer.",
|
||||
"Unknown rule": "Unknown rule",
|
||||
"Invalid line number ({0})": "Invalid line number ({0})",
|
||||
"Warn on expressions and declarations with an implied 'any' type.": "Warn on expressions and declarations with an implied 'any' type.",
|
||||
"Variable '{0}' implicitly has an 'any' type.": "Variable '{0}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of '{1}' implicitly has an 'any' type.": "Parameter '{0}' of '{1}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of function type implicitly has an 'any' type.": "Parameter '{0}' of function type implicitly has an 'any' type.",
|
||||
"Member '{0}' of object type implicitly has an 'any' type.": "Member '{0}' of object type implicitly has an 'any' type.",
|
||||
"\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.": "\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.",
|
||||
"'{0}', which lacks return-type annotation, implicitly has an 'any' return type.": "'{0}', which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Function expression, which lacks return-type annotation, implicitly has an 'any' return type.": "Function expression, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Parameter '{0}' of lambda function implicitly has an 'any' type.": "Parameter '{0}' of lambda function implicitly has an 'any' type.",
|
||||
"Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.": "Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.": "Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Array Literal implicitly has an 'any' type from widening.": "Array Literal implicitly has an 'any' type from widening."
|
||||
}
|
||||
374
bin/resources/ja/jp/diagnosticMessages.generated.json
Normal file
374
bin/resources/ja/jp/diagnosticMessages.generated.json
Normal file
@ -0,0 +1,374 @@
|
||||
{
|
||||
"error TS{0}: {1}": "error TS{0}: {1}",
|
||||
"warning TS{0}: {1}": "warning TS{0}: {1}",
|
||||
"Unrecognized escape sequence.": "Unrecognized escape sequence.",
|
||||
"Unexpected character {0}.": "Unexpected character {0}.",
|
||||
"Missing close quote character.": "Missing close quote character.",
|
||||
"Identifier expected.": "Identifier expected.",
|
||||
"'{0}' keyword expected.": "'{0}' keyword expected.",
|
||||
"'{0}' expected.": "'{0}' expected.",
|
||||
"Identifier expected; '{0}' is a keyword.": "Identifier expected; '{0}' is a keyword.",
|
||||
"Automatic semicolon insertion not allowed.": "Automatic semicolon insertion not allowed.",
|
||||
"Unexpected token; '{0}' expected.": "Unexpected token; '{0}' expected.",
|
||||
"Trailing separator not allowed.": "Trailing separator not allowed.",
|
||||
"'*/' expected.": "'*/' expected.",
|
||||
"'public' or 'private' modifier must precede 'static'.": "'public' or 'private' modifier must precede 'static'.",
|
||||
"Unexpected token.": "Unexpected token.",
|
||||
"Catch clause parameter cannot have a type annotation.": "Catch clause parameter cannot have a type annotation.",
|
||||
"Rest parameter must be last in list.": "Rest parameter must be last in list.",
|
||||
"Parameter cannot have question mark and initializer.": "Parameter cannot have question mark and initializer.",
|
||||
"Required parameter cannot follow optional parameter.": "Required parameter cannot follow optional parameter.",
|
||||
"Index signatures cannot have rest parameters.": "Index signatures cannot have rest parameters.",
|
||||
"Index signature parameter cannot have accessibility modifiers.": "Index signature parameter cannot have accessibility modifiers.",
|
||||
"Index signature parameter cannot have a question mark.": "Index signature parameter cannot have a question mark.",
|
||||
"Index signature parameter cannot have an initializer.": "Index signature parameter cannot have an initializer.",
|
||||
"Index signature must have a type annotation.": "Index signature must have a type annotation.",
|
||||
"Index signature parameter must have a type annotation.": "Index signature parameter must have a type annotation.",
|
||||
"Index signature parameter type must be 'string' or 'number'.": "Index signature parameter type must be 'string' or 'number'.",
|
||||
"'extends' clause already seen.": "'extends' clause already seen.",
|
||||
"'extends' clause must precede 'implements' clause.": "'extends' clause must precede 'implements' clause.",
|
||||
"Classes can only extend a single class.": "Classes can only extend a single class.",
|
||||
"'implements' clause already seen.": "'implements' clause already seen.",
|
||||
"Accessibility modifier already seen.": "Accessibility modifier already seen.",
|
||||
"'{0}' modifier must precede '{1}' modifier.": "'{0}' modifier must precede '{1}' modifier.",
|
||||
"'{0}' modifier already seen.": "'{0}' modifier already seen.",
|
||||
"'{0}' modifier cannot appear on a class element.": "'{0}' modifier cannot appear on a class element.",
|
||||
"Interface declaration cannot have 'implements' clause.": "Interface declaration cannot have 'implements' clause.",
|
||||
"'super' invocation cannot have type arguments.": "'super' invocation cannot have type arguments.",
|
||||
"Only ambient modules can use quoted names.": "Only ambient modules can use quoted names.",
|
||||
"Statements are not allowed in ambient contexts.": "Statements are not allowed in ambient contexts.",
|
||||
"Implementations are not allowed in ambient contexts.": "Implementations are not allowed in ambient contexts.",
|
||||
"'declare' modifier not allowed for code already in an ambient context.": "'declare' modifier not allowed for code already in an ambient context.",
|
||||
"Initializers are not allowed in ambient contexts.": "Initializers are not allowed in ambient contexts.",
|
||||
"Parameter property declarations can only be used in constructors.": "Parameter property declarations can only be used in constructors.",
|
||||
"Function implementation expected.": "Function implementation expected.",
|
||||
"Constructor implementation expected.": "Constructor implementation expected.",
|
||||
"Function overload name must be '{0}'.": "Function overload name must be '{0}'.",
|
||||
"'{0}' modifier cannot appear on a module element.": "'{0}' modifier cannot appear on a module element.",
|
||||
"'declare' modifier cannot appear on an interface declaration.": "'declare' modifier cannot appear on an interface declaration.",
|
||||
"'declare' modifier required for top level element.": "'declare' modifier required for top level element.",
|
||||
"Rest parameter cannot be optional.": "Rest parameter cannot be optional.",
|
||||
"Rest parameter cannot have an initializer.": "Rest parameter cannot have an initializer.",
|
||||
"'set' accessor must have one and only one parameter.": "'set' accessor must have one and only one parameter.",
|
||||
"'set' accessor parameter cannot have accessibility modifier.": "'set' accessor parameter cannot have accessibility modifier.",
|
||||
"'set' accessor parameter cannot be optional.": "'set' accessor parameter cannot be optional.",
|
||||
"'set' accessor parameter cannot have an initializer.": "'set' accessor parameter cannot have an initializer.",
|
||||
"'set' accessor cannot have rest parameter.": "'set' accessor cannot have rest parameter.",
|
||||
"'get' accessor cannot have parameters.": "'get' accessor cannot have parameters.",
|
||||
"Modifiers cannot appear here.": "Modifiers cannot appear here.",
|
||||
"Accessors are only available when targeting ECMAScript 5 and higher.": "Accessors are only available when targeting ECMAScript 5 and higher.",
|
||||
"Class name cannot be '{0}'.": "Class name cannot be '{0}'.",
|
||||
"Interface name cannot be '{0}'.": "Interface name cannot be '{0}'.",
|
||||
"Enum name cannot be '{0}'.": "Enum name cannot be '{0}'.",
|
||||
"Module name cannot be '{0}'.": "Module name cannot be '{0}'.",
|
||||
"Enum member must have initializer.": "Enum member must have initializer.",
|
||||
"Export assignment cannot be used in internal modules.": "Export assignment cannot be used in internal modules.",
|
||||
"Export assignment not allowed in module with exported element.": "Export assignment not allowed in module with exported element.",
|
||||
"Module cannot have multiple export assignments.": "Module cannot have multiple export assignments.",
|
||||
"Ambient enum elements can only have integer literal initializers.": "Ambient enum elements can only have integer literal initializers.",
|
||||
"module, class, interface, enum, import or statement": "module, class, interface, enum, import or statement",
|
||||
"constructor, function, accessor or variable": "constructor, function, accessor or variable",
|
||||
"statement": "statement",
|
||||
"case or default clause": "case or default clause",
|
||||
"identifier": "identifier",
|
||||
"call, construct, index, property or function signature": "call, construct, index, property or function signature",
|
||||
"expression": "expression",
|
||||
"type name": "type name",
|
||||
"property or accessor": "property or accessor",
|
||||
"parameter": "parameter",
|
||||
"type": "type",
|
||||
"type parameter": "type parameter",
|
||||
"'declare' modifier not allowed on import declaration.": "'declare' modifier not allowed on import declaration.",
|
||||
"Function overload must be static": "Function overload must be static",
|
||||
"Function overload must not be static": "Function overload must not be static",
|
||||
"Duplicate identifier '{0}'.": "Duplicate identifier '{0}'.",
|
||||
"The name '{0}' does not exist in the current scope.": "The name '{0}' does not exist in the current scope.",
|
||||
"The name '{0}' does not refer to a value.": "The name '{0}' does not refer to a value.",
|
||||
"'super' can only be used inside a class instance method.": "'super' can only be used inside a class instance method.",
|
||||
"The left-hand side of an assignment expression must be a variable, property or indexer.": "The left-hand side of an assignment expression must be a variable, property or indexer.",
|
||||
"Value of type '{0}' is not callable. Did you mean to include 'new'?": "Value of type '{0}' is not callable. Did you mean to include 'new'?",
|
||||
"Value of type '{0}' is not callable.": "Value of type '{0}' is not callable.",
|
||||
"Value of type '{0}' is not newable.": "Value of type '{0}' is not newable.",
|
||||
"Value of type '{0}' is not indexable by type '{1}'.": "Value of type '{0}' is not indexable by type '{1}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}'.": "Operator '{0}' cannot be applied to types '{1}' and '{2}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}": "Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}",
|
||||
"Cannot convert '{0}' to '{1}'.": "Cannot convert '{0}' to '{1}'.",
|
||||
"Cannot convert '{0}' to '{1}':{NL}{2}": "Cannot convert '{0}' to '{1}':{NL}{2}",
|
||||
"Expected var, class, interface, or module.": "Expected var, class, interface, or module.",
|
||||
"Operator '{0}' cannot be applied to type '{1}'.": "Operator '{0}' cannot be applied to type '{1}'.",
|
||||
"Getter '{0}' already declared.": "Getter '{0}' already declared.",
|
||||
"Setter '{0}' already declared.": "Setter '{0}' already declared.",
|
||||
"Accessors cannot have type parameters.": "Accessors cannot have type parameters.",
|
||||
"Exported class '{0}' extends private class '{1}'.": "Exported class '{0}' extends private class '{1}'.",
|
||||
"Exported class '{0}' implements private interface '{1}'.": "Exported class '{0}' implements private interface '{1}'.",
|
||||
"Exported interface '{0}' extends private interface '{1}'.": "Exported interface '{0}' extends private interface '{1}'.",
|
||||
"Exported class '{0}' extends class from inaccessible module {1}.": "Exported class '{0}' extends class from inaccessible module {1}.",
|
||||
"Exported class '{0}' implements interface from inaccessible module {1}.": "Exported class '{0}' implements interface from inaccessible module {1}.",
|
||||
"Exported interface '{0}' extends interface from inaccessible module {1}.": "Exported interface '{0}' extends interface from inaccessible module {1}.",
|
||||
"Public static property '{0}' of exported class has or is using private type '{1}'.": "Public static property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Public property '{0}' of exported class has or is using private type '{1}'.": "Public property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Property '{0}' of exported interface has or is using private type '{1}'.": "Property '{0}' of exported interface has or is using private type '{1}'.",
|
||||
"Exported variable '{0}' has or is using private type '{1}'.": "Exported variable '{0}' has or is using private type '{1}'.",
|
||||
"Public static property '{0}' of exported class is using inaccessible module {1}.": "Public static property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Public property '{0}' of exported class is using inaccessible module {1}.": "Public property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Property '{0}' of exported interface is using inaccessible module {1}.": "Property '{0}' of exported interface is using inaccessible module {1}.",
|
||||
"Exported variable '{0}' is using inaccessible module {1}.": "Exported variable '{0}' is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor from exported class has or is using private type '{1}'.": "Parameter '{0}' of constructor from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of method from exported interface has or is using private type '{1}'.": "Parameter '{0}' of method from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of exported function has or is using private type '{1}'.": "Parameter '{0}' of exported function has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor from exported class is using inaccessible module {1}.": "Parameter '{0}' of constructor from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.": "Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of call signature from exported interface is using inaccessible module {1}": "Parameter '{0}' of call signature from exported interface is using inaccessible module {1}",
|
||||
"Parameter '{0}' of public static method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of method from exported interface is using inaccessible module {1}.": "Parameter '{0}' of method from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of exported function is using inaccessible module {1}.": "Parameter '{0}' of exported function is using inaccessible module {1}.",
|
||||
"Return type of public static property getter from exported class has or is using private type '{0}'.": "Return type of public static property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of public property getter from exported class has or is using private type '{0}'.": "Return type of public property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of constructor signature from exported interface has or is using private type '{0}'.": "Return type of constructor signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of call signature from exported interface has or is using private type '{0}'.": "Return type of call signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of index signature from exported interface has or is using private type '{0}'.": "Return type of index signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of public static method from exported class has or is using private type '{0}'.": "Return type of public static method from exported class has or is using private type '{0}'.",
|
||||
"Return type of public method from exported class has or is using private type '{0}'.": "Return type of public method from exported class has or is using private type '{0}'.",
|
||||
"Return type of method from exported interface has or is using private type '{0}'.": "Return type of method from exported interface has or is using private type '{0}'.",
|
||||
"Return type of exported function has or is using private type '{0}'.": "Return type of exported function has or is using private type '{0}'.",
|
||||
"Return type of public static property getter from exported class is using inaccessible module {0}.": "Return type of public static property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of public property getter from exported class is using inaccessible module {0}.": "Return type of public property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of constructor signature from exported interface is using inaccessible module {0}.": "Return type of constructor signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of call signature from exported interface is using inaccessible module {0}.": "Return type of call signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of index signature from exported interface is using inaccessible module {0}.": "Return type of index signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of public static method from exported class is using inaccessible module {0}.": "Return type of public static method from exported class is using inaccessible module {0}.",
|
||||
"Return type of public method from exported class is using inaccessible module {0}.": "Return type of public method from exported class is using inaccessible module {0}.",
|
||||
"Return type of method from exported interface is using inaccessible module {0}.": "Return type of method from exported interface is using inaccessible module {0}.",
|
||||
"Return type of exported function is using inaccessible module {0}.": "Return type of exported function is using inaccessible module {0}.",
|
||||
"'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.": "'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.",
|
||||
"A parameter list must follow a generic type argument list. '(' expected.": "A parameter list must follow a generic type argument list. '(' expected.",
|
||||
"Multiple constructor implementations are not allowed.": "Multiple constructor implementations are not allowed.",
|
||||
"Unable to resolve external module '{0}'.": "Unable to resolve external module '{0}'.",
|
||||
"Module cannot be aliased to a non-module type.": "Module cannot be aliased to a non-module type.",
|
||||
"A class may only extend another class.": "A class may only extend another class.",
|
||||
"A class may only implement another class or interface.": "A class may only implement another class or interface.",
|
||||
"An interface may only extend another class or interface.": "An interface may only extend another class or interface.",
|
||||
"An interface cannot implement another type.": "An interface cannot implement another type.",
|
||||
"Unable to resolve type.": "Unable to resolve type.",
|
||||
"Unable to resolve type of '{0}'.": "Unable to resolve type of '{0}'.",
|
||||
"Unable to resolve type parameter constraint.": "Unable to resolve type parameter constraint.",
|
||||
"Type parameter constraint cannot be a primitive type.": "Type parameter constraint cannot be a primitive type.",
|
||||
"Supplied parameters do not match any signature of call target.": "Supplied parameters do not match any signature of call target.",
|
||||
"Supplied parameters do not match any signature of call target:{NL}{0}": "Supplied parameters do not match any signature of call target:{NL}{0}",
|
||||
"Invalid 'new' expression.": "Invalid 'new' expression.",
|
||||
"Call signatures used in a 'new' expression must have a 'void' return type.": "Call signatures used in a 'new' expression must have a 'void' return type.",
|
||||
"Could not select overload for 'new' expression.": "Could not select overload for 'new' expression.",
|
||||
"Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.": "Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.",
|
||||
"Could not select overload for 'call' expression.": "Could not select overload for 'call' expression.",
|
||||
"Cannot invoke an expression whose type lacks a call signature.": "Cannot invoke an expression whose type lacks a call signature.",
|
||||
"Calls to 'super' are only valid inside a class.": "Calls to 'super' are only valid inside a class.",
|
||||
"Generic type '{0}' requires {1} type argument(s).": "Generic type '{0}' requires {1} type argument(s).",
|
||||
"Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.": "Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.",
|
||||
"Type of array literal cannot be determined. Best common type could not be found for array elements.": "Type of array literal cannot be determined. Best common type could not be found for array elements.",
|
||||
"Could not find enclosing symbol for dotted name '{0}'.": "Could not find enclosing symbol for dotted name '{0}'.",
|
||||
"The property '{0}' does not exist on value of type '{1}'.": "The property '{0}' does not exist on value of type '{1}'.",
|
||||
"Could not find symbol '{0}'.": "Could not find symbol '{0}'.",
|
||||
"'get' and 'set' accessor must have the same type.": "'get' and 'set' accessor must have the same type.",
|
||||
"'this' cannot be referenced in current location.": "'this' cannot be referenced in current location.",
|
||||
"Static methods cannot reference class type parameters.": "Static methods cannot reference class type parameters.",
|
||||
"Class '{0}' is recursively referenced as a base type of itself.": "Class '{0}' is recursively referenced as a base type of itself.",
|
||||
"Interface '{0}' is recursively referenced as a base type of itself.": "Interface '{0}' is recursively referenced as a base type of itself.",
|
||||
"'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.": "'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.",
|
||||
"'super' cannot be referenced in non-derived classes.": "'super' cannot be referenced in non-derived classes.",
|
||||
"A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.": "A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.",
|
||||
"Constructors for derived classes must contain a 'super' call.": "Constructors for derived classes must contain a 'super' call.",
|
||||
"Super calls are not permitted outside constructors or in local functions inside constructors.": "Super calls are not permitted outside constructors or in local functions inside constructors.",
|
||||
"'{0}.{1}' is inaccessible.": "'{0}.{1}' is inaccessible.",
|
||||
"'this' cannot be referenced within module bodies.": "'this' cannot be referenced within module bodies.",
|
||||
"Invalid '+' expression - types not known to support the addition operator.": "Invalid '+' expression - types not known to support the addition operator.",
|
||||
"The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.": "The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.",
|
||||
"Variable declarations of a 'for' statement cannot use a type annotation.": "Variable declarations of a 'for' statement cannot use a type annotation.",
|
||||
"Variable declarations of a 'for' statement must be of types 'string' or 'any'.": "Variable declarations of a 'for' statement must be of types 'string' or 'any'.",
|
||||
"The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.": "The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'in' expression must be of types 'string' or 'any'.": "The left-hand side of an 'in' expression must be of types 'string' or 'any'.",
|
||||
"The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.": "The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.": "The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.": "The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.",
|
||||
"Setters cannot return a value.": "Setters cannot return a value.",
|
||||
"Tried to query type of uninitialized module '{0}'.": "Tried to query type of uninitialized module '{0}'.",
|
||||
"Tried to set variable type to uninitialized module type '{0}'.": "Tried to set variable type to uninitialized module type '{0}'.",
|
||||
"Function '{0}' declared a non-void return type, but has no return expression.": "Function '{0}' declared a non-void return type, but has no return expression.",
|
||||
"Getters must return a value.": "Getters must return a value.",
|
||||
"Getter and setter accessors do not agree in visibility.": "Getter and setter accessors do not agree in visibility.",
|
||||
"Invalid left-hand side of assignment expression.": "Invalid left-hand side of assignment expression.",
|
||||
"Function declared a non-void return type, but has no return expression.": "Function declared a non-void return type, but has no return expression.",
|
||||
"Cannot resolve return type reference.": "Cannot resolve return type reference.",
|
||||
"Constructors cannot have a return type of 'void'.": "Constructors cannot have a return type of 'void'.",
|
||||
"Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.": "Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.",
|
||||
"All symbols within a with block will be resolved to 'any'.": "All symbols within a with block will be resolved to 'any'.",
|
||||
"Import declarations in an internal module cannot reference an external module.": "Import declarations in an internal module cannot reference an external module.",
|
||||
"Class {0} declares interface {1} but does not implement it:{NL}{2}": "Class {0} declares interface {1} but does not implement it:{NL}{2}",
|
||||
"Class {0} declares class {1} as an interface but does not implement it:{NL}{2}": "Class {0} declares class {1} as an interface but does not implement it:{NL}{2}",
|
||||
"The operand of an increment or decrement operator must be a variable, property or indexer.": "The operand of an increment or decrement operator must be a variable, property or indexer.",
|
||||
"'this' cannot be referenced in static initializers in a class body.": "'this' cannot be referenced in static initializers in a class body.",
|
||||
"Class '{0}' cannot extend class '{1}':{NL}{2}": "Class '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend class '{1}':{NL}{2}": "Interface '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend interface '{1}':{NL}{2}": "Interface '{0}' cannot extend interface '{1}':{NL}{2}",
|
||||
"Duplicate overload signature for '{0}'.": "Duplicate overload signature for '{0}'.",
|
||||
"Duplicate constructor overload signature.": "Duplicate constructor overload signature.",
|
||||
"Duplicate overload call signature.": "Duplicate overload call signature.",
|
||||
"Duplicate overload construct signature.": "Duplicate overload construct signature.",
|
||||
"Overload signature is not compatible with function definition.": "Overload signature is not compatible with function definition.",
|
||||
"Overload signature is not compatible with function definition:{NL}{0}": "Overload signature is not compatible with function definition:{NL}{0}",
|
||||
"Overload signatures must all be public or private.": "Overload signatures must all be public or private.",
|
||||
"Overload signatures must all be exported or local.": "Overload signatures must all be exported or local.",
|
||||
"Overload signatures must all be ambient or non-ambient.": "Overload signatures must all be ambient or non-ambient.",
|
||||
"Overload signatures must all be optional or required.": "Overload signatures must all be optional or required.",
|
||||
"Specialized overload signature is not subtype of any non-specialized signature.": "Specialized overload signature is not subtype of any non-specialized signature.",
|
||||
"'this' cannot be referenced in constructor arguments.": "'this' cannot be referenced in constructor arguments.",
|
||||
"Static member cannot be accessed off an instance variable.": "Static member cannot be accessed off an instance variable.",
|
||||
"Instance member cannot be accessed off a class.": "Instance member cannot be accessed off a class.",
|
||||
"Untyped function calls may not accept type arguments.": "Untyped function calls may not accept type arguments.",
|
||||
"Non-generic functions may not accept type arguments.": "Non-generic functions may not accept type arguments.",
|
||||
"A generic type may not reference itself with a wrapped form of its own type parameters.": "A generic type may not reference itself with a wrapped form of its own type parameters.",
|
||||
"Rest parameters must be array types.": "Rest parameters must be array types.",
|
||||
"Overload signature implementation cannot use specialized type.": "Overload signature implementation cannot use specialized type.",
|
||||
"Export assignments may only be used at the top-level of external modules.": "Export assignments may only be used at the top-level of external modules.",
|
||||
"Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules": "Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules",
|
||||
"Only public instance methods of the base class are accessible via the 'super' keyword.": "Only public instance methods of the base class are accessible via the 'super' keyword.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}'.": "All numerically named properties must be subtypes of numeric indexer type '{0}'.",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}": "All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}",
|
||||
"All named properties must be subtypes of string indexer type '{0}'.": "All named properties must be subtypes of string indexer type '{0}'.",
|
||||
"All named properties must be subtypes of string indexer type '{0}':{NL}{1}": "All named properties must be subtypes of string indexer type '{0}':{NL}{1}",
|
||||
"Generic type references must include all type arguments.": "Generic type references must include all type arguments.",
|
||||
"Default arguments are not allowed in an overload parameter.": "Default arguments are not allowed in an overload parameter.",
|
||||
"Overloads cannot differ only by return type.": "Overloads cannot differ only by return type.",
|
||||
"Function expression declared a non-void return type, but has no return expression.": "Function expression declared a non-void return type, but has no return expression.",
|
||||
"Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.": "Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.",
|
||||
"Could not find symbol '{0}' in module '{1}'.": "Could not find symbol '{0}' in module '{1}'.",
|
||||
"Unable to resolve module reference '{0}'.": "Unable to resolve module reference '{0}'.",
|
||||
"Could not find module '{0}' in module '{1}'.": "Could not find module '{0}' in module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.",
|
||||
"Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.": "Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.",
|
||||
"Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.": "Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.",
|
||||
"Type '{0}' is missing property '{1}' from type '{2}'.": "Type '{0}' is missing property '{1}' from type '{2}'.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible.": "Types of property '{0}' of types '{1}' and '{2}' are incompatible.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}": "Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}",
|
||||
"Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.": "Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.",
|
||||
"Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.": "Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.",
|
||||
"Types '{0}' and '{1}' define property '{2}' as private.": "Types '{0}' and '{1}' define property '{2}' as private.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible.": "Call signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a call signature, but type '{1}' lacks one.": "Type '{0}' requires a call signature, but type '{1}' lacks one.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible.": "Construct signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a construct signature, but type '{1}' lacks one.": "Type '{0}' requires a construct signature, but type '{1}' lacks one.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible.": "Index signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Call signature expects {0} or fewer parameters.": "Call signature expects {0} or fewer parameters.",
|
||||
"Could not apply type '{0}' to argument {1} which is of type '{2}'.": "Could not apply type '{0}' to argument {1} which is of type '{2}'.",
|
||||
"Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}",
|
||||
"Type reference cannot refer to container '{0}'.": "Type reference cannot refer to container '{0}'.",
|
||||
"Type reference must refer to type.": "Type reference must refer to type.",
|
||||
"Enums with multiple declarations must provide an initializer for the first enum element.": "Enums with multiple declarations must provide an initializer for the first enum element.",
|
||||
" (+ {0} overload(s))": " (+ {0} overload(s))",
|
||||
"Current host does not support '{0}' option.": "Current host does not support '{0}' option.",
|
||||
"ECMAScript target version '{0}' not supported. Using default '{1}' code generation.": "ECMAScript target version '{0}' not supported. Using default '{1}' code generation.",
|
||||
"Module code generation '{0}' not supported.": "Module code generation '{0}' not supported.",
|
||||
"Could not find file: '{0}'.": "Could not find file: '{0}'.",
|
||||
"A file cannot have a reference to itself.": "A file cannot have a reference to itself.",
|
||||
"Cannot resolve referenced file: '{0}'.": "Cannot resolve referenced file: '{0}'.",
|
||||
"Cannot find the common subdirectory path for the input files.": "Cannot find the common subdirectory path for the input files.",
|
||||
"Emit Error: {0}.": "Emit Error: {0}.",
|
||||
"Cannot read file '{0}': {1}": "Cannot read file '{0}': {1}",
|
||||
"Unsupported file encoding.": "Unsupported file encoding.",
|
||||
"Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.": "Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.",
|
||||
"Unsupported locale: '{0}'.": "Unsupported locale: '{0}'.",
|
||||
"Execution Failed.{NL}": "Execution Failed.{NL}",
|
||||
"Should not emit a type query": "Should not emit a type query",
|
||||
"Should not emit a type reference": "Should not emit a type reference",
|
||||
"Invalid call to 'up'": "Invalid call to 'up'",
|
||||
"Invalid call to 'down'": "Invalid call to 'down'",
|
||||
"Base64 value '{0}' finished with a continuation bit": "Base64 value '{0}' finished with a continuation bit",
|
||||
"Key was already in table": "Key was already in table",
|
||||
"Unknown option '{0}'": "Unknown option '{0}'",
|
||||
"Expected {0} arguments to message, got {1} instead": "Expected {0} arguments to message, got {1} instead",
|
||||
"Expected the message '{0}' to have {1} arguments, but it had {2}": "Expected the message '{0}' to have {1} arguments, but it had {2}",
|
||||
"Invalid argument: {0}. {1}": "Invalid argument: {0}. {1}",
|
||||
"Invalid argument: {0}.": "Invalid argument: {0}.",
|
||||
"Argument out of range: {0}.": "Argument out of range: {0}.",
|
||||
"Argument null: {0}.": "Argument null: {0}.",
|
||||
"Operation not implemented properly by subclass.": "Operation not implemented properly by subclass.",
|
||||
"Not yet implemented.": "Not yet implemented.",
|
||||
"Invalid operation: {0}": "Invalid operation: {0}",
|
||||
"Invalid operation.": "Invalid operation.",
|
||||
"Could not delete file '{0}'": "Could not delete file '{0}'",
|
||||
"Could not create directory '{0}'": "Could not create directory '{0}'",
|
||||
"Error while executing file '{0}': ": "Error while executing file '{0}': ",
|
||||
"Cannot compile external modules unless the '--module' flag is provided.": "Cannot compile external modules unless the '--module' flag is provided.",
|
||||
"Option mapRoot cannot be specified without specifying sourcemap option.": "Option mapRoot cannot be specified without specifying sourcemap option.",
|
||||
"Option sourceRoot cannot be specified without specifying sourcemap option.": "Option sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.": "Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Concatenate and emit output to single file": "Concatenate and emit output to single file",
|
||||
"Generates corresponding {0} file": "Generates corresponding {0} file",
|
||||
"Specifies the location where debugger should locate map files instead of generated locations.": "Specifies the location where debugger should locate map files instead of generated locations.",
|
||||
"Specifies the location where debugger should locate TypeScript files instead of source locations.": "Specifies the location where debugger should locate TypeScript files instead of source locations.",
|
||||
"Watch input files": "Watch input files",
|
||||
"Redirect output structure to the directory": "Redirect output structure to the directory",
|
||||
"Do not emit comments to output": "Do not emit comments to output",
|
||||
"Skip resolution and preprocessing": "Skip resolution and preprocessing",
|
||||
"Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"": "Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"",
|
||||
"Specify module code generation: \"{0}\" or \"{1}\"": "Specify module code generation: \"{0}\" or \"{1}\"",
|
||||
"Print this message": "Print this message",
|
||||
"Print the compiler's version: {0}": "Print the compiler's version: {0}",
|
||||
"Allow use of deprecated \"{0}\" keyword when referencing an external module": "Allow use of deprecated \"{0}\" keyword when referencing an external module",
|
||||
"Specify locale for errors and messages. For example '{0}' or '{1}'": "Specify locale for errors and messages. For example '{0}' or '{1}'",
|
||||
"Syntax: {0}": "Syntax: {0}",
|
||||
"options": "options",
|
||||
"file": "file",
|
||||
"Examples:": "Examples:",
|
||||
"Options:": "Options:",
|
||||
"Insert command line options and files from a file.": "Insert command line options and files from a file.",
|
||||
"Version {0}": "Version {0}",
|
||||
"Use the '{0}' flag to see options": "Use the '{0}' flag to see options",
|
||||
"{NL}Recompiling ({0}):": "{NL}Recompiling ({0}):",
|
||||
"STRING": "STRING",
|
||||
"KIND": "KIND",
|
||||
"FILE": "FILE",
|
||||
"VERSION": "VERSION",
|
||||
"LOCATION": "LOCATION",
|
||||
"DIRECTORY": "DIRECTORY",
|
||||
"This version of the Javascript runtime does not support the '{0}' function.": "This version of the Javascript runtime does not support the '{0}' function.",
|
||||
"Looking up path for identifier token did not result in an identifer.": "Looking up path for identifier token did not result in an identifer.",
|
||||
"Unknown rule": "Unknown rule",
|
||||
"Invalid line number ({0})": "Invalid line number ({0})",
|
||||
"Warn on expressions and declarations with an implied 'any' type.": "Warn on expressions and declarations with an implied 'any' type.",
|
||||
"Variable '{0}' implicitly has an 'any' type.": "Variable '{0}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of '{1}' implicitly has an 'any' type.": "Parameter '{0}' of '{1}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of function type implicitly has an 'any' type.": "Parameter '{0}' of function type implicitly has an 'any' type.",
|
||||
"Member '{0}' of object type implicitly has an 'any' type.": "Member '{0}' of object type implicitly has an 'any' type.",
|
||||
"\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.": "\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.",
|
||||
"'{0}', which lacks return-type annotation, implicitly has an 'any' return type.": "'{0}', which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Function expression, which lacks return-type annotation, implicitly has an 'any' return type.": "Function expression, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Parameter '{0}' of lambda function implicitly has an 'any' type.": "Parameter '{0}' of lambda function implicitly has an 'any' type.",
|
||||
"Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.": "Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.": "Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Array Literal implicitly has an 'any' type from widening.": "Array Literal implicitly has an 'any' type from widening."
|
||||
}
|
||||
374
bin/resources/ko/diagnosticMessages.generated.json
Normal file
374
bin/resources/ko/diagnosticMessages.generated.json
Normal file
@ -0,0 +1,374 @@
|
||||
{
|
||||
"error TS{0}: {1}": "error TS{0}: {1}",
|
||||
"warning TS{0}: {1}": "warning TS{0}: {1}",
|
||||
"Unrecognized escape sequence.": "Unrecognized escape sequence.",
|
||||
"Unexpected character {0}.": "Unexpected character {0}.",
|
||||
"Missing close quote character.": "Missing close quote character.",
|
||||
"Identifier expected.": "Identifier expected.",
|
||||
"'{0}' keyword expected.": "'{0}' keyword expected.",
|
||||
"'{0}' expected.": "'{0}' expected.",
|
||||
"Identifier expected; '{0}' is a keyword.": "Identifier expected; '{0}' is a keyword.",
|
||||
"Automatic semicolon insertion not allowed.": "Automatic semicolon insertion not allowed.",
|
||||
"Unexpected token; '{0}' expected.": "Unexpected token; '{0}' expected.",
|
||||
"Trailing separator not allowed.": "Trailing separator not allowed.",
|
||||
"'*/' expected.": "'*/' expected.",
|
||||
"'public' or 'private' modifier must precede 'static'.": "'public' or 'private' modifier must precede 'static'.",
|
||||
"Unexpected token.": "Unexpected token.",
|
||||
"Catch clause parameter cannot have a type annotation.": "Catch clause parameter cannot have a type annotation.",
|
||||
"Rest parameter must be last in list.": "Rest parameter must be last in list.",
|
||||
"Parameter cannot have question mark and initializer.": "Parameter cannot have question mark and initializer.",
|
||||
"Required parameter cannot follow optional parameter.": "Required parameter cannot follow optional parameter.",
|
||||
"Index signatures cannot have rest parameters.": "Index signatures cannot have rest parameters.",
|
||||
"Index signature parameter cannot have accessibility modifiers.": "Index signature parameter cannot have accessibility modifiers.",
|
||||
"Index signature parameter cannot have a question mark.": "Index signature parameter cannot have a question mark.",
|
||||
"Index signature parameter cannot have an initializer.": "Index signature parameter cannot have an initializer.",
|
||||
"Index signature must have a type annotation.": "Index signature must have a type annotation.",
|
||||
"Index signature parameter must have a type annotation.": "Index signature parameter must have a type annotation.",
|
||||
"Index signature parameter type must be 'string' or 'number'.": "Index signature parameter type must be 'string' or 'number'.",
|
||||
"'extends' clause already seen.": "'extends' clause already seen.",
|
||||
"'extends' clause must precede 'implements' clause.": "'extends' clause must precede 'implements' clause.",
|
||||
"Classes can only extend a single class.": "Classes can only extend a single class.",
|
||||
"'implements' clause already seen.": "'implements' clause already seen.",
|
||||
"Accessibility modifier already seen.": "Accessibility modifier already seen.",
|
||||
"'{0}' modifier must precede '{1}' modifier.": "'{0}' modifier must precede '{1}' modifier.",
|
||||
"'{0}' modifier already seen.": "'{0}' modifier already seen.",
|
||||
"'{0}' modifier cannot appear on a class element.": "'{0}' modifier cannot appear on a class element.",
|
||||
"Interface declaration cannot have 'implements' clause.": "Interface declaration cannot have 'implements' clause.",
|
||||
"'super' invocation cannot have type arguments.": "'super' invocation cannot have type arguments.",
|
||||
"Only ambient modules can use quoted names.": "Only ambient modules can use quoted names.",
|
||||
"Statements are not allowed in ambient contexts.": "Statements are not allowed in ambient contexts.",
|
||||
"Implementations are not allowed in ambient contexts.": "Implementations are not allowed in ambient contexts.",
|
||||
"'declare' modifier not allowed for code already in an ambient context.": "'declare' modifier not allowed for code already in an ambient context.",
|
||||
"Initializers are not allowed in ambient contexts.": "Initializers are not allowed in ambient contexts.",
|
||||
"Parameter property declarations can only be used in constructors.": "Parameter property declarations can only be used in constructors.",
|
||||
"Function implementation expected.": "Function implementation expected.",
|
||||
"Constructor implementation expected.": "Constructor implementation expected.",
|
||||
"Function overload name must be '{0}'.": "Function overload name must be '{0}'.",
|
||||
"'{0}' modifier cannot appear on a module element.": "'{0}' modifier cannot appear on a module element.",
|
||||
"'declare' modifier cannot appear on an interface declaration.": "'declare' modifier cannot appear on an interface declaration.",
|
||||
"'declare' modifier required for top level element.": "'declare' modifier required for top level element.",
|
||||
"Rest parameter cannot be optional.": "Rest parameter cannot be optional.",
|
||||
"Rest parameter cannot have an initializer.": "Rest parameter cannot have an initializer.",
|
||||
"'set' accessor must have one and only one parameter.": "'set' accessor must have one and only one parameter.",
|
||||
"'set' accessor parameter cannot have accessibility modifier.": "'set' accessor parameter cannot have accessibility modifier.",
|
||||
"'set' accessor parameter cannot be optional.": "'set' accessor parameter cannot be optional.",
|
||||
"'set' accessor parameter cannot have an initializer.": "'set' accessor parameter cannot have an initializer.",
|
||||
"'set' accessor cannot have rest parameter.": "'set' accessor cannot have rest parameter.",
|
||||
"'get' accessor cannot have parameters.": "'get' accessor cannot have parameters.",
|
||||
"Modifiers cannot appear here.": "Modifiers cannot appear here.",
|
||||
"Accessors are only available when targeting ECMAScript 5 and higher.": "Accessors are only available when targeting ECMAScript 5 and higher.",
|
||||
"Class name cannot be '{0}'.": "Class name cannot be '{0}'.",
|
||||
"Interface name cannot be '{0}'.": "Interface name cannot be '{0}'.",
|
||||
"Enum name cannot be '{0}'.": "Enum name cannot be '{0}'.",
|
||||
"Module name cannot be '{0}'.": "Module name cannot be '{0}'.",
|
||||
"Enum member must have initializer.": "Enum member must have initializer.",
|
||||
"Export assignment cannot be used in internal modules.": "Export assignment cannot be used in internal modules.",
|
||||
"Export assignment not allowed in module with exported element.": "Export assignment not allowed in module with exported element.",
|
||||
"Module cannot have multiple export assignments.": "Module cannot have multiple export assignments.",
|
||||
"Ambient enum elements can only have integer literal initializers.": "Ambient enum elements can only have integer literal initializers.",
|
||||
"module, class, interface, enum, import or statement": "module, class, interface, enum, import or statement",
|
||||
"constructor, function, accessor or variable": "constructor, function, accessor or variable",
|
||||
"statement": "statement",
|
||||
"case or default clause": "case or default clause",
|
||||
"identifier": "identifier",
|
||||
"call, construct, index, property or function signature": "call, construct, index, property or function signature",
|
||||
"expression": "expression",
|
||||
"type name": "type name",
|
||||
"property or accessor": "property or accessor",
|
||||
"parameter": "parameter",
|
||||
"type": "type",
|
||||
"type parameter": "type parameter",
|
||||
"'declare' modifier not allowed on import declaration.": "'declare' modifier not allowed on import declaration.",
|
||||
"Function overload must be static": "Function overload must be static",
|
||||
"Function overload must not be static": "Function overload must not be static",
|
||||
"Duplicate identifier '{0}'.": "Duplicate identifier '{0}'.",
|
||||
"The name '{0}' does not exist in the current scope.": "The name '{0}' does not exist in the current scope.",
|
||||
"The name '{0}' does not refer to a value.": "The name '{0}' does not refer to a value.",
|
||||
"'super' can only be used inside a class instance method.": "'super' can only be used inside a class instance method.",
|
||||
"The left-hand side of an assignment expression must be a variable, property or indexer.": "The left-hand side of an assignment expression must be a variable, property or indexer.",
|
||||
"Value of type '{0}' is not callable. Did you mean to include 'new'?": "Value of type '{0}' is not callable. Did you mean to include 'new'?",
|
||||
"Value of type '{0}' is not callable.": "Value of type '{0}' is not callable.",
|
||||
"Value of type '{0}' is not newable.": "Value of type '{0}' is not newable.",
|
||||
"Value of type '{0}' is not indexable by type '{1}'.": "Value of type '{0}' is not indexable by type '{1}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}'.": "Operator '{0}' cannot be applied to types '{1}' and '{2}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}": "Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}",
|
||||
"Cannot convert '{0}' to '{1}'.": "Cannot convert '{0}' to '{1}'.",
|
||||
"Cannot convert '{0}' to '{1}':{NL}{2}": "Cannot convert '{0}' to '{1}':{NL}{2}",
|
||||
"Expected var, class, interface, or module.": "Expected var, class, interface, or module.",
|
||||
"Operator '{0}' cannot be applied to type '{1}'.": "Operator '{0}' cannot be applied to type '{1}'.",
|
||||
"Getter '{0}' already declared.": "Getter '{0}' already declared.",
|
||||
"Setter '{0}' already declared.": "Setter '{0}' already declared.",
|
||||
"Accessors cannot have type parameters.": "Accessors cannot have type parameters.",
|
||||
"Exported class '{0}' extends private class '{1}'.": "Exported class '{0}' extends private class '{1}'.",
|
||||
"Exported class '{0}' implements private interface '{1}'.": "Exported class '{0}' implements private interface '{1}'.",
|
||||
"Exported interface '{0}' extends private interface '{1}'.": "Exported interface '{0}' extends private interface '{1}'.",
|
||||
"Exported class '{0}' extends class from inaccessible module {1}.": "Exported class '{0}' extends class from inaccessible module {1}.",
|
||||
"Exported class '{0}' implements interface from inaccessible module {1}.": "Exported class '{0}' implements interface from inaccessible module {1}.",
|
||||
"Exported interface '{0}' extends interface from inaccessible module {1}.": "Exported interface '{0}' extends interface from inaccessible module {1}.",
|
||||
"Public static property '{0}' of exported class has or is using private type '{1}'.": "Public static property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Public property '{0}' of exported class has or is using private type '{1}'.": "Public property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Property '{0}' of exported interface has or is using private type '{1}'.": "Property '{0}' of exported interface has or is using private type '{1}'.",
|
||||
"Exported variable '{0}' has or is using private type '{1}'.": "Exported variable '{0}' has or is using private type '{1}'.",
|
||||
"Public static property '{0}' of exported class is using inaccessible module {1}.": "Public static property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Public property '{0}' of exported class is using inaccessible module {1}.": "Public property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Property '{0}' of exported interface is using inaccessible module {1}.": "Property '{0}' of exported interface is using inaccessible module {1}.",
|
||||
"Exported variable '{0}' is using inaccessible module {1}.": "Exported variable '{0}' is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor from exported class has or is using private type '{1}'.": "Parameter '{0}' of constructor from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of method from exported interface has or is using private type '{1}'.": "Parameter '{0}' of method from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of exported function has or is using private type '{1}'.": "Parameter '{0}' of exported function has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor from exported class is using inaccessible module {1}.": "Parameter '{0}' of constructor from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.": "Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of call signature from exported interface is using inaccessible module {1}": "Parameter '{0}' of call signature from exported interface is using inaccessible module {1}",
|
||||
"Parameter '{0}' of public static method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of method from exported interface is using inaccessible module {1}.": "Parameter '{0}' of method from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of exported function is using inaccessible module {1}.": "Parameter '{0}' of exported function is using inaccessible module {1}.",
|
||||
"Return type of public static property getter from exported class has or is using private type '{0}'.": "Return type of public static property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of public property getter from exported class has or is using private type '{0}'.": "Return type of public property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of constructor signature from exported interface has or is using private type '{0}'.": "Return type of constructor signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of call signature from exported interface has or is using private type '{0}'.": "Return type of call signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of index signature from exported interface has or is using private type '{0}'.": "Return type of index signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of public static method from exported class has or is using private type '{0}'.": "Return type of public static method from exported class has or is using private type '{0}'.",
|
||||
"Return type of public method from exported class has or is using private type '{0}'.": "Return type of public method from exported class has or is using private type '{0}'.",
|
||||
"Return type of method from exported interface has or is using private type '{0}'.": "Return type of method from exported interface has or is using private type '{0}'.",
|
||||
"Return type of exported function has or is using private type '{0}'.": "Return type of exported function has or is using private type '{0}'.",
|
||||
"Return type of public static property getter from exported class is using inaccessible module {0}.": "Return type of public static property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of public property getter from exported class is using inaccessible module {0}.": "Return type of public property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of constructor signature from exported interface is using inaccessible module {0}.": "Return type of constructor signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of call signature from exported interface is using inaccessible module {0}.": "Return type of call signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of index signature from exported interface is using inaccessible module {0}.": "Return type of index signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of public static method from exported class is using inaccessible module {0}.": "Return type of public static method from exported class is using inaccessible module {0}.",
|
||||
"Return type of public method from exported class is using inaccessible module {0}.": "Return type of public method from exported class is using inaccessible module {0}.",
|
||||
"Return type of method from exported interface is using inaccessible module {0}.": "Return type of method from exported interface is using inaccessible module {0}.",
|
||||
"Return type of exported function is using inaccessible module {0}.": "Return type of exported function is using inaccessible module {0}.",
|
||||
"'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.": "'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.",
|
||||
"A parameter list must follow a generic type argument list. '(' expected.": "A parameter list must follow a generic type argument list. '(' expected.",
|
||||
"Multiple constructor implementations are not allowed.": "Multiple constructor implementations are not allowed.",
|
||||
"Unable to resolve external module '{0}'.": "Unable to resolve external module '{0}'.",
|
||||
"Module cannot be aliased to a non-module type.": "Module cannot be aliased to a non-module type.",
|
||||
"A class may only extend another class.": "A class may only extend another class.",
|
||||
"A class may only implement another class or interface.": "A class may only implement another class or interface.",
|
||||
"An interface may only extend another class or interface.": "An interface may only extend another class or interface.",
|
||||
"An interface cannot implement another type.": "An interface cannot implement another type.",
|
||||
"Unable to resolve type.": "Unable to resolve type.",
|
||||
"Unable to resolve type of '{0}'.": "Unable to resolve type of '{0}'.",
|
||||
"Unable to resolve type parameter constraint.": "Unable to resolve type parameter constraint.",
|
||||
"Type parameter constraint cannot be a primitive type.": "Type parameter constraint cannot be a primitive type.",
|
||||
"Supplied parameters do not match any signature of call target.": "Supplied parameters do not match any signature of call target.",
|
||||
"Supplied parameters do not match any signature of call target:{NL}{0}": "Supplied parameters do not match any signature of call target:{NL}{0}",
|
||||
"Invalid 'new' expression.": "Invalid 'new' expression.",
|
||||
"Call signatures used in a 'new' expression must have a 'void' return type.": "Call signatures used in a 'new' expression must have a 'void' return type.",
|
||||
"Could not select overload for 'new' expression.": "Could not select overload for 'new' expression.",
|
||||
"Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.": "Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.",
|
||||
"Could not select overload for 'call' expression.": "Could not select overload for 'call' expression.",
|
||||
"Cannot invoke an expression whose type lacks a call signature.": "Cannot invoke an expression whose type lacks a call signature.",
|
||||
"Calls to 'super' are only valid inside a class.": "Calls to 'super' are only valid inside a class.",
|
||||
"Generic type '{0}' requires {1} type argument(s).": "Generic type '{0}' requires {1} type argument(s).",
|
||||
"Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.": "Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.",
|
||||
"Type of array literal cannot be determined. Best common type could not be found for array elements.": "Type of array literal cannot be determined. Best common type could not be found for array elements.",
|
||||
"Could not find enclosing symbol for dotted name '{0}'.": "Could not find enclosing symbol for dotted name '{0}'.",
|
||||
"The property '{0}' does not exist on value of type '{1}'.": "The property '{0}' does not exist on value of type '{1}'.",
|
||||
"Could not find symbol '{0}'.": "Could not find symbol '{0}'.",
|
||||
"'get' and 'set' accessor must have the same type.": "'get' and 'set' accessor must have the same type.",
|
||||
"'this' cannot be referenced in current location.": "'this' cannot be referenced in current location.",
|
||||
"Static methods cannot reference class type parameters.": "Static methods cannot reference class type parameters.",
|
||||
"Class '{0}' is recursively referenced as a base type of itself.": "Class '{0}' is recursively referenced as a base type of itself.",
|
||||
"Interface '{0}' is recursively referenced as a base type of itself.": "Interface '{0}' is recursively referenced as a base type of itself.",
|
||||
"'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.": "'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.",
|
||||
"'super' cannot be referenced in non-derived classes.": "'super' cannot be referenced in non-derived classes.",
|
||||
"A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.": "A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.",
|
||||
"Constructors for derived classes must contain a 'super' call.": "Constructors for derived classes must contain a 'super' call.",
|
||||
"Super calls are not permitted outside constructors or in local functions inside constructors.": "Super calls are not permitted outside constructors or in local functions inside constructors.",
|
||||
"'{0}.{1}' is inaccessible.": "'{0}.{1}' is inaccessible.",
|
||||
"'this' cannot be referenced within module bodies.": "'this' cannot be referenced within module bodies.",
|
||||
"Invalid '+' expression - types not known to support the addition operator.": "Invalid '+' expression - types not known to support the addition operator.",
|
||||
"The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.": "The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.",
|
||||
"Variable declarations of a 'for' statement cannot use a type annotation.": "Variable declarations of a 'for' statement cannot use a type annotation.",
|
||||
"Variable declarations of a 'for' statement must be of types 'string' or 'any'.": "Variable declarations of a 'for' statement must be of types 'string' or 'any'.",
|
||||
"The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.": "The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'in' expression must be of types 'string' or 'any'.": "The left-hand side of an 'in' expression must be of types 'string' or 'any'.",
|
||||
"The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.": "The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.": "The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.": "The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.",
|
||||
"Setters cannot return a value.": "Setters cannot return a value.",
|
||||
"Tried to query type of uninitialized module '{0}'.": "Tried to query type of uninitialized module '{0}'.",
|
||||
"Tried to set variable type to uninitialized module type '{0}'.": "Tried to set variable type to uninitialized module type '{0}'.",
|
||||
"Function '{0}' declared a non-void return type, but has no return expression.": "Function '{0}' declared a non-void return type, but has no return expression.",
|
||||
"Getters must return a value.": "Getters must return a value.",
|
||||
"Getter and setter accessors do not agree in visibility.": "Getter and setter accessors do not agree in visibility.",
|
||||
"Invalid left-hand side of assignment expression.": "Invalid left-hand side of assignment expression.",
|
||||
"Function declared a non-void return type, but has no return expression.": "Function declared a non-void return type, but has no return expression.",
|
||||
"Cannot resolve return type reference.": "Cannot resolve return type reference.",
|
||||
"Constructors cannot have a return type of 'void'.": "Constructors cannot have a return type of 'void'.",
|
||||
"Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.": "Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.",
|
||||
"All symbols within a with block will be resolved to 'any'.": "All symbols within a with block will be resolved to 'any'.",
|
||||
"Import declarations in an internal module cannot reference an external module.": "Import declarations in an internal module cannot reference an external module.",
|
||||
"Class {0} declares interface {1} but does not implement it:{NL}{2}": "Class {0} declares interface {1} but does not implement it:{NL}{2}",
|
||||
"Class {0} declares class {1} as an interface but does not implement it:{NL}{2}": "Class {0} declares class {1} as an interface but does not implement it:{NL}{2}",
|
||||
"The operand of an increment or decrement operator must be a variable, property or indexer.": "The operand of an increment or decrement operator must be a variable, property or indexer.",
|
||||
"'this' cannot be referenced in static initializers in a class body.": "'this' cannot be referenced in static initializers in a class body.",
|
||||
"Class '{0}' cannot extend class '{1}':{NL}{2}": "Class '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend class '{1}':{NL}{2}": "Interface '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend interface '{1}':{NL}{2}": "Interface '{0}' cannot extend interface '{1}':{NL}{2}",
|
||||
"Duplicate overload signature for '{0}'.": "Duplicate overload signature for '{0}'.",
|
||||
"Duplicate constructor overload signature.": "Duplicate constructor overload signature.",
|
||||
"Duplicate overload call signature.": "Duplicate overload call signature.",
|
||||
"Duplicate overload construct signature.": "Duplicate overload construct signature.",
|
||||
"Overload signature is not compatible with function definition.": "Overload signature is not compatible with function definition.",
|
||||
"Overload signature is not compatible with function definition:{NL}{0}": "Overload signature is not compatible with function definition:{NL}{0}",
|
||||
"Overload signatures must all be public or private.": "Overload signatures must all be public or private.",
|
||||
"Overload signatures must all be exported or local.": "Overload signatures must all be exported or local.",
|
||||
"Overload signatures must all be ambient or non-ambient.": "Overload signatures must all be ambient or non-ambient.",
|
||||
"Overload signatures must all be optional or required.": "Overload signatures must all be optional or required.",
|
||||
"Specialized overload signature is not subtype of any non-specialized signature.": "Specialized overload signature is not subtype of any non-specialized signature.",
|
||||
"'this' cannot be referenced in constructor arguments.": "'this' cannot be referenced in constructor arguments.",
|
||||
"Static member cannot be accessed off an instance variable.": "Static member cannot be accessed off an instance variable.",
|
||||
"Instance member cannot be accessed off a class.": "Instance member cannot be accessed off a class.",
|
||||
"Untyped function calls may not accept type arguments.": "Untyped function calls may not accept type arguments.",
|
||||
"Non-generic functions may not accept type arguments.": "Non-generic functions may not accept type arguments.",
|
||||
"A generic type may not reference itself with a wrapped form of its own type parameters.": "A generic type may not reference itself with a wrapped form of its own type parameters.",
|
||||
"Rest parameters must be array types.": "Rest parameters must be array types.",
|
||||
"Overload signature implementation cannot use specialized type.": "Overload signature implementation cannot use specialized type.",
|
||||
"Export assignments may only be used at the top-level of external modules.": "Export assignments may only be used at the top-level of external modules.",
|
||||
"Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules": "Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules",
|
||||
"Only public instance methods of the base class are accessible via the 'super' keyword.": "Only public instance methods of the base class are accessible via the 'super' keyword.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}'.": "All numerically named properties must be subtypes of numeric indexer type '{0}'.",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}": "All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}",
|
||||
"All named properties must be subtypes of string indexer type '{0}'.": "All named properties must be subtypes of string indexer type '{0}'.",
|
||||
"All named properties must be subtypes of string indexer type '{0}':{NL}{1}": "All named properties must be subtypes of string indexer type '{0}':{NL}{1}",
|
||||
"Generic type references must include all type arguments.": "Generic type references must include all type arguments.",
|
||||
"Default arguments are not allowed in an overload parameter.": "Default arguments are not allowed in an overload parameter.",
|
||||
"Overloads cannot differ only by return type.": "Overloads cannot differ only by return type.",
|
||||
"Function expression declared a non-void return type, but has no return expression.": "Function expression declared a non-void return type, but has no return expression.",
|
||||
"Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.": "Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.",
|
||||
"Could not find symbol '{0}' in module '{1}'.": "Could not find symbol '{0}' in module '{1}'.",
|
||||
"Unable to resolve module reference '{0}'.": "Unable to resolve module reference '{0}'.",
|
||||
"Could not find module '{0}' in module '{1}'.": "Could not find module '{0}' in module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.",
|
||||
"Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.": "Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.",
|
||||
"Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.": "Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.",
|
||||
"Type '{0}' is missing property '{1}' from type '{2}'.": "Type '{0}' is missing property '{1}' from type '{2}'.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible.": "Types of property '{0}' of types '{1}' and '{2}' are incompatible.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}": "Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}",
|
||||
"Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.": "Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.",
|
||||
"Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.": "Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.",
|
||||
"Types '{0}' and '{1}' define property '{2}' as private.": "Types '{0}' and '{1}' define property '{2}' as private.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible.": "Call signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a call signature, but type '{1}' lacks one.": "Type '{0}' requires a call signature, but type '{1}' lacks one.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible.": "Construct signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a construct signature, but type '{1}' lacks one.": "Type '{0}' requires a construct signature, but type '{1}' lacks one.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible.": "Index signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Call signature expects {0} or fewer parameters.": "Call signature expects {0} or fewer parameters.",
|
||||
"Could not apply type '{0}' to argument {1} which is of type '{2}'.": "Could not apply type '{0}' to argument {1} which is of type '{2}'.",
|
||||
"Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}",
|
||||
"Type reference cannot refer to container '{0}'.": "Type reference cannot refer to container '{0}'.",
|
||||
"Type reference must refer to type.": "Type reference must refer to type.",
|
||||
"Enums with multiple declarations must provide an initializer for the first enum element.": "Enums with multiple declarations must provide an initializer for the first enum element.",
|
||||
" (+ {0} overload(s))": " (+ {0} overload(s))",
|
||||
"Current host does not support '{0}' option.": "Current host does not support '{0}' option.",
|
||||
"ECMAScript target version '{0}' not supported. Using default '{1}' code generation.": "ECMAScript target version '{0}' not supported. Using default '{1}' code generation.",
|
||||
"Module code generation '{0}' not supported.": "Module code generation '{0}' not supported.",
|
||||
"Could not find file: '{0}'.": "Could not find file: '{0}'.",
|
||||
"A file cannot have a reference to itself.": "A file cannot have a reference to itself.",
|
||||
"Cannot resolve referenced file: '{0}'.": "Cannot resolve referenced file: '{0}'.",
|
||||
"Cannot find the common subdirectory path for the input files.": "Cannot find the common subdirectory path for the input files.",
|
||||
"Emit Error: {0}.": "Emit Error: {0}.",
|
||||
"Cannot read file '{0}': {1}": "Cannot read file '{0}': {1}",
|
||||
"Unsupported file encoding.": "Unsupported file encoding.",
|
||||
"Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.": "Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.",
|
||||
"Unsupported locale: '{0}'.": "Unsupported locale: '{0}'.",
|
||||
"Execution Failed.{NL}": "Execution Failed.{NL}",
|
||||
"Should not emit a type query": "Should not emit a type query",
|
||||
"Should not emit a type reference": "Should not emit a type reference",
|
||||
"Invalid call to 'up'": "Invalid call to 'up'",
|
||||
"Invalid call to 'down'": "Invalid call to 'down'",
|
||||
"Base64 value '{0}' finished with a continuation bit": "Base64 value '{0}' finished with a continuation bit",
|
||||
"Key was already in table": "Key was already in table",
|
||||
"Unknown option '{0}'": "Unknown option '{0}'",
|
||||
"Expected {0} arguments to message, got {1} instead": "Expected {0} arguments to message, got {1} instead",
|
||||
"Expected the message '{0}' to have {1} arguments, but it had {2}": "Expected the message '{0}' to have {1} arguments, but it had {2}",
|
||||
"Invalid argument: {0}. {1}": "Invalid argument: {0}. {1}",
|
||||
"Invalid argument: {0}.": "Invalid argument: {0}.",
|
||||
"Argument out of range: {0}.": "Argument out of range: {0}.",
|
||||
"Argument null: {0}.": "Argument null: {0}.",
|
||||
"Operation not implemented properly by subclass.": "Operation not implemented properly by subclass.",
|
||||
"Not yet implemented.": "Not yet implemented.",
|
||||
"Invalid operation: {0}": "Invalid operation: {0}",
|
||||
"Invalid operation.": "Invalid operation.",
|
||||
"Could not delete file '{0}'": "Could not delete file '{0}'",
|
||||
"Could not create directory '{0}'": "Could not create directory '{0}'",
|
||||
"Error while executing file '{0}': ": "Error while executing file '{0}': ",
|
||||
"Cannot compile external modules unless the '--module' flag is provided.": "Cannot compile external modules unless the '--module' flag is provided.",
|
||||
"Option mapRoot cannot be specified without specifying sourcemap option.": "Option mapRoot cannot be specified without specifying sourcemap option.",
|
||||
"Option sourceRoot cannot be specified without specifying sourcemap option.": "Option sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.": "Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Concatenate and emit output to single file": "Concatenate and emit output to single file",
|
||||
"Generates corresponding {0} file": "Generates corresponding {0} file",
|
||||
"Specifies the location where debugger should locate map files instead of generated locations.": "Specifies the location where debugger should locate map files instead of generated locations.",
|
||||
"Specifies the location where debugger should locate TypeScript files instead of source locations.": "Specifies the location where debugger should locate TypeScript files instead of source locations.",
|
||||
"Watch input files": "Watch input files",
|
||||
"Redirect output structure to the directory": "Redirect output structure to the directory",
|
||||
"Do not emit comments to output": "Do not emit comments to output",
|
||||
"Skip resolution and preprocessing": "Skip resolution and preprocessing",
|
||||
"Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"": "Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"",
|
||||
"Specify module code generation: \"{0}\" or \"{1}\"": "Specify module code generation: \"{0}\" or \"{1}\"",
|
||||
"Print this message": "Print this message",
|
||||
"Print the compiler's version: {0}": "Print the compiler's version: {0}",
|
||||
"Allow use of deprecated \"{0}\" keyword when referencing an external module": "Allow use of deprecated \"{0}\" keyword when referencing an external module",
|
||||
"Specify locale for errors and messages. For example '{0}' or '{1}'": "Specify locale for errors and messages. For example '{0}' or '{1}'",
|
||||
"Syntax: {0}": "Syntax: {0}",
|
||||
"options": "options",
|
||||
"file": "file",
|
||||
"Examples:": "Examples:",
|
||||
"Options:": "Options:",
|
||||
"Insert command line options and files from a file.": "Insert command line options and files from a file.",
|
||||
"Version {0}": "Version {0}",
|
||||
"Use the '{0}' flag to see options": "Use the '{0}' flag to see options",
|
||||
"{NL}Recompiling ({0}):": "{NL}Recompiling ({0}):",
|
||||
"STRING": "STRING",
|
||||
"KIND": "KIND",
|
||||
"FILE": "FILE",
|
||||
"VERSION": "VERSION",
|
||||
"LOCATION": "LOCATION",
|
||||
"DIRECTORY": "DIRECTORY",
|
||||
"This version of the Javascript runtime does not support the '{0}' function.": "This version of the Javascript runtime does not support the '{0}' function.",
|
||||
"Looking up path for identifier token did not result in an identifer.": "Looking up path for identifier token did not result in an identifer.",
|
||||
"Unknown rule": "Unknown rule",
|
||||
"Invalid line number ({0})": "Invalid line number ({0})",
|
||||
"Warn on expressions and declarations with an implied 'any' type.": "Warn on expressions and declarations with an implied 'any' type.",
|
||||
"Variable '{0}' implicitly has an 'any' type.": "Variable '{0}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of '{1}' implicitly has an 'any' type.": "Parameter '{0}' of '{1}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of function type implicitly has an 'any' type.": "Parameter '{0}' of function type implicitly has an 'any' type.",
|
||||
"Member '{0}' of object type implicitly has an 'any' type.": "Member '{0}' of object type implicitly has an 'any' type.",
|
||||
"\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.": "\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.",
|
||||
"'{0}', which lacks return-type annotation, implicitly has an 'any' return type.": "'{0}', which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Function expression, which lacks return-type annotation, implicitly has an 'any' return type.": "Function expression, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Parameter '{0}' of lambda function implicitly has an 'any' type.": "Parameter '{0}' of lambda function implicitly has an 'any' type.",
|
||||
"Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.": "Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.": "Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Array Literal implicitly has an 'any' type from widening.": "Array Literal implicitly has an 'any' type from widening."
|
||||
}
|
||||
374
bin/resources/ko/kr/diagnosticMessages.generated.json
Normal file
374
bin/resources/ko/kr/diagnosticMessages.generated.json
Normal file
@ -0,0 +1,374 @@
|
||||
{
|
||||
"error TS{0}: {1}": "error TS{0}: {1}",
|
||||
"warning TS{0}: {1}": "warning TS{0}: {1}",
|
||||
"Unrecognized escape sequence.": "Unrecognized escape sequence.",
|
||||
"Unexpected character {0}.": "Unexpected character {0}.",
|
||||
"Missing close quote character.": "Missing close quote character.",
|
||||
"Identifier expected.": "Identifier expected.",
|
||||
"'{0}' keyword expected.": "'{0}' keyword expected.",
|
||||
"'{0}' expected.": "'{0}' expected.",
|
||||
"Identifier expected; '{0}' is a keyword.": "Identifier expected; '{0}' is a keyword.",
|
||||
"Automatic semicolon insertion not allowed.": "Automatic semicolon insertion not allowed.",
|
||||
"Unexpected token; '{0}' expected.": "Unexpected token; '{0}' expected.",
|
||||
"Trailing separator not allowed.": "Trailing separator not allowed.",
|
||||
"'*/' expected.": "'*/' expected.",
|
||||
"'public' or 'private' modifier must precede 'static'.": "'public' or 'private' modifier must precede 'static'.",
|
||||
"Unexpected token.": "Unexpected token.",
|
||||
"Catch clause parameter cannot have a type annotation.": "Catch clause parameter cannot have a type annotation.",
|
||||
"Rest parameter must be last in list.": "Rest parameter must be last in list.",
|
||||
"Parameter cannot have question mark and initializer.": "Parameter cannot have question mark and initializer.",
|
||||
"Required parameter cannot follow optional parameter.": "Required parameter cannot follow optional parameter.",
|
||||
"Index signatures cannot have rest parameters.": "Index signatures cannot have rest parameters.",
|
||||
"Index signature parameter cannot have accessibility modifiers.": "Index signature parameter cannot have accessibility modifiers.",
|
||||
"Index signature parameter cannot have a question mark.": "Index signature parameter cannot have a question mark.",
|
||||
"Index signature parameter cannot have an initializer.": "Index signature parameter cannot have an initializer.",
|
||||
"Index signature must have a type annotation.": "Index signature must have a type annotation.",
|
||||
"Index signature parameter must have a type annotation.": "Index signature parameter must have a type annotation.",
|
||||
"Index signature parameter type must be 'string' or 'number'.": "Index signature parameter type must be 'string' or 'number'.",
|
||||
"'extends' clause already seen.": "'extends' clause already seen.",
|
||||
"'extends' clause must precede 'implements' clause.": "'extends' clause must precede 'implements' clause.",
|
||||
"Classes can only extend a single class.": "Classes can only extend a single class.",
|
||||
"'implements' clause already seen.": "'implements' clause already seen.",
|
||||
"Accessibility modifier already seen.": "Accessibility modifier already seen.",
|
||||
"'{0}' modifier must precede '{1}' modifier.": "'{0}' modifier must precede '{1}' modifier.",
|
||||
"'{0}' modifier already seen.": "'{0}' modifier already seen.",
|
||||
"'{0}' modifier cannot appear on a class element.": "'{0}' modifier cannot appear on a class element.",
|
||||
"Interface declaration cannot have 'implements' clause.": "Interface declaration cannot have 'implements' clause.",
|
||||
"'super' invocation cannot have type arguments.": "'super' invocation cannot have type arguments.",
|
||||
"Only ambient modules can use quoted names.": "Only ambient modules can use quoted names.",
|
||||
"Statements are not allowed in ambient contexts.": "Statements are not allowed in ambient contexts.",
|
||||
"Implementations are not allowed in ambient contexts.": "Implementations are not allowed in ambient contexts.",
|
||||
"'declare' modifier not allowed for code already in an ambient context.": "'declare' modifier not allowed for code already in an ambient context.",
|
||||
"Initializers are not allowed in ambient contexts.": "Initializers are not allowed in ambient contexts.",
|
||||
"Parameter property declarations can only be used in constructors.": "Parameter property declarations can only be used in constructors.",
|
||||
"Function implementation expected.": "Function implementation expected.",
|
||||
"Constructor implementation expected.": "Constructor implementation expected.",
|
||||
"Function overload name must be '{0}'.": "Function overload name must be '{0}'.",
|
||||
"'{0}' modifier cannot appear on a module element.": "'{0}' modifier cannot appear on a module element.",
|
||||
"'declare' modifier cannot appear on an interface declaration.": "'declare' modifier cannot appear on an interface declaration.",
|
||||
"'declare' modifier required for top level element.": "'declare' modifier required for top level element.",
|
||||
"Rest parameter cannot be optional.": "Rest parameter cannot be optional.",
|
||||
"Rest parameter cannot have an initializer.": "Rest parameter cannot have an initializer.",
|
||||
"'set' accessor must have one and only one parameter.": "'set' accessor must have one and only one parameter.",
|
||||
"'set' accessor parameter cannot have accessibility modifier.": "'set' accessor parameter cannot have accessibility modifier.",
|
||||
"'set' accessor parameter cannot be optional.": "'set' accessor parameter cannot be optional.",
|
||||
"'set' accessor parameter cannot have an initializer.": "'set' accessor parameter cannot have an initializer.",
|
||||
"'set' accessor cannot have rest parameter.": "'set' accessor cannot have rest parameter.",
|
||||
"'get' accessor cannot have parameters.": "'get' accessor cannot have parameters.",
|
||||
"Modifiers cannot appear here.": "Modifiers cannot appear here.",
|
||||
"Accessors are only available when targeting ECMAScript 5 and higher.": "Accessors are only available when targeting ECMAScript 5 and higher.",
|
||||
"Class name cannot be '{0}'.": "Class name cannot be '{0}'.",
|
||||
"Interface name cannot be '{0}'.": "Interface name cannot be '{0}'.",
|
||||
"Enum name cannot be '{0}'.": "Enum name cannot be '{0}'.",
|
||||
"Module name cannot be '{0}'.": "Module name cannot be '{0}'.",
|
||||
"Enum member must have initializer.": "Enum member must have initializer.",
|
||||
"Export assignment cannot be used in internal modules.": "Export assignment cannot be used in internal modules.",
|
||||
"Export assignment not allowed in module with exported element.": "Export assignment not allowed in module with exported element.",
|
||||
"Module cannot have multiple export assignments.": "Module cannot have multiple export assignments.",
|
||||
"Ambient enum elements can only have integer literal initializers.": "Ambient enum elements can only have integer literal initializers.",
|
||||
"module, class, interface, enum, import or statement": "module, class, interface, enum, import or statement",
|
||||
"constructor, function, accessor or variable": "constructor, function, accessor or variable",
|
||||
"statement": "statement",
|
||||
"case or default clause": "case or default clause",
|
||||
"identifier": "identifier",
|
||||
"call, construct, index, property or function signature": "call, construct, index, property or function signature",
|
||||
"expression": "expression",
|
||||
"type name": "type name",
|
||||
"property or accessor": "property or accessor",
|
||||
"parameter": "parameter",
|
||||
"type": "type",
|
||||
"type parameter": "type parameter",
|
||||
"'declare' modifier not allowed on import declaration.": "'declare' modifier not allowed on import declaration.",
|
||||
"Function overload must be static": "Function overload must be static",
|
||||
"Function overload must not be static": "Function overload must not be static",
|
||||
"Duplicate identifier '{0}'.": "Duplicate identifier '{0}'.",
|
||||
"The name '{0}' does not exist in the current scope.": "The name '{0}' does not exist in the current scope.",
|
||||
"The name '{0}' does not refer to a value.": "The name '{0}' does not refer to a value.",
|
||||
"'super' can only be used inside a class instance method.": "'super' can only be used inside a class instance method.",
|
||||
"The left-hand side of an assignment expression must be a variable, property or indexer.": "The left-hand side of an assignment expression must be a variable, property or indexer.",
|
||||
"Value of type '{0}' is not callable. Did you mean to include 'new'?": "Value of type '{0}' is not callable. Did you mean to include 'new'?",
|
||||
"Value of type '{0}' is not callable.": "Value of type '{0}' is not callable.",
|
||||
"Value of type '{0}' is not newable.": "Value of type '{0}' is not newable.",
|
||||
"Value of type '{0}' is not indexable by type '{1}'.": "Value of type '{0}' is not indexable by type '{1}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}'.": "Operator '{0}' cannot be applied to types '{1}' and '{2}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}": "Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}",
|
||||
"Cannot convert '{0}' to '{1}'.": "Cannot convert '{0}' to '{1}'.",
|
||||
"Cannot convert '{0}' to '{1}':{NL}{2}": "Cannot convert '{0}' to '{1}':{NL}{2}",
|
||||
"Expected var, class, interface, or module.": "Expected var, class, interface, or module.",
|
||||
"Operator '{0}' cannot be applied to type '{1}'.": "Operator '{0}' cannot be applied to type '{1}'.",
|
||||
"Getter '{0}' already declared.": "Getter '{0}' already declared.",
|
||||
"Setter '{0}' already declared.": "Setter '{0}' already declared.",
|
||||
"Accessors cannot have type parameters.": "Accessors cannot have type parameters.",
|
||||
"Exported class '{0}' extends private class '{1}'.": "Exported class '{0}' extends private class '{1}'.",
|
||||
"Exported class '{0}' implements private interface '{1}'.": "Exported class '{0}' implements private interface '{1}'.",
|
||||
"Exported interface '{0}' extends private interface '{1}'.": "Exported interface '{0}' extends private interface '{1}'.",
|
||||
"Exported class '{0}' extends class from inaccessible module {1}.": "Exported class '{0}' extends class from inaccessible module {1}.",
|
||||
"Exported class '{0}' implements interface from inaccessible module {1}.": "Exported class '{0}' implements interface from inaccessible module {1}.",
|
||||
"Exported interface '{0}' extends interface from inaccessible module {1}.": "Exported interface '{0}' extends interface from inaccessible module {1}.",
|
||||
"Public static property '{0}' of exported class has or is using private type '{1}'.": "Public static property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Public property '{0}' of exported class has or is using private type '{1}'.": "Public property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Property '{0}' of exported interface has or is using private type '{1}'.": "Property '{0}' of exported interface has or is using private type '{1}'.",
|
||||
"Exported variable '{0}' has or is using private type '{1}'.": "Exported variable '{0}' has or is using private type '{1}'.",
|
||||
"Public static property '{0}' of exported class is using inaccessible module {1}.": "Public static property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Public property '{0}' of exported class is using inaccessible module {1}.": "Public property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Property '{0}' of exported interface is using inaccessible module {1}.": "Property '{0}' of exported interface is using inaccessible module {1}.",
|
||||
"Exported variable '{0}' is using inaccessible module {1}.": "Exported variable '{0}' is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor from exported class has or is using private type '{1}'.": "Parameter '{0}' of constructor from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of method from exported interface has or is using private type '{1}'.": "Parameter '{0}' of method from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of exported function has or is using private type '{1}'.": "Parameter '{0}' of exported function has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor from exported class is using inaccessible module {1}.": "Parameter '{0}' of constructor from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.": "Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of call signature from exported interface is using inaccessible module {1}": "Parameter '{0}' of call signature from exported interface is using inaccessible module {1}",
|
||||
"Parameter '{0}' of public static method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of method from exported interface is using inaccessible module {1}.": "Parameter '{0}' of method from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of exported function is using inaccessible module {1}.": "Parameter '{0}' of exported function is using inaccessible module {1}.",
|
||||
"Return type of public static property getter from exported class has or is using private type '{0}'.": "Return type of public static property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of public property getter from exported class has or is using private type '{0}'.": "Return type of public property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of constructor signature from exported interface has or is using private type '{0}'.": "Return type of constructor signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of call signature from exported interface has or is using private type '{0}'.": "Return type of call signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of index signature from exported interface has or is using private type '{0}'.": "Return type of index signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of public static method from exported class has or is using private type '{0}'.": "Return type of public static method from exported class has or is using private type '{0}'.",
|
||||
"Return type of public method from exported class has or is using private type '{0}'.": "Return type of public method from exported class has or is using private type '{0}'.",
|
||||
"Return type of method from exported interface has or is using private type '{0}'.": "Return type of method from exported interface has or is using private type '{0}'.",
|
||||
"Return type of exported function has or is using private type '{0}'.": "Return type of exported function has or is using private type '{0}'.",
|
||||
"Return type of public static property getter from exported class is using inaccessible module {0}.": "Return type of public static property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of public property getter from exported class is using inaccessible module {0}.": "Return type of public property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of constructor signature from exported interface is using inaccessible module {0}.": "Return type of constructor signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of call signature from exported interface is using inaccessible module {0}.": "Return type of call signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of index signature from exported interface is using inaccessible module {0}.": "Return type of index signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of public static method from exported class is using inaccessible module {0}.": "Return type of public static method from exported class is using inaccessible module {0}.",
|
||||
"Return type of public method from exported class is using inaccessible module {0}.": "Return type of public method from exported class is using inaccessible module {0}.",
|
||||
"Return type of method from exported interface is using inaccessible module {0}.": "Return type of method from exported interface is using inaccessible module {0}.",
|
||||
"Return type of exported function is using inaccessible module {0}.": "Return type of exported function is using inaccessible module {0}.",
|
||||
"'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.": "'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.",
|
||||
"A parameter list must follow a generic type argument list. '(' expected.": "A parameter list must follow a generic type argument list. '(' expected.",
|
||||
"Multiple constructor implementations are not allowed.": "Multiple constructor implementations are not allowed.",
|
||||
"Unable to resolve external module '{0}'.": "Unable to resolve external module '{0}'.",
|
||||
"Module cannot be aliased to a non-module type.": "Module cannot be aliased to a non-module type.",
|
||||
"A class may only extend another class.": "A class may only extend another class.",
|
||||
"A class may only implement another class or interface.": "A class may only implement another class or interface.",
|
||||
"An interface may only extend another class or interface.": "An interface may only extend another class or interface.",
|
||||
"An interface cannot implement another type.": "An interface cannot implement another type.",
|
||||
"Unable to resolve type.": "Unable to resolve type.",
|
||||
"Unable to resolve type of '{0}'.": "Unable to resolve type of '{0}'.",
|
||||
"Unable to resolve type parameter constraint.": "Unable to resolve type parameter constraint.",
|
||||
"Type parameter constraint cannot be a primitive type.": "Type parameter constraint cannot be a primitive type.",
|
||||
"Supplied parameters do not match any signature of call target.": "Supplied parameters do not match any signature of call target.",
|
||||
"Supplied parameters do not match any signature of call target:{NL}{0}": "Supplied parameters do not match any signature of call target:{NL}{0}",
|
||||
"Invalid 'new' expression.": "Invalid 'new' expression.",
|
||||
"Call signatures used in a 'new' expression must have a 'void' return type.": "Call signatures used in a 'new' expression must have a 'void' return type.",
|
||||
"Could not select overload for 'new' expression.": "Could not select overload for 'new' expression.",
|
||||
"Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.": "Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.",
|
||||
"Could not select overload for 'call' expression.": "Could not select overload for 'call' expression.",
|
||||
"Cannot invoke an expression whose type lacks a call signature.": "Cannot invoke an expression whose type lacks a call signature.",
|
||||
"Calls to 'super' are only valid inside a class.": "Calls to 'super' are only valid inside a class.",
|
||||
"Generic type '{0}' requires {1} type argument(s).": "Generic type '{0}' requires {1} type argument(s).",
|
||||
"Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.": "Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.",
|
||||
"Type of array literal cannot be determined. Best common type could not be found for array elements.": "Type of array literal cannot be determined. Best common type could not be found for array elements.",
|
||||
"Could not find enclosing symbol for dotted name '{0}'.": "Could not find enclosing symbol for dotted name '{0}'.",
|
||||
"The property '{0}' does not exist on value of type '{1}'.": "The property '{0}' does not exist on value of type '{1}'.",
|
||||
"Could not find symbol '{0}'.": "Could not find symbol '{0}'.",
|
||||
"'get' and 'set' accessor must have the same type.": "'get' and 'set' accessor must have the same type.",
|
||||
"'this' cannot be referenced in current location.": "'this' cannot be referenced in current location.",
|
||||
"Static methods cannot reference class type parameters.": "Static methods cannot reference class type parameters.",
|
||||
"Class '{0}' is recursively referenced as a base type of itself.": "Class '{0}' is recursively referenced as a base type of itself.",
|
||||
"Interface '{0}' is recursively referenced as a base type of itself.": "Interface '{0}' is recursively referenced as a base type of itself.",
|
||||
"'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.": "'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.",
|
||||
"'super' cannot be referenced in non-derived classes.": "'super' cannot be referenced in non-derived classes.",
|
||||
"A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.": "A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.",
|
||||
"Constructors for derived classes must contain a 'super' call.": "Constructors for derived classes must contain a 'super' call.",
|
||||
"Super calls are not permitted outside constructors or in local functions inside constructors.": "Super calls are not permitted outside constructors or in local functions inside constructors.",
|
||||
"'{0}.{1}' is inaccessible.": "'{0}.{1}' is inaccessible.",
|
||||
"'this' cannot be referenced within module bodies.": "'this' cannot be referenced within module bodies.",
|
||||
"Invalid '+' expression - types not known to support the addition operator.": "Invalid '+' expression - types not known to support the addition operator.",
|
||||
"The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.": "The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.",
|
||||
"Variable declarations of a 'for' statement cannot use a type annotation.": "Variable declarations of a 'for' statement cannot use a type annotation.",
|
||||
"Variable declarations of a 'for' statement must be of types 'string' or 'any'.": "Variable declarations of a 'for' statement must be of types 'string' or 'any'.",
|
||||
"The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.": "The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'in' expression must be of types 'string' or 'any'.": "The left-hand side of an 'in' expression must be of types 'string' or 'any'.",
|
||||
"The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.": "The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.": "The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.": "The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.",
|
||||
"Setters cannot return a value.": "Setters cannot return a value.",
|
||||
"Tried to query type of uninitialized module '{0}'.": "Tried to query type of uninitialized module '{0}'.",
|
||||
"Tried to set variable type to uninitialized module type '{0}'.": "Tried to set variable type to uninitialized module type '{0}'.",
|
||||
"Function '{0}' declared a non-void return type, but has no return expression.": "Function '{0}' declared a non-void return type, but has no return expression.",
|
||||
"Getters must return a value.": "Getters must return a value.",
|
||||
"Getter and setter accessors do not agree in visibility.": "Getter and setter accessors do not agree in visibility.",
|
||||
"Invalid left-hand side of assignment expression.": "Invalid left-hand side of assignment expression.",
|
||||
"Function declared a non-void return type, but has no return expression.": "Function declared a non-void return type, but has no return expression.",
|
||||
"Cannot resolve return type reference.": "Cannot resolve return type reference.",
|
||||
"Constructors cannot have a return type of 'void'.": "Constructors cannot have a return type of 'void'.",
|
||||
"Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.": "Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.",
|
||||
"All symbols within a with block will be resolved to 'any'.": "All symbols within a with block will be resolved to 'any'.",
|
||||
"Import declarations in an internal module cannot reference an external module.": "Import declarations in an internal module cannot reference an external module.",
|
||||
"Class {0} declares interface {1} but does not implement it:{NL}{2}": "Class {0} declares interface {1} but does not implement it:{NL}{2}",
|
||||
"Class {0} declares class {1} as an interface but does not implement it:{NL}{2}": "Class {0} declares class {1} as an interface but does not implement it:{NL}{2}",
|
||||
"The operand of an increment or decrement operator must be a variable, property or indexer.": "The operand of an increment or decrement operator must be a variable, property or indexer.",
|
||||
"'this' cannot be referenced in static initializers in a class body.": "'this' cannot be referenced in static initializers in a class body.",
|
||||
"Class '{0}' cannot extend class '{1}':{NL}{2}": "Class '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend class '{1}':{NL}{2}": "Interface '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend interface '{1}':{NL}{2}": "Interface '{0}' cannot extend interface '{1}':{NL}{2}",
|
||||
"Duplicate overload signature for '{0}'.": "Duplicate overload signature for '{0}'.",
|
||||
"Duplicate constructor overload signature.": "Duplicate constructor overload signature.",
|
||||
"Duplicate overload call signature.": "Duplicate overload call signature.",
|
||||
"Duplicate overload construct signature.": "Duplicate overload construct signature.",
|
||||
"Overload signature is not compatible with function definition.": "Overload signature is not compatible with function definition.",
|
||||
"Overload signature is not compatible with function definition:{NL}{0}": "Overload signature is not compatible with function definition:{NL}{0}",
|
||||
"Overload signatures must all be public or private.": "Overload signatures must all be public or private.",
|
||||
"Overload signatures must all be exported or local.": "Overload signatures must all be exported or local.",
|
||||
"Overload signatures must all be ambient or non-ambient.": "Overload signatures must all be ambient or non-ambient.",
|
||||
"Overload signatures must all be optional or required.": "Overload signatures must all be optional or required.",
|
||||
"Specialized overload signature is not subtype of any non-specialized signature.": "Specialized overload signature is not subtype of any non-specialized signature.",
|
||||
"'this' cannot be referenced in constructor arguments.": "'this' cannot be referenced in constructor arguments.",
|
||||
"Static member cannot be accessed off an instance variable.": "Static member cannot be accessed off an instance variable.",
|
||||
"Instance member cannot be accessed off a class.": "Instance member cannot be accessed off a class.",
|
||||
"Untyped function calls may not accept type arguments.": "Untyped function calls may not accept type arguments.",
|
||||
"Non-generic functions may not accept type arguments.": "Non-generic functions may not accept type arguments.",
|
||||
"A generic type may not reference itself with a wrapped form of its own type parameters.": "A generic type may not reference itself with a wrapped form of its own type parameters.",
|
||||
"Rest parameters must be array types.": "Rest parameters must be array types.",
|
||||
"Overload signature implementation cannot use specialized type.": "Overload signature implementation cannot use specialized type.",
|
||||
"Export assignments may only be used at the top-level of external modules.": "Export assignments may only be used at the top-level of external modules.",
|
||||
"Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules": "Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules",
|
||||
"Only public instance methods of the base class are accessible via the 'super' keyword.": "Only public instance methods of the base class are accessible via the 'super' keyword.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}'.": "All numerically named properties must be subtypes of numeric indexer type '{0}'.",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}": "All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}",
|
||||
"All named properties must be subtypes of string indexer type '{0}'.": "All named properties must be subtypes of string indexer type '{0}'.",
|
||||
"All named properties must be subtypes of string indexer type '{0}':{NL}{1}": "All named properties must be subtypes of string indexer type '{0}':{NL}{1}",
|
||||
"Generic type references must include all type arguments.": "Generic type references must include all type arguments.",
|
||||
"Default arguments are not allowed in an overload parameter.": "Default arguments are not allowed in an overload parameter.",
|
||||
"Overloads cannot differ only by return type.": "Overloads cannot differ only by return type.",
|
||||
"Function expression declared a non-void return type, but has no return expression.": "Function expression declared a non-void return type, but has no return expression.",
|
||||
"Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.": "Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.",
|
||||
"Could not find symbol '{0}' in module '{1}'.": "Could not find symbol '{0}' in module '{1}'.",
|
||||
"Unable to resolve module reference '{0}'.": "Unable to resolve module reference '{0}'.",
|
||||
"Could not find module '{0}' in module '{1}'.": "Could not find module '{0}' in module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.",
|
||||
"Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.": "Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.",
|
||||
"Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.": "Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.",
|
||||
"Type '{0}' is missing property '{1}' from type '{2}'.": "Type '{0}' is missing property '{1}' from type '{2}'.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible.": "Types of property '{0}' of types '{1}' and '{2}' are incompatible.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}": "Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}",
|
||||
"Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.": "Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.",
|
||||
"Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.": "Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.",
|
||||
"Types '{0}' and '{1}' define property '{2}' as private.": "Types '{0}' and '{1}' define property '{2}' as private.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible.": "Call signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a call signature, but type '{1}' lacks one.": "Type '{0}' requires a call signature, but type '{1}' lacks one.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible.": "Construct signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a construct signature, but type '{1}' lacks one.": "Type '{0}' requires a construct signature, but type '{1}' lacks one.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible.": "Index signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Call signature expects {0} or fewer parameters.": "Call signature expects {0} or fewer parameters.",
|
||||
"Could not apply type '{0}' to argument {1} which is of type '{2}'.": "Could not apply type '{0}' to argument {1} which is of type '{2}'.",
|
||||
"Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}",
|
||||
"Type reference cannot refer to container '{0}'.": "Type reference cannot refer to container '{0}'.",
|
||||
"Type reference must refer to type.": "Type reference must refer to type.",
|
||||
"Enums with multiple declarations must provide an initializer for the first enum element.": "Enums with multiple declarations must provide an initializer for the first enum element.",
|
||||
" (+ {0} overload(s))": " (+ {0} overload(s))",
|
||||
"Current host does not support '{0}' option.": "Current host does not support '{0}' option.",
|
||||
"ECMAScript target version '{0}' not supported. Using default '{1}' code generation.": "ECMAScript target version '{0}' not supported. Using default '{1}' code generation.",
|
||||
"Module code generation '{0}' not supported.": "Module code generation '{0}' not supported.",
|
||||
"Could not find file: '{0}'.": "Could not find file: '{0}'.",
|
||||
"A file cannot have a reference to itself.": "A file cannot have a reference to itself.",
|
||||
"Cannot resolve referenced file: '{0}'.": "Cannot resolve referenced file: '{0}'.",
|
||||
"Cannot find the common subdirectory path for the input files.": "Cannot find the common subdirectory path for the input files.",
|
||||
"Emit Error: {0}.": "Emit Error: {0}.",
|
||||
"Cannot read file '{0}': {1}": "Cannot read file '{0}': {1}",
|
||||
"Unsupported file encoding.": "Unsupported file encoding.",
|
||||
"Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.": "Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.",
|
||||
"Unsupported locale: '{0}'.": "Unsupported locale: '{0}'.",
|
||||
"Execution Failed.{NL}": "Execution Failed.{NL}",
|
||||
"Should not emit a type query": "Should not emit a type query",
|
||||
"Should not emit a type reference": "Should not emit a type reference",
|
||||
"Invalid call to 'up'": "Invalid call to 'up'",
|
||||
"Invalid call to 'down'": "Invalid call to 'down'",
|
||||
"Base64 value '{0}' finished with a continuation bit": "Base64 value '{0}' finished with a continuation bit",
|
||||
"Key was already in table": "Key was already in table",
|
||||
"Unknown option '{0}'": "Unknown option '{0}'",
|
||||
"Expected {0} arguments to message, got {1} instead": "Expected {0} arguments to message, got {1} instead",
|
||||
"Expected the message '{0}' to have {1} arguments, but it had {2}": "Expected the message '{0}' to have {1} arguments, but it had {2}",
|
||||
"Invalid argument: {0}. {1}": "Invalid argument: {0}. {1}",
|
||||
"Invalid argument: {0}.": "Invalid argument: {0}.",
|
||||
"Argument out of range: {0}.": "Argument out of range: {0}.",
|
||||
"Argument null: {0}.": "Argument null: {0}.",
|
||||
"Operation not implemented properly by subclass.": "Operation not implemented properly by subclass.",
|
||||
"Not yet implemented.": "Not yet implemented.",
|
||||
"Invalid operation: {0}": "Invalid operation: {0}",
|
||||
"Invalid operation.": "Invalid operation.",
|
||||
"Could not delete file '{0}'": "Could not delete file '{0}'",
|
||||
"Could not create directory '{0}'": "Could not create directory '{0}'",
|
||||
"Error while executing file '{0}': ": "Error while executing file '{0}': ",
|
||||
"Cannot compile external modules unless the '--module' flag is provided.": "Cannot compile external modules unless the '--module' flag is provided.",
|
||||
"Option mapRoot cannot be specified without specifying sourcemap option.": "Option mapRoot cannot be specified without specifying sourcemap option.",
|
||||
"Option sourceRoot cannot be specified without specifying sourcemap option.": "Option sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.": "Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Concatenate and emit output to single file": "Concatenate and emit output to single file",
|
||||
"Generates corresponding {0} file": "Generates corresponding {0} file",
|
||||
"Specifies the location where debugger should locate map files instead of generated locations.": "Specifies the location where debugger should locate map files instead of generated locations.",
|
||||
"Specifies the location where debugger should locate TypeScript files instead of source locations.": "Specifies the location where debugger should locate TypeScript files instead of source locations.",
|
||||
"Watch input files": "Watch input files",
|
||||
"Redirect output structure to the directory": "Redirect output structure to the directory",
|
||||
"Do not emit comments to output": "Do not emit comments to output",
|
||||
"Skip resolution and preprocessing": "Skip resolution and preprocessing",
|
||||
"Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"": "Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"",
|
||||
"Specify module code generation: \"{0}\" or \"{1}\"": "Specify module code generation: \"{0}\" or \"{1}\"",
|
||||
"Print this message": "Print this message",
|
||||
"Print the compiler's version: {0}": "Print the compiler's version: {0}",
|
||||
"Allow use of deprecated \"{0}\" keyword when referencing an external module": "Allow use of deprecated \"{0}\" keyword when referencing an external module",
|
||||
"Specify locale for errors and messages. For example '{0}' or '{1}'": "Specify locale for errors and messages. For example '{0}' or '{1}'",
|
||||
"Syntax: {0}": "Syntax: {0}",
|
||||
"options": "options",
|
||||
"file": "file",
|
||||
"Examples:": "Examples:",
|
||||
"Options:": "Options:",
|
||||
"Insert command line options and files from a file.": "Insert command line options and files from a file.",
|
||||
"Version {0}": "Version {0}",
|
||||
"Use the '{0}' flag to see options": "Use the '{0}' flag to see options",
|
||||
"{NL}Recompiling ({0}):": "{NL}Recompiling ({0}):",
|
||||
"STRING": "STRING",
|
||||
"KIND": "KIND",
|
||||
"FILE": "FILE",
|
||||
"VERSION": "VERSION",
|
||||
"LOCATION": "LOCATION",
|
||||
"DIRECTORY": "DIRECTORY",
|
||||
"This version of the Javascript runtime does not support the '{0}' function.": "This version of the Javascript runtime does not support the '{0}' function.",
|
||||
"Looking up path for identifier token did not result in an identifer.": "Looking up path for identifier token did not result in an identifer.",
|
||||
"Unknown rule": "Unknown rule",
|
||||
"Invalid line number ({0})": "Invalid line number ({0})",
|
||||
"Warn on expressions and declarations with an implied 'any' type.": "Warn on expressions and declarations with an implied 'any' type.",
|
||||
"Variable '{0}' implicitly has an 'any' type.": "Variable '{0}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of '{1}' implicitly has an 'any' type.": "Parameter '{0}' of '{1}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of function type implicitly has an 'any' type.": "Parameter '{0}' of function type implicitly has an 'any' type.",
|
||||
"Member '{0}' of object type implicitly has an 'any' type.": "Member '{0}' of object type implicitly has an 'any' type.",
|
||||
"\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.": "\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.",
|
||||
"'{0}', which lacks return-type annotation, implicitly has an 'any' return type.": "'{0}', which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Function expression, which lacks return-type annotation, implicitly has an 'any' return type.": "Function expression, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Parameter '{0}' of lambda function implicitly has an 'any' type.": "Parameter '{0}' of lambda function implicitly has an 'any' type.",
|
||||
"Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.": "Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.": "Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Array Literal implicitly has an 'any' type from widening.": "Array Literal implicitly has an 'any' type from widening."
|
||||
}
|
||||
374
bin/resources/pl/diagnosticMessages.generated.json
Normal file
374
bin/resources/pl/diagnosticMessages.generated.json
Normal file
@ -0,0 +1,374 @@
|
||||
{
|
||||
"error TS{0}: {1}": "error TS{0}: {1}",
|
||||
"warning TS{0}: {1}": "warning TS{0}: {1}",
|
||||
"Unrecognized escape sequence.": "Unrecognized escape sequence.",
|
||||
"Unexpected character {0}.": "Unexpected character {0}.",
|
||||
"Missing close quote character.": "Missing close quote character.",
|
||||
"Identifier expected.": "Identifier expected.",
|
||||
"'{0}' keyword expected.": "'{0}' keyword expected.",
|
||||
"'{0}' expected.": "'{0}' expected.",
|
||||
"Identifier expected; '{0}' is a keyword.": "Identifier expected; '{0}' is a keyword.",
|
||||
"Automatic semicolon insertion not allowed.": "Automatic semicolon insertion not allowed.",
|
||||
"Unexpected token; '{0}' expected.": "Unexpected token; '{0}' expected.",
|
||||
"Trailing separator not allowed.": "Trailing separator not allowed.",
|
||||
"'*/' expected.": "'*/' expected.",
|
||||
"'public' or 'private' modifier must precede 'static'.": "'public' or 'private' modifier must precede 'static'.",
|
||||
"Unexpected token.": "Unexpected token.",
|
||||
"Catch clause parameter cannot have a type annotation.": "Catch clause parameter cannot have a type annotation.",
|
||||
"Rest parameter must be last in list.": "Rest parameter must be last in list.",
|
||||
"Parameter cannot have question mark and initializer.": "Parameter cannot have question mark and initializer.",
|
||||
"Required parameter cannot follow optional parameter.": "Required parameter cannot follow optional parameter.",
|
||||
"Index signatures cannot have rest parameters.": "Index signatures cannot have rest parameters.",
|
||||
"Index signature parameter cannot have accessibility modifiers.": "Index signature parameter cannot have accessibility modifiers.",
|
||||
"Index signature parameter cannot have a question mark.": "Index signature parameter cannot have a question mark.",
|
||||
"Index signature parameter cannot have an initializer.": "Index signature parameter cannot have an initializer.",
|
||||
"Index signature must have a type annotation.": "Index signature must have a type annotation.",
|
||||
"Index signature parameter must have a type annotation.": "Index signature parameter must have a type annotation.",
|
||||
"Index signature parameter type must be 'string' or 'number'.": "Index signature parameter type must be 'string' or 'number'.",
|
||||
"'extends' clause already seen.": "'extends' clause already seen.",
|
||||
"'extends' clause must precede 'implements' clause.": "'extends' clause must precede 'implements' clause.",
|
||||
"Classes can only extend a single class.": "Classes can only extend a single class.",
|
||||
"'implements' clause already seen.": "'implements' clause already seen.",
|
||||
"Accessibility modifier already seen.": "Accessibility modifier already seen.",
|
||||
"'{0}' modifier must precede '{1}' modifier.": "'{0}' modifier must precede '{1}' modifier.",
|
||||
"'{0}' modifier already seen.": "'{0}' modifier already seen.",
|
||||
"'{0}' modifier cannot appear on a class element.": "'{0}' modifier cannot appear on a class element.",
|
||||
"Interface declaration cannot have 'implements' clause.": "Interface declaration cannot have 'implements' clause.",
|
||||
"'super' invocation cannot have type arguments.": "'super' invocation cannot have type arguments.",
|
||||
"Only ambient modules can use quoted names.": "Only ambient modules can use quoted names.",
|
||||
"Statements are not allowed in ambient contexts.": "Statements are not allowed in ambient contexts.",
|
||||
"Implementations are not allowed in ambient contexts.": "Implementations are not allowed in ambient contexts.",
|
||||
"'declare' modifier not allowed for code already in an ambient context.": "'declare' modifier not allowed for code already in an ambient context.",
|
||||
"Initializers are not allowed in ambient contexts.": "Initializers are not allowed in ambient contexts.",
|
||||
"Parameter property declarations can only be used in constructors.": "Parameter property declarations can only be used in constructors.",
|
||||
"Function implementation expected.": "Function implementation expected.",
|
||||
"Constructor implementation expected.": "Constructor implementation expected.",
|
||||
"Function overload name must be '{0}'.": "Function overload name must be '{0}'.",
|
||||
"'{0}' modifier cannot appear on a module element.": "'{0}' modifier cannot appear on a module element.",
|
||||
"'declare' modifier cannot appear on an interface declaration.": "'declare' modifier cannot appear on an interface declaration.",
|
||||
"'declare' modifier required for top level element.": "'declare' modifier required for top level element.",
|
||||
"Rest parameter cannot be optional.": "Rest parameter cannot be optional.",
|
||||
"Rest parameter cannot have an initializer.": "Rest parameter cannot have an initializer.",
|
||||
"'set' accessor must have one and only one parameter.": "'set' accessor must have one and only one parameter.",
|
||||
"'set' accessor parameter cannot have accessibility modifier.": "'set' accessor parameter cannot have accessibility modifier.",
|
||||
"'set' accessor parameter cannot be optional.": "'set' accessor parameter cannot be optional.",
|
||||
"'set' accessor parameter cannot have an initializer.": "'set' accessor parameter cannot have an initializer.",
|
||||
"'set' accessor cannot have rest parameter.": "'set' accessor cannot have rest parameter.",
|
||||
"'get' accessor cannot have parameters.": "'get' accessor cannot have parameters.",
|
||||
"Modifiers cannot appear here.": "Modifiers cannot appear here.",
|
||||
"Accessors are only available when targeting ECMAScript 5 and higher.": "Accessors are only available when targeting ECMAScript 5 and higher.",
|
||||
"Class name cannot be '{0}'.": "Class name cannot be '{0}'.",
|
||||
"Interface name cannot be '{0}'.": "Interface name cannot be '{0}'.",
|
||||
"Enum name cannot be '{0}'.": "Enum name cannot be '{0}'.",
|
||||
"Module name cannot be '{0}'.": "Module name cannot be '{0}'.",
|
||||
"Enum member must have initializer.": "Enum member must have initializer.",
|
||||
"Export assignment cannot be used in internal modules.": "Export assignment cannot be used in internal modules.",
|
||||
"Export assignment not allowed in module with exported element.": "Export assignment not allowed in module with exported element.",
|
||||
"Module cannot have multiple export assignments.": "Module cannot have multiple export assignments.",
|
||||
"Ambient enum elements can only have integer literal initializers.": "Ambient enum elements can only have integer literal initializers.",
|
||||
"module, class, interface, enum, import or statement": "module, class, interface, enum, import or statement",
|
||||
"constructor, function, accessor or variable": "constructor, function, accessor or variable",
|
||||
"statement": "statement",
|
||||
"case or default clause": "case or default clause",
|
||||
"identifier": "identifier",
|
||||
"call, construct, index, property or function signature": "call, construct, index, property or function signature",
|
||||
"expression": "expression",
|
||||
"type name": "type name",
|
||||
"property or accessor": "property or accessor",
|
||||
"parameter": "parameter",
|
||||
"type": "type",
|
||||
"type parameter": "type parameter",
|
||||
"'declare' modifier not allowed on import declaration.": "'declare' modifier not allowed on import declaration.",
|
||||
"Function overload must be static": "Function overload must be static",
|
||||
"Function overload must not be static": "Function overload must not be static",
|
||||
"Duplicate identifier '{0}'.": "Duplicate identifier '{0}'.",
|
||||
"The name '{0}' does not exist in the current scope.": "The name '{0}' does not exist in the current scope.",
|
||||
"The name '{0}' does not refer to a value.": "The name '{0}' does not refer to a value.",
|
||||
"'super' can only be used inside a class instance method.": "'super' can only be used inside a class instance method.",
|
||||
"The left-hand side of an assignment expression must be a variable, property or indexer.": "The left-hand side of an assignment expression must be a variable, property or indexer.",
|
||||
"Value of type '{0}' is not callable. Did you mean to include 'new'?": "Value of type '{0}' is not callable. Did you mean to include 'new'?",
|
||||
"Value of type '{0}' is not callable.": "Value of type '{0}' is not callable.",
|
||||
"Value of type '{0}' is not newable.": "Value of type '{0}' is not newable.",
|
||||
"Value of type '{0}' is not indexable by type '{1}'.": "Value of type '{0}' is not indexable by type '{1}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}'.": "Operator '{0}' cannot be applied to types '{1}' and '{2}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}": "Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}",
|
||||
"Cannot convert '{0}' to '{1}'.": "Cannot convert '{0}' to '{1}'.",
|
||||
"Cannot convert '{0}' to '{1}':{NL}{2}": "Cannot convert '{0}' to '{1}':{NL}{2}",
|
||||
"Expected var, class, interface, or module.": "Expected var, class, interface, or module.",
|
||||
"Operator '{0}' cannot be applied to type '{1}'.": "Operator '{0}' cannot be applied to type '{1}'.",
|
||||
"Getter '{0}' already declared.": "Getter '{0}' already declared.",
|
||||
"Setter '{0}' already declared.": "Setter '{0}' already declared.",
|
||||
"Accessors cannot have type parameters.": "Accessors cannot have type parameters.",
|
||||
"Exported class '{0}' extends private class '{1}'.": "Exported class '{0}' extends private class '{1}'.",
|
||||
"Exported class '{0}' implements private interface '{1}'.": "Exported class '{0}' implements private interface '{1}'.",
|
||||
"Exported interface '{0}' extends private interface '{1}'.": "Exported interface '{0}' extends private interface '{1}'.",
|
||||
"Exported class '{0}' extends class from inaccessible module {1}.": "Exported class '{0}' extends class from inaccessible module {1}.",
|
||||
"Exported class '{0}' implements interface from inaccessible module {1}.": "Exported class '{0}' implements interface from inaccessible module {1}.",
|
||||
"Exported interface '{0}' extends interface from inaccessible module {1}.": "Exported interface '{0}' extends interface from inaccessible module {1}.",
|
||||
"Public static property '{0}' of exported class has or is using private type '{1}'.": "Public static property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Public property '{0}' of exported class has or is using private type '{1}'.": "Public property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Property '{0}' of exported interface has or is using private type '{1}'.": "Property '{0}' of exported interface has or is using private type '{1}'.",
|
||||
"Exported variable '{0}' has or is using private type '{1}'.": "Exported variable '{0}' has or is using private type '{1}'.",
|
||||
"Public static property '{0}' of exported class is using inaccessible module {1}.": "Public static property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Public property '{0}' of exported class is using inaccessible module {1}.": "Public property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Property '{0}' of exported interface is using inaccessible module {1}.": "Property '{0}' of exported interface is using inaccessible module {1}.",
|
||||
"Exported variable '{0}' is using inaccessible module {1}.": "Exported variable '{0}' is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor from exported class has or is using private type '{1}'.": "Parameter '{0}' of constructor from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of method from exported interface has or is using private type '{1}'.": "Parameter '{0}' of method from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of exported function has or is using private type '{1}'.": "Parameter '{0}' of exported function has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor from exported class is using inaccessible module {1}.": "Parameter '{0}' of constructor from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.": "Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of call signature from exported interface is using inaccessible module {1}": "Parameter '{0}' of call signature from exported interface is using inaccessible module {1}",
|
||||
"Parameter '{0}' of public static method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of method from exported interface is using inaccessible module {1}.": "Parameter '{0}' of method from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of exported function is using inaccessible module {1}.": "Parameter '{0}' of exported function is using inaccessible module {1}.",
|
||||
"Return type of public static property getter from exported class has or is using private type '{0}'.": "Return type of public static property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of public property getter from exported class has or is using private type '{0}'.": "Return type of public property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of constructor signature from exported interface has or is using private type '{0}'.": "Return type of constructor signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of call signature from exported interface has or is using private type '{0}'.": "Return type of call signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of index signature from exported interface has or is using private type '{0}'.": "Return type of index signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of public static method from exported class has or is using private type '{0}'.": "Return type of public static method from exported class has or is using private type '{0}'.",
|
||||
"Return type of public method from exported class has or is using private type '{0}'.": "Return type of public method from exported class has or is using private type '{0}'.",
|
||||
"Return type of method from exported interface has or is using private type '{0}'.": "Return type of method from exported interface has or is using private type '{0}'.",
|
||||
"Return type of exported function has or is using private type '{0}'.": "Return type of exported function has or is using private type '{0}'.",
|
||||
"Return type of public static property getter from exported class is using inaccessible module {0}.": "Return type of public static property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of public property getter from exported class is using inaccessible module {0}.": "Return type of public property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of constructor signature from exported interface is using inaccessible module {0}.": "Return type of constructor signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of call signature from exported interface is using inaccessible module {0}.": "Return type of call signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of index signature from exported interface is using inaccessible module {0}.": "Return type of index signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of public static method from exported class is using inaccessible module {0}.": "Return type of public static method from exported class is using inaccessible module {0}.",
|
||||
"Return type of public method from exported class is using inaccessible module {0}.": "Return type of public method from exported class is using inaccessible module {0}.",
|
||||
"Return type of method from exported interface is using inaccessible module {0}.": "Return type of method from exported interface is using inaccessible module {0}.",
|
||||
"Return type of exported function is using inaccessible module {0}.": "Return type of exported function is using inaccessible module {0}.",
|
||||
"'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.": "'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.",
|
||||
"A parameter list must follow a generic type argument list. '(' expected.": "A parameter list must follow a generic type argument list. '(' expected.",
|
||||
"Multiple constructor implementations are not allowed.": "Multiple constructor implementations are not allowed.",
|
||||
"Unable to resolve external module '{0}'.": "Unable to resolve external module '{0}'.",
|
||||
"Module cannot be aliased to a non-module type.": "Module cannot be aliased to a non-module type.",
|
||||
"A class may only extend another class.": "A class may only extend another class.",
|
||||
"A class may only implement another class or interface.": "A class may only implement another class or interface.",
|
||||
"An interface may only extend another class or interface.": "An interface may only extend another class or interface.",
|
||||
"An interface cannot implement another type.": "An interface cannot implement another type.",
|
||||
"Unable to resolve type.": "Unable to resolve type.",
|
||||
"Unable to resolve type of '{0}'.": "Unable to resolve type of '{0}'.",
|
||||
"Unable to resolve type parameter constraint.": "Unable to resolve type parameter constraint.",
|
||||
"Type parameter constraint cannot be a primitive type.": "Type parameter constraint cannot be a primitive type.",
|
||||
"Supplied parameters do not match any signature of call target.": "Supplied parameters do not match any signature of call target.",
|
||||
"Supplied parameters do not match any signature of call target:{NL}{0}": "Supplied parameters do not match any signature of call target:{NL}{0}",
|
||||
"Invalid 'new' expression.": "Invalid 'new' expression.",
|
||||
"Call signatures used in a 'new' expression must have a 'void' return type.": "Call signatures used in a 'new' expression must have a 'void' return type.",
|
||||
"Could not select overload for 'new' expression.": "Could not select overload for 'new' expression.",
|
||||
"Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.": "Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.",
|
||||
"Could not select overload for 'call' expression.": "Could not select overload for 'call' expression.",
|
||||
"Cannot invoke an expression whose type lacks a call signature.": "Cannot invoke an expression whose type lacks a call signature.",
|
||||
"Calls to 'super' are only valid inside a class.": "Calls to 'super' are only valid inside a class.",
|
||||
"Generic type '{0}' requires {1} type argument(s).": "Generic type '{0}' requires {1} type argument(s).",
|
||||
"Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.": "Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.",
|
||||
"Type of array literal cannot be determined. Best common type could not be found for array elements.": "Type of array literal cannot be determined. Best common type could not be found for array elements.",
|
||||
"Could not find enclosing symbol for dotted name '{0}'.": "Could not find enclosing symbol for dotted name '{0}'.",
|
||||
"The property '{0}' does not exist on value of type '{1}'.": "The property '{0}' does not exist on value of type '{1}'.",
|
||||
"Could not find symbol '{0}'.": "Could not find symbol '{0}'.",
|
||||
"'get' and 'set' accessor must have the same type.": "'get' and 'set' accessor must have the same type.",
|
||||
"'this' cannot be referenced in current location.": "'this' cannot be referenced in current location.",
|
||||
"Static methods cannot reference class type parameters.": "Static methods cannot reference class type parameters.",
|
||||
"Class '{0}' is recursively referenced as a base type of itself.": "Class '{0}' is recursively referenced as a base type of itself.",
|
||||
"Interface '{0}' is recursively referenced as a base type of itself.": "Interface '{0}' is recursively referenced as a base type of itself.",
|
||||
"'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.": "'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.",
|
||||
"'super' cannot be referenced in non-derived classes.": "'super' cannot be referenced in non-derived classes.",
|
||||
"A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.": "A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.",
|
||||
"Constructors for derived classes must contain a 'super' call.": "Constructors for derived classes must contain a 'super' call.",
|
||||
"Super calls are not permitted outside constructors or in local functions inside constructors.": "Super calls are not permitted outside constructors or in local functions inside constructors.",
|
||||
"'{0}.{1}' is inaccessible.": "'{0}.{1}' is inaccessible.",
|
||||
"'this' cannot be referenced within module bodies.": "'this' cannot be referenced within module bodies.",
|
||||
"Invalid '+' expression - types not known to support the addition operator.": "Invalid '+' expression - types not known to support the addition operator.",
|
||||
"The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.": "The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.",
|
||||
"Variable declarations of a 'for' statement cannot use a type annotation.": "Variable declarations of a 'for' statement cannot use a type annotation.",
|
||||
"Variable declarations of a 'for' statement must be of types 'string' or 'any'.": "Variable declarations of a 'for' statement must be of types 'string' or 'any'.",
|
||||
"The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.": "The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'in' expression must be of types 'string' or 'any'.": "The left-hand side of an 'in' expression must be of types 'string' or 'any'.",
|
||||
"The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.": "The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.": "The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.": "The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.",
|
||||
"Setters cannot return a value.": "Setters cannot return a value.",
|
||||
"Tried to query type of uninitialized module '{0}'.": "Tried to query type of uninitialized module '{0}'.",
|
||||
"Tried to set variable type to uninitialized module type '{0}'.": "Tried to set variable type to uninitialized module type '{0}'.",
|
||||
"Function '{0}' declared a non-void return type, but has no return expression.": "Function '{0}' declared a non-void return type, but has no return expression.",
|
||||
"Getters must return a value.": "Getters must return a value.",
|
||||
"Getter and setter accessors do not agree in visibility.": "Getter and setter accessors do not agree in visibility.",
|
||||
"Invalid left-hand side of assignment expression.": "Invalid left-hand side of assignment expression.",
|
||||
"Function declared a non-void return type, but has no return expression.": "Function declared a non-void return type, but has no return expression.",
|
||||
"Cannot resolve return type reference.": "Cannot resolve return type reference.",
|
||||
"Constructors cannot have a return type of 'void'.": "Constructors cannot have a return type of 'void'.",
|
||||
"Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.": "Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.",
|
||||
"All symbols within a with block will be resolved to 'any'.": "All symbols within a with block will be resolved to 'any'.",
|
||||
"Import declarations in an internal module cannot reference an external module.": "Import declarations in an internal module cannot reference an external module.",
|
||||
"Class {0} declares interface {1} but does not implement it:{NL}{2}": "Class {0} declares interface {1} but does not implement it:{NL}{2}",
|
||||
"Class {0} declares class {1} as an interface but does not implement it:{NL}{2}": "Class {0} declares class {1} as an interface but does not implement it:{NL}{2}",
|
||||
"The operand of an increment or decrement operator must be a variable, property or indexer.": "The operand of an increment or decrement operator must be a variable, property or indexer.",
|
||||
"'this' cannot be referenced in static initializers in a class body.": "'this' cannot be referenced in static initializers in a class body.",
|
||||
"Class '{0}' cannot extend class '{1}':{NL}{2}": "Class '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend class '{1}':{NL}{2}": "Interface '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend interface '{1}':{NL}{2}": "Interface '{0}' cannot extend interface '{1}':{NL}{2}",
|
||||
"Duplicate overload signature for '{0}'.": "Duplicate overload signature for '{0}'.",
|
||||
"Duplicate constructor overload signature.": "Duplicate constructor overload signature.",
|
||||
"Duplicate overload call signature.": "Duplicate overload call signature.",
|
||||
"Duplicate overload construct signature.": "Duplicate overload construct signature.",
|
||||
"Overload signature is not compatible with function definition.": "Overload signature is not compatible with function definition.",
|
||||
"Overload signature is not compatible with function definition:{NL}{0}": "Overload signature is not compatible with function definition:{NL}{0}",
|
||||
"Overload signatures must all be public or private.": "Overload signatures must all be public or private.",
|
||||
"Overload signatures must all be exported or local.": "Overload signatures must all be exported or local.",
|
||||
"Overload signatures must all be ambient or non-ambient.": "Overload signatures must all be ambient or non-ambient.",
|
||||
"Overload signatures must all be optional or required.": "Overload signatures must all be optional or required.",
|
||||
"Specialized overload signature is not subtype of any non-specialized signature.": "Specialized overload signature is not subtype of any non-specialized signature.",
|
||||
"'this' cannot be referenced in constructor arguments.": "'this' cannot be referenced in constructor arguments.",
|
||||
"Static member cannot be accessed off an instance variable.": "Static member cannot be accessed off an instance variable.",
|
||||
"Instance member cannot be accessed off a class.": "Instance member cannot be accessed off a class.",
|
||||
"Untyped function calls may not accept type arguments.": "Untyped function calls may not accept type arguments.",
|
||||
"Non-generic functions may not accept type arguments.": "Non-generic functions may not accept type arguments.",
|
||||
"A generic type may not reference itself with a wrapped form of its own type parameters.": "A generic type may not reference itself with a wrapped form of its own type parameters.",
|
||||
"Rest parameters must be array types.": "Rest parameters must be array types.",
|
||||
"Overload signature implementation cannot use specialized type.": "Overload signature implementation cannot use specialized type.",
|
||||
"Export assignments may only be used at the top-level of external modules.": "Export assignments may only be used at the top-level of external modules.",
|
||||
"Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules": "Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules",
|
||||
"Only public instance methods of the base class are accessible via the 'super' keyword.": "Only public instance methods of the base class are accessible via the 'super' keyword.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}'.": "All numerically named properties must be subtypes of numeric indexer type '{0}'.",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}": "All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}",
|
||||
"All named properties must be subtypes of string indexer type '{0}'.": "All named properties must be subtypes of string indexer type '{0}'.",
|
||||
"All named properties must be subtypes of string indexer type '{0}':{NL}{1}": "All named properties must be subtypes of string indexer type '{0}':{NL}{1}",
|
||||
"Generic type references must include all type arguments.": "Generic type references must include all type arguments.",
|
||||
"Default arguments are not allowed in an overload parameter.": "Default arguments are not allowed in an overload parameter.",
|
||||
"Overloads cannot differ only by return type.": "Overloads cannot differ only by return type.",
|
||||
"Function expression declared a non-void return type, but has no return expression.": "Function expression declared a non-void return type, but has no return expression.",
|
||||
"Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.": "Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.",
|
||||
"Could not find symbol '{0}' in module '{1}'.": "Could not find symbol '{0}' in module '{1}'.",
|
||||
"Unable to resolve module reference '{0}'.": "Unable to resolve module reference '{0}'.",
|
||||
"Could not find module '{0}' in module '{1}'.": "Could not find module '{0}' in module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.",
|
||||
"Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.": "Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.",
|
||||
"Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.": "Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.",
|
||||
"Type '{0}' is missing property '{1}' from type '{2}'.": "Type '{0}' is missing property '{1}' from type '{2}'.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible.": "Types of property '{0}' of types '{1}' and '{2}' are incompatible.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}": "Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}",
|
||||
"Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.": "Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.",
|
||||
"Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.": "Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.",
|
||||
"Types '{0}' and '{1}' define property '{2}' as private.": "Types '{0}' and '{1}' define property '{2}' as private.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible.": "Call signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a call signature, but type '{1}' lacks one.": "Type '{0}' requires a call signature, but type '{1}' lacks one.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible.": "Construct signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a construct signature, but type '{1}' lacks one.": "Type '{0}' requires a construct signature, but type '{1}' lacks one.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible.": "Index signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Call signature expects {0} or fewer parameters.": "Call signature expects {0} or fewer parameters.",
|
||||
"Could not apply type '{0}' to argument {1} which is of type '{2}'.": "Could not apply type '{0}' to argument {1} which is of type '{2}'.",
|
||||
"Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}",
|
||||
"Type reference cannot refer to container '{0}'.": "Type reference cannot refer to container '{0}'.",
|
||||
"Type reference must refer to type.": "Type reference must refer to type.",
|
||||
"Enums with multiple declarations must provide an initializer for the first enum element.": "Enums with multiple declarations must provide an initializer for the first enum element.",
|
||||
" (+ {0} overload(s))": " (+ {0} overload(s))",
|
||||
"Current host does not support '{0}' option.": "Current host does not support '{0}' option.",
|
||||
"ECMAScript target version '{0}' not supported. Using default '{1}' code generation.": "ECMAScript target version '{0}' not supported. Using default '{1}' code generation.",
|
||||
"Module code generation '{0}' not supported.": "Module code generation '{0}' not supported.",
|
||||
"Could not find file: '{0}'.": "Could not find file: '{0}'.",
|
||||
"A file cannot have a reference to itself.": "A file cannot have a reference to itself.",
|
||||
"Cannot resolve referenced file: '{0}'.": "Cannot resolve referenced file: '{0}'.",
|
||||
"Cannot find the common subdirectory path for the input files.": "Cannot find the common subdirectory path for the input files.",
|
||||
"Emit Error: {0}.": "Emit Error: {0}.",
|
||||
"Cannot read file '{0}': {1}": "Cannot read file '{0}': {1}",
|
||||
"Unsupported file encoding.": "Unsupported file encoding.",
|
||||
"Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.": "Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.",
|
||||
"Unsupported locale: '{0}'.": "Unsupported locale: '{0}'.",
|
||||
"Execution Failed.{NL}": "Execution Failed.{NL}",
|
||||
"Should not emit a type query": "Should not emit a type query",
|
||||
"Should not emit a type reference": "Should not emit a type reference",
|
||||
"Invalid call to 'up'": "Invalid call to 'up'",
|
||||
"Invalid call to 'down'": "Invalid call to 'down'",
|
||||
"Base64 value '{0}' finished with a continuation bit": "Base64 value '{0}' finished with a continuation bit",
|
||||
"Key was already in table": "Key was already in table",
|
||||
"Unknown option '{0}'": "Unknown option '{0}'",
|
||||
"Expected {0} arguments to message, got {1} instead": "Expected {0} arguments to message, got {1} instead",
|
||||
"Expected the message '{0}' to have {1} arguments, but it had {2}": "Expected the message '{0}' to have {1} arguments, but it had {2}",
|
||||
"Invalid argument: {0}. {1}": "Invalid argument: {0}. {1}",
|
||||
"Invalid argument: {0}.": "Invalid argument: {0}.",
|
||||
"Argument out of range: {0}.": "Argument out of range: {0}.",
|
||||
"Argument null: {0}.": "Argument null: {0}.",
|
||||
"Operation not implemented properly by subclass.": "Operation not implemented properly by subclass.",
|
||||
"Not yet implemented.": "Not yet implemented.",
|
||||
"Invalid operation: {0}": "Invalid operation: {0}",
|
||||
"Invalid operation.": "Invalid operation.",
|
||||
"Could not delete file '{0}'": "Could not delete file '{0}'",
|
||||
"Could not create directory '{0}'": "Could not create directory '{0}'",
|
||||
"Error while executing file '{0}': ": "Error while executing file '{0}': ",
|
||||
"Cannot compile external modules unless the '--module' flag is provided.": "Cannot compile external modules unless the '--module' flag is provided.",
|
||||
"Option mapRoot cannot be specified without specifying sourcemap option.": "Option mapRoot cannot be specified without specifying sourcemap option.",
|
||||
"Option sourceRoot cannot be specified without specifying sourcemap option.": "Option sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.": "Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Concatenate and emit output to single file": "Concatenate and emit output to single file",
|
||||
"Generates corresponding {0} file": "Generates corresponding {0} file",
|
||||
"Specifies the location where debugger should locate map files instead of generated locations.": "Specifies the location where debugger should locate map files instead of generated locations.",
|
||||
"Specifies the location where debugger should locate TypeScript files instead of source locations.": "Specifies the location where debugger should locate TypeScript files instead of source locations.",
|
||||
"Watch input files": "Watch input files",
|
||||
"Redirect output structure to the directory": "Redirect output structure to the directory",
|
||||
"Do not emit comments to output": "Do not emit comments to output",
|
||||
"Skip resolution and preprocessing": "Skip resolution and preprocessing",
|
||||
"Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"": "Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"",
|
||||
"Specify module code generation: \"{0}\" or \"{1}\"": "Specify module code generation: \"{0}\" or \"{1}\"",
|
||||
"Print this message": "Print this message",
|
||||
"Print the compiler's version: {0}": "Print the compiler's version: {0}",
|
||||
"Allow use of deprecated \"{0}\" keyword when referencing an external module": "Allow use of deprecated \"{0}\" keyword when referencing an external module",
|
||||
"Specify locale for errors and messages. For example '{0}' or '{1}'": "Specify locale for errors and messages. For example '{0}' or '{1}'",
|
||||
"Syntax: {0}": "Syntax: {0}",
|
||||
"options": "options",
|
||||
"file": "file",
|
||||
"Examples:": "Examples:",
|
||||
"Options:": "Options:",
|
||||
"Insert command line options and files from a file.": "Insert command line options and files from a file.",
|
||||
"Version {0}": "Version {0}",
|
||||
"Use the '{0}' flag to see options": "Use the '{0}' flag to see options",
|
||||
"{NL}Recompiling ({0}):": "{NL}Recompiling ({0}):",
|
||||
"STRING": "STRING",
|
||||
"KIND": "KIND",
|
||||
"FILE": "FILE",
|
||||
"VERSION": "VERSION",
|
||||
"LOCATION": "LOCATION",
|
||||
"DIRECTORY": "DIRECTORY",
|
||||
"This version of the Javascript runtime does not support the '{0}' function.": "This version of the Javascript runtime does not support the '{0}' function.",
|
||||
"Looking up path for identifier token did not result in an identifer.": "Looking up path for identifier token did not result in an identifer.",
|
||||
"Unknown rule": "Unknown rule",
|
||||
"Invalid line number ({0})": "Invalid line number ({0})",
|
||||
"Warn on expressions and declarations with an implied 'any' type.": "Warn on expressions and declarations with an implied 'any' type.",
|
||||
"Variable '{0}' implicitly has an 'any' type.": "Variable '{0}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of '{1}' implicitly has an 'any' type.": "Parameter '{0}' of '{1}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of function type implicitly has an 'any' type.": "Parameter '{0}' of function type implicitly has an 'any' type.",
|
||||
"Member '{0}' of object type implicitly has an 'any' type.": "Member '{0}' of object type implicitly has an 'any' type.",
|
||||
"\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.": "\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.",
|
||||
"'{0}', which lacks return-type annotation, implicitly has an 'any' return type.": "'{0}', which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Function expression, which lacks return-type annotation, implicitly has an 'any' return type.": "Function expression, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Parameter '{0}' of lambda function implicitly has an 'any' type.": "Parameter '{0}' of lambda function implicitly has an 'any' type.",
|
||||
"Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.": "Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.": "Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Array Literal implicitly has an 'any' type from widening.": "Array Literal implicitly has an 'any' type from widening."
|
||||
}
|
||||
374
bin/resources/pt/br/diagnosticMessages.generated.json
Normal file
374
bin/resources/pt/br/diagnosticMessages.generated.json
Normal file
@ -0,0 +1,374 @@
|
||||
{
|
||||
"error TS{0}: {1}": "error TS{0}: {1}",
|
||||
"warning TS{0}: {1}": "warning TS{0}: {1}",
|
||||
"Unrecognized escape sequence.": "Unrecognized escape sequence.",
|
||||
"Unexpected character {0}.": "Unexpected character {0}.",
|
||||
"Missing close quote character.": "Missing close quote character.",
|
||||
"Identifier expected.": "Identifier expected.",
|
||||
"'{0}' keyword expected.": "'{0}' keyword expected.",
|
||||
"'{0}' expected.": "'{0}' expected.",
|
||||
"Identifier expected; '{0}' is a keyword.": "Identifier expected; '{0}' is a keyword.",
|
||||
"Automatic semicolon insertion not allowed.": "Automatic semicolon insertion not allowed.",
|
||||
"Unexpected token; '{0}' expected.": "Unexpected token; '{0}' expected.",
|
||||
"Trailing separator not allowed.": "Trailing separator not allowed.",
|
||||
"'*/' expected.": "'*/' expected.",
|
||||
"'public' or 'private' modifier must precede 'static'.": "'public' or 'private' modifier must precede 'static'.",
|
||||
"Unexpected token.": "Unexpected token.",
|
||||
"Catch clause parameter cannot have a type annotation.": "Catch clause parameter cannot have a type annotation.",
|
||||
"Rest parameter must be last in list.": "Rest parameter must be last in list.",
|
||||
"Parameter cannot have question mark and initializer.": "Parameter cannot have question mark and initializer.",
|
||||
"Required parameter cannot follow optional parameter.": "Required parameter cannot follow optional parameter.",
|
||||
"Index signatures cannot have rest parameters.": "Index signatures cannot have rest parameters.",
|
||||
"Index signature parameter cannot have accessibility modifiers.": "Index signature parameter cannot have accessibility modifiers.",
|
||||
"Index signature parameter cannot have a question mark.": "Index signature parameter cannot have a question mark.",
|
||||
"Index signature parameter cannot have an initializer.": "Index signature parameter cannot have an initializer.",
|
||||
"Index signature must have a type annotation.": "Index signature must have a type annotation.",
|
||||
"Index signature parameter must have a type annotation.": "Index signature parameter must have a type annotation.",
|
||||
"Index signature parameter type must be 'string' or 'number'.": "Index signature parameter type must be 'string' or 'number'.",
|
||||
"'extends' clause already seen.": "'extends' clause already seen.",
|
||||
"'extends' clause must precede 'implements' clause.": "'extends' clause must precede 'implements' clause.",
|
||||
"Classes can only extend a single class.": "Classes can only extend a single class.",
|
||||
"'implements' clause already seen.": "'implements' clause already seen.",
|
||||
"Accessibility modifier already seen.": "Accessibility modifier already seen.",
|
||||
"'{0}' modifier must precede '{1}' modifier.": "'{0}' modifier must precede '{1}' modifier.",
|
||||
"'{0}' modifier already seen.": "'{0}' modifier already seen.",
|
||||
"'{0}' modifier cannot appear on a class element.": "'{0}' modifier cannot appear on a class element.",
|
||||
"Interface declaration cannot have 'implements' clause.": "Interface declaration cannot have 'implements' clause.",
|
||||
"'super' invocation cannot have type arguments.": "'super' invocation cannot have type arguments.",
|
||||
"Only ambient modules can use quoted names.": "Only ambient modules can use quoted names.",
|
||||
"Statements are not allowed in ambient contexts.": "Statements are not allowed in ambient contexts.",
|
||||
"Implementations are not allowed in ambient contexts.": "Implementations are not allowed in ambient contexts.",
|
||||
"'declare' modifier not allowed for code already in an ambient context.": "'declare' modifier not allowed for code already in an ambient context.",
|
||||
"Initializers are not allowed in ambient contexts.": "Initializers are not allowed in ambient contexts.",
|
||||
"Parameter property declarations can only be used in constructors.": "Parameter property declarations can only be used in constructors.",
|
||||
"Function implementation expected.": "Function implementation expected.",
|
||||
"Constructor implementation expected.": "Constructor implementation expected.",
|
||||
"Function overload name must be '{0}'.": "Function overload name must be '{0}'.",
|
||||
"'{0}' modifier cannot appear on a module element.": "'{0}' modifier cannot appear on a module element.",
|
||||
"'declare' modifier cannot appear on an interface declaration.": "'declare' modifier cannot appear on an interface declaration.",
|
||||
"'declare' modifier required for top level element.": "'declare' modifier required for top level element.",
|
||||
"Rest parameter cannot be optional.": "Rest parameter cannot be optional.",
|
||||
"Rest parameter cannot have an initializer.": "Rest parameter cannot have an initializer.",
|
||||
"'set' accessor must have one and only one parameter.": "'set' accessor must have one and only one parameter.",
|
||||
"'set' accessor parameter cannot have accessibility modifier.": "'set' accessor parameter cannot have accessibility modifier.",
|
||||
"'set' accessor parameter cannot be optional.": "'set' accessor parameter cannot be optional.",
|
||||
"'set' accessor parameter cannot have an initializer.": "'set' accessor parameter cannot have an initializer.",
|
||||
"'set' accessor cannot have rest parameter.": "'set' accessor cannot have rest parameter.",
|
||||
"'get' accessor cannot have parameters.": "'get' accessor cannot have parameters.",
|
||||
"Modifiers cannot appear here.": "Modifiers cannot appear here.",
|
||||
"Accessors are only available when targeting ECMAScript 5 and higher.": "Accessors are only available when targeting ECMAScript 5 and higher.",
|
||||
"Class name cannot be '{0}'.": "Class name cannot be '{0}'.",
|
||||
"Interface name cannot be '{0}'.": "Interface name cannot be '{0}'.",
|
||||
"Enum name cannot be '{0}'.": "Enum name cannot be '{0}'.",
|
||||
"Module name cannot be '{0}'.": "Module name cannot be '{0}'.",
|
||||
"Enum member must have initializer.": "Enum member must have initializer.",
|
||||
"Export assignment cannot be used in internal modules.": "Export assignment cannot be used in internal modules.",
|
||||
"Export assignment not allowed in module with exported element.": "Export assignment not allowed in module with exported element.",
|
||||
"Module cannot have multiple export assignments.": "Module cannot have multiple export assignments.",
|
||||
"Ambient enum elements can only have integer literal initializers.": "Ambient enum elements can only have integer literal initializers.",
|
||||
"module, class, interface, enum, import or statement": "module, class, interface, enum, import or statement",
|
||||
"constructor, function, accessor or variable": "constructor, function, accessor or variable",
|
||||
"statement": "statement",
|
||||
"case or default clause": "case or default clause",
|
||||
"identifier": "identifier",
|
||||
"call, construct, index, property or function signature": "call, construct, index, property or function signature",
|
||||
"expression": "expression",
|
||||
"type name": "type name",
|
||||
"property or accessor": "property or accessor",
|
||||
"parameter": "parameter",
|
||||
"type": "type",
|
||||
"type parameter": "type parameter",
|
||||
"'declare' modifier not allowed on import declaration.": "'declare' modifier not allowed on import declaration.",
|
||||
"Function overload must be static": "Function overload must be static",
|
||||
"Function overload must not be static": "Function overload must not be static",
|
||||
"Duplicate identifier '{0}'.": "Duplicate identifier '{0}'.",
|
||||
"The name '{0}' does not exist in the current scope.": "The name '{0}' does not exist in the current scope.",
|
||||
"The name '{0}' does not refer to a value.": "The name '{0}' does not refer to a value.",
|
||||
"'super' can only be used inside a class instance method.": "'super' can only be used inside a class instance method.",
|
||||
"The left-hand side of an assignment expression must be a variable, property or indexer.": "The left-hand side of an assignment expression must be a variable, property or indexer.",
|
||||
"Value of type '{0}' is not callable. Did you mean to include 'new'?": "Value of type '{0}' is not callable. Did you mean to include 'new'?",
|
||||
"Value of type '{0}' is not callable.": "Value of type '{0}' is not callable.",
|
||||
"Value of type '{0}' is not newable.": "Value of type '{0}' is not newable.",
|
||||
"Value of type '{0}' is not indexable by type '{1}'.": "Value of type '{0}' is not indexable by type '{1}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}'.": "Operator '{0}' cannot be applied to types '{1}' and '{2}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}": "Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}",
|
||||
"Cannot convert '{0}' to '{1}'.": "Cannot convert '{0}' to '{1}'.",
|
||||
"Cannot convert '{0}' to '{1}':{NL}{2}": "Cannot convert '{0}' to '{1}':{NL}{2}",
|
||||
"Expected var, class, interface, or module.": "Expected var, class, interface, or module.",
|
||||
"Operator '{0}' cannot be applied to type '{1}'.": "Operator '{0}' cannot be applied to type '{1}'.",
|
||||
"Getter '{0}' already declared.": "Getter '{0}' already declared.",
|
||||
"Setter '{0}' already declared.": "Setter '{0}' already declared.",
|
||||
"Accessors cannot have type parameters.": "Accessors cannot have type parameters.",
|
||||
"Exported class '{0}' extends private class '{1}'.": "Exported class '{0}' extends private class '{1}'.",
|
||||
"Exported class '{0}' implements private interface '{1}'.": "Exported class '{0}' implements private interface '{1}'.",
|
||||
"Exported interface '{0}' extends private interface '{1}'.": "Exported interface '{0}' extends private interface '{1}'.",
|
||||
"Exported class '{0}' extends class from inaccessible module {1}.": "Exported class '{0}' extends class from inaccessible module {1}.",
|
||||
"Exported class '{0}' implements interface from inaccessible module {1}.": "Exported class '{0}' implements interface from inaccessible module {1}.",
|
||||
"Exported interface '{0}' extends interface from inaccessible module {1}.": "Exported interface '{0}' extends interface from inaccessible module {1}.",
|
||||
"Public static property '{0}' of exported class has or is using private type '{1}'.": "Public static property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Public property '{0}' of exported class has or is using private type '{1}'.": "Public property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Property '{0}' of exported interface has or is using private type '{1}'.": "Property '{0}' of exported interface has or is using private type '{1}'.",
|
||||
"Exported variable '{0}' has or is using private type '{1}'.": "Exported variable '{0}' has or is using private type '{1}'.",
|
||||
"Public static property '{0}' of exported class is using inaccessible module {1}.": "Public static property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Public property '{0}' of exported class is using inaccessible module {1}.": "Public property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Property '{0}' of exported interface is using inaccessible module {1}.": "Property '{0}' of exported interface is using inaccessible module {1}.",
|
||||
"Exported variable '{0}' is using inaccessible module {1}.": "Exported variable '{0}' is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor from exported class has or is using private type '{1}'.": "Parameter '{0}' of constructor from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of method from exported interface has or is using private type '{1}'.": "Parameter '{0}' of method from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of exported function has or is using private type '{1}'.": "Parameter '{0}' of exported function has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor from exported class is using inaccessible module {1}.": "Parameter '{0}' of constructor from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.": "Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of call signature from exported interface is using inaccessible module {1}": "Parameter '{0}' of call signature from exported interface is using inaccessible module {1}",
|
||||
"Parameter '{0}' of public static method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of method from exported interface is using inaccessible module {1}.": "Parameter '{0}' of method from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of exported function is using inaccessible module {1}.": "Parameter '{0}' of exported function is using inaccessible module {1}.",
|
||||
"Return type of public static property getter from exported class has or is using private type '{0}'.": "Return type of public static property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of public property getter from exported class has or is using private type '{0}'.": "Return type of public property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of constructor signature from exported interface has or is using private type '{0}'.": "Return type of constructor signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of call signature from exported interface has or is using private type '{0}'.": "Return type of call signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of index signature from exported interface has or is using private type '{0}'.": "Return type of index signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of public static method from exported class has or is using private type '{0}'.": "Return type of public static method from exported class has or is using private type '{0}'.",
|
||||
"Return type of public method from exported class has or is using private type '{0}'.": "Return type of public method from exported class has or is using private type '{0}'.",
|
||||
"Return type of method from exported interface has or is using private type '{0}'.": "Return type of method from exported interface has or is using private type '{0}'.",
|
||||
"Return type of exported function has or is using private type '{0}'.": "Return type of exported function has or is using private type '{0}'.",
|
||||
"Return type of public static property getter from exported class is using inaccessible module {0}.": "Return type of public static property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of public property getter from exported class is using inaccessible module {0}.": "Return type of public property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of constructor signature from exported interface is using inaccessible module {0}.": "Return type of constructor signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of call signature from exported interface is using inaccessible module {0}.": "Return type of call signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of index signature from exported interface is using inaccessible module {0}.": "Return type of index signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of public static method from exported class is using inaccessible module {0}.": "Return type of public static method from exported class is using inaccessible module {0}.",
|
||||
"Return type of public method from exported class is using inaccessible module {0}.": "Return type of public method from exported class is using inaccessible module {0}.",
|
||||
"Return type of method from exported interface is using inaccessible module {0}.": "Return type of method from exported interface is using inaccessible module {0}.",
|
||||
"Return type of exported function is using inaccessible module {0}.": "Return type of exported function is using inaccessible module {0}.",
|
||||
"'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.": "'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.",
|
||||
"A parameter list must follow a generic type argument list. '(' expected.": "A parameter list must follow a generic type argument list. '(' expected.",
|
||||
"Multiple constructor implementations are not allowed.": "Multiple constructor implementations are not allowed.",
|
||||
"Unable to resolve external module '{0}'.": "Unable to resolve external module '{0}'.",
|
||||
"Module cannot be aliased to a non-module type.": "Module cannot be aliased to a non-module type.",
|
||||
"A class may only extend another class.": "A class may only extend another class.",
|
||||
"A class may only implement another class or interface.": "A class may only implement another class or interface.",
|
||||
"An interface may only extend another class or interface.": "An interface may only extend another class or interface.",
|
||||
"An interface cannot implement another type.": "An interface cannot implement another type.",
|
||||
"Unable to resolve type.": "Unable to resolve type.",
|
||||
"Unable to resolve type of '{0}'.": "Unable to resolve type of '{0}'.",
|
||||
"Unable to resolve type parameter constraint.": "Unable to resolve type parameter constraint.",
|
||||
"Type parameter constraint cannot be a primitive type.": "Type parameter constraint cannot be a primitive type.",
|
||||
"Supplied parameters do not match any signature of call target.": "Supplied parameters do not match any signature of call target.",
|
||||
"Supplied parameters do not match any signature of call target:{NL}{0}": "Supplied parameters do not match any signature of call target:{NL}{0}",
|
||||
"Invalid 'new' expression.": "Invalid 'new' expression.",
|
||||
"Call signatures used in a 'new' expression must have a 'void' return type.": "Call signatures used in a 'new' expression must have a 'void' return type.",
|
||||
"Could not select overload for 'new' expression.": "Could not select overload for 'new' expression.",
|
||||
"Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.": "Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.",
|
||||
"Could not select overload for 'call' expression.": "Could not select overload for 'call' expression.",
|
||||
"Cannot invoke an expression whose type lacks a call signature.": "Cannot invoke an expression whose type lacks a call signature.",
|
||||
"Calls to 'super' are only valid inside a class.": "Calls to 'super' are only valid inside a class.",
|
||||
"Generic type '{0}' requires {1} type argument(s).": "Generic type '{0}' requires {1} type argument(s).",
|
||||
"Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.": "Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.",
|
||||
"Type of array literal cannot be determined. Best common type could not be found for array elements.": "Type of array literal cannot be determined. Best common type could not be found for array elements.",
|
||||
"Could not find enclosing symbol for dotted name '{0}'.": "Could not find enclosing symbol for dotted name '{0}'.",
|
||||
"The property '{0}' does not exist on value of type '{1}'.": "The property '{0}' does not exist on value of type '{1}'.",
|
||||
"Could not find symbol '{0}'.": "Could not find symbol '{0}'.",
|
||||
"'get' and 'set' accessor must have the same type.": "'get' and 'set' accessor must have the same type.",
|
||||
"'this' cannot be referenced in current location.": "'this' cannot be referenced in current location.",
|
||||
"Static methods cannot reference class type parameters.": "Static methods cannot reference class type parameters.",
|
||||
"Class '{0}' is recursively referenced as a base type of itself.": "Class '{0}' is recursively referenced as a base type of itself.",
|
||||
"Interface '{0}' is recursively referenced as a base type of itself.": "Interface '{0}' is recursively referenced as a base type of itself.",
|
||||
"'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.": "'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.",
|
||||
"'super' cannot be referenced in non-derived classes.": "'super' cannot be referenced in non-derived classes.",
|
||||
"A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.": "A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.",
|
||||
"Constructors for derived classes must contain a 'super' call.": "Constructors for derived classes must contain a 'super' call.",
|
||||
"Super calls are not permitted outside constructors or in local functions inside constructors.": "Super calls are not permitted outside constructors or in local functions inside constructors.",
|
||||
"'{0}.{1}' is inaccessible.": "'{0}.{1}' is inaccessible.",
|
||||
"'this' cannot be referenced within module bodies.": "'this' cannot be referenced within module bodies.",
|
||||
"Invalid '+' expression - types not known to support the addition operator.": "Invalid '+' expression - types not known to support the addition operator.",
|
||||
"The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.": "The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.",
|
||||
"Variable declarations of a 'for' statement cannot use a type annotation.": "Variable declarations of a 'for' statement cannot use a type annotation.",
|
||||
"Variable declarations of a 'for' statement must be of types 'string' or 'any'.": "Variable declarations of a 'for' statement must be of types 'string' or 'any'.",
|
||||
"The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.": "The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'in' expression must be of types 'string' or 'any'.": "The left-hand side of an 'in' expression must be of types 'string' or 'any'.",
|
||||
"The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.": "The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.": "The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.": "The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.",
|
||||
"Setters cannot return a value.": "Setters cannot return a value.",
|
||||
"Tried to query type of uninitialized module '{0}'.": "Tried to query type of uninitialized module '{0}'.",
|
||||
"Tried to set variable type to uninitialized module type '{0}'.": "Tried to set variable type to uninitialized module type '{0}'.",
|
||||
"Function '{0}' declared a non-void return type, but has no return expression.": "Function '{0}' declared a non-void return type, but has no return expression.",
|
||||
"Getters must return a value.": "Getters must return a value.",
|
||||
"Getter and setter accessors do not agree in visibility.": "Getter and setter accessors do not agree in visibility.",
|
||||
"Invalid left-hand side of assignment expression.": "Invalid left-hand side of assignment expression.",
|
||||
"Function declared a non-void return type, but has no return expression.": "Function declared a non-void return type, but has no return expression.",
|
||||
"Cannot resolve return type reference.": "Cannot resolve return type reference.",
|
||||
"Constructors cannot have a return type of 'void'.": "Constructors cannot have a return type of 'void'.",
|
||||
"Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.": "Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.",
|
||||
"All symbols within a with block will be resolved to 'any'.": "All symbols within a with block will be resolved to 'any'.",
|
||||
"Import declarations in an internal module cannot reference an external module.": "Import declarations in an internal module cannot reference an external module.",
|
||||
"Class {0} declares interface {1} but does not implement it:{NL}{2}": "Class {0} declares interface {1} but does not implement it:{NL}{2}",
|
||||
"Class {0} declares class {1} as an interface but does not implement it:{NL}{2}": "Class {0} declares class {1} as an interface but does not implement it:{NL}{2}",
|
||||
"The operand of an increment or decrement operator must be a variable, property or indexer.": "The operand of an increment or decrement operator must be a variable, property or indexer.",
|
||||
"'this' cannot be referenced in static initializers in a class body.": "'this' cannot be referenced in static initializers in a class body.",
|
||||
"Class '{0}' cannot extend class '{1}':{NL}{2}": "Class '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend class '{1}':{NL}{2}": "Interface '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend interface '{1}':{NL}{2}": "Interface '{0}' cannot extend interface '{1}':{NL}{2}",
|
||||
"Duplicate overload signature for '{0}'.": "Duplicate overload signature for '{0}'.",
|
||||
"Duplicate constructor overload signature.": "Duplicate constructor overload signature.",
|
||||
"Duplicate overload call signature.": "Duplicate overload call signature.",
|
||||
"Duplicate overload construct signature.": "Duplicate overload construct signature.",
|
||||
"Overload signature is not compatible with function definition.": "Overload signature is not compatible with function definition.",
|
||||
"Overload signature is not compatible with function definition:{NL}{0}": "Overload signature is not compatible with function definition:{NL}{0}",
|
||||
"Overload signatures must all be public or private.": "Overload signatures must all be public or private.",
|
||||
"Overload signatures must all be exported or local.": "Overload signatures must all be exported or local.",
|
||||
"Overload signatures must all be ambient or non-ambient.": "Overload signatures must all be ambient or non-ambient.",
|
||||
"Overload signatures must all be optional or required.": "Overload signatures must all be optional or required.",
|
||||
"Specialized overload signature is not subtype of any non-specialized signature.": "Specialized overload signature is not subtype of any non-specialized signature.",
|
||||
"'this' cannot be referenced in constructor arguments.": "'this' cannot be referenced in constructor arguments.",
|
||||
"Static member cannot be accessed off an instance variable.": "Static member cannot be accessed off an instance variable.",
|
||||
"Instance member cannot be accessed off a class.": "Instance member cannot be accessed off a class.",
|
||||
"Untyped function calls may not accept type arguments.": "Untyped function calls may not accept type arguments.",
|
||||
"Non-generic functions may not accept type arguments.": "Non-generic functions may not accept type arguments.",
|
||||
"A generic type may not reference itself with a wrapped form of its own type parameters.": "A generic type may not reference itself with a wrapped form of its own type parameters.",
|
||||
"Rest parameters must be array types.": "Rest parameters must be array types.",
|
||||
"Overload signature implementation cannot use specialized type.": "Overload signature implementation cannot use specialized type.",
|
||||
"Export assignments may only be used at the top-level of external modules.": "Export assignments may only be used at the top-level of external modules.",
|
||||
"Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules": "Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules",
|
||||
"Only public instance methods of the base class are accessible via the 'super' keyword.": "Only public instance methods of the base class are accessible via the 'super' keyword.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}'.": "All numerically named properties must be subtypes of numeric indexer type '{0}'.",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}": "All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}",
|
||||
"All named properties must be subtypes of string indexer type '{0}'.": "All named properties must be subtypes of string indexer type '{0}'.",
|
||||
"All named properties must be subtypes of string indexer type '{0}':{NL}{1}": "All named properties must be subtypes of string indexer type '{0}':{NL}{1}",
|
||||
"Generic type references must include all type arguments.": "Generic type references must include all type arguments.",
|
||||
"Default arguments are not allowed in an overload parameter.": "Default arguments are not allowed in an overload parameter.",
|
||||
"Overloads cannot differ only by return type.": "Overloads cannot differ only by return type.",
|
||||
"Function expression declared a non-void return type, but has no return expression.": "Function expression declared a non-void return type, but has no return expression.",
|
||||
"Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.": "Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.",
|
||||
"Could not find symbol '{0}' in module '{1}'.": "Could not find symbol '{0}' in module '{1}'.",
|
||||
"Unable to resolve module reference '{0}'.": "Unable to resolve module reference '{0}'.",
|
||||
"Could not find module '{0}' in module '{1}'.": "Could not find module '{0}' in module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.",
|
||||
"Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.": "Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.",
|
||||
"Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.": "Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.",
|
||||
"Type '{0}' is missing property '{1}' from type '{2}'.": "Type '{0}' is missing property '{1}' from type '{2}'.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible.": "Types of property '{0}' of types '{1}' and '{2}' are incompatible.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}": "Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}",
|
||||
"Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.": "Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.",
|
||||
"Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.": "Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.",
|
||||
"Types '{0}' and '{1}' define property '{2}' as private.": "Types '{0}' and '{1}' define property '{2}' as private.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible.": "Call signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a call signature, but type '{1}' lacks one.": "Type '{0}' requires a call signature, but type '{1}' lacks one.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible.": "Construct signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a construct signature, but type '{1}' lacks one.": "Type '{0}' requires a construct signature, but type '{1}' lacks one.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible.": "Index signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Call signature expects {0} or fewer parameters.": "Call signature expects {0} or fewer parameters.",
|
||||
"Could not apply type '{0}' to argument {1} which is of type '{2}'.": "Could not apply type '{0}' to argument {1} which is of type '{2}'.",
|
||||
"Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}",
|
||||
"Type reference cannot refer to container '{0}'.": "Type reference cannot refer to container '{0}'.",
|
||||
"Type reference must refer to type.": "Type reference must refer to type.",
|
||||
"Enums with multiple declarations must provide an initializer for the first enum element.": "Enums with multiple declarations must provide an initializer for the first enum element.",
|
||||
" (+ {0} overload(s))": " (+ {0} overload(s))",
|
||||
"Current host does not support '{0}' option.": "Current host does not support '{0}' option.",
|
||||
"ECMAScript target version '{0}' not supported. Using default '{1}' code generation.": "ECMAScript target version '{0}' not supported. Using default '{1}' code generation.",
|
||||
"Module code generation '{0}' not supported.": "Module code generation '{0}' not supported.",
|
||||
"Could not find file: '{0}'.": "Could not find file: '{0}'.",
|
||||
"A file cannot have a reference to itself.": "A file cannot have a reference to itself.",
|
||||
"Cannot resolve referenced file: '{0}'.": "Cannot resolve referenced file: '{0}'.",
|
||||
"Cannot find the common subdirectory path for the input files.": "Cannot find the common subdirectory path for the input files.",
|
||||
"Emit Error: {0}.": "Emit Error: {0}.",
|
||||
"Cannot read file '{0}': {1}": "Cannot read file '{0}': {1}",
|
||||
"Unsupported file encoding.": "Unsupported file encoding.",
|
||||
"Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.": "Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.",
|
||||
"Unsupported locale: '{0}'.": "Unsupported locale: '{0}'.",
|
||||
"Execution Failed.{NL}": "Execution Failed.{NL}",
|
||||
"Should not emit a type query": "Should not emit a type query",
|
||||
"Should not emit a type reference": "Should not emit a type reference",
|
||||
"Invalid call to 'up'": "Invalid call to 'up'",
|
||||
"Invalid call to 'down'": "Invalid call to 'down'",
|
||||
"Base64 value '{0}' finished with a continuation bit": "Base64 value '{0}' finished with a continuation bit",
|
||||
"Key was already in table": "Key was already in table",
|
||||
"Unknown option '{0}'": "Unknown option '{0}'",
|
||||
"Expected {0} arguments to message, got {1} instead": "Expected {0} arguments to message, got {1} instead",
|
||||
"Expected the message '{0}' to have {1} arguments, but it had {2}": "Expected the message '{0}' to have {1} arguments, but it had {2}",
|
||||
"Invalid argument: {0}. {1}": "Invalid argument: {0}. {1}",
|
||||
"Invalid argument: {0}.": "Invalid argument: {0}.",
|
||||
"Argument out of range: {0}.": "Argument out of range: {0}.",
|
||||
"Argument null: {0}.": "Argument null: {0}.",
|
||||
"Operation not implemented properly by subclass.": "Operation not implemented properly by subclass.",
|
||||
"Not yet implemented.": "Not yet implemented.",
|
||||
"Invalid operation: {0}": "Invalid operation: {0}",
|
||||
"Invalid operation.": "Invalid operation.",
|
||||
"Could not delete file '{0}'": "Could not delete file '{0}'",
|
||||
"Could not create directory '{0}'": "Could not create directory '{0}'",
|
||||
"Error while executing file '{0}': ": "Error while executing file '{0}': ",
|
||||
"Cannot compile external modules unless the '--module' flag is provided.": "Cannot compile external modules unless the '--module' flag is provided.",
|
||||
"Option mapRoot cannot be specified without specifying sourcemap option.": "Option mapRoot cannot be specified without specifying sourcemap option.",
|
||||
"Option sourceRoot cannot be specified without specifying sourcemap option.": "Option sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.": "Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Concatenate and emit output to single file": "Concatenate and emit output to single file",
|
||||
"Generates corresponding {0} file": "Generates corresponding {0} file",
|
||||
"Specifies the location where debugger should locate map files instead of generated locations.": "Specifies the location where debugger should locate map files instead of generated locations.",
|
||||
"Specifies the location where debugger should locate TypeScript files instead of source locations.": "Specifies the location where debugger should locate TypeScript files instead of source locations.",
|
||||
"Watch input files": "Watch input files",
|
||||
"Redirect output structure to the directory": "Redirect output structure to the directory",
|
||||
"Do not emit comments to output": "Do not emit comments to output",
|
||||
"Skip resolution and preprocessing": "Skip resolution and preprocessing",
|
||||
"Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"": "Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"",
|
||||
"Specify module code generation: \"{0}\" or \"{1}\"": "Specify module code generation: \"{0}\" or \"{1}\"",
|
||||
"Print this message": "Print this message",
|
||||
"Print the compiler's version: {0}": "Print the compiler's version: {0}",
|
||||
"Allow use of deprecated \"{0}\" keyword when referencing an external module": "Allow use of deprecated \"{0}\" keyword when referencing an external module",
|
||||
"Specify locale for errors and messages. For example '{0}' or '{1}'": "Specify locale for errors and messages. For example '{0}' or '{1}'",
|
||||
"Syntax: {0}": "Syntax: {0}",
|
||||
"options": "options",
|
||||
"file": "file",
|
||||
"Examples:": "Examples:",
|
||||
"Options:": "Options:",
|
||||
"Insert command line options and files from a file.": "Insert command line options and files from a file.",
|
||||
"Version {0}": "Version {0}",
|
||||
"Use the '{0}' flag to see options": "Use the '{0}' flag to see options",
|
||||
"{NL}Recompiling ({0}):": "{NL}Recompiling ({0}):",
|
||||
"STRING": "STRING",
|
||||
"KIND": "KIND",
|
||||
"FILE": "FILE",
|
||||
"VERSION": "VERSION",
|
||||
"LOCATION": "LOCATION",
|
||||
"DIRECTORY": "DIRECTORY",
|
||||
"This version of the Javascript runtime does not support the '{0}' function.": "This version of the Javascript runtime does not support the '{0}' function.",
|
||||
"Looking up path for identifier token did not result in an identifer.": "Looking up path for identifier token did not result in an identifer.",
|
||||
"Unknown rule": "Unknown rule",
|
||||
"Invalid line number ({0})": "Invalid line number ({0})",
|
||||
"Warn on expressions and declarations with an implied 'any' type.": "Warn on expressions and declarations with an implied 'any' type.",
|
||||
"Variable '{0}' implicitly has an 'any' type.": "Variable '{0}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of '{1}' implicitly has an 'any' type.": "Parameter '{0}' of '{1}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of function type implicitly has an 'any' type.": "Parameter '{0}' of function type implicitly has an 'any' type.",
|
||||
"Member '{0}' of object type implicitly has an 'any' type.": "Member '{0}' of object type implicitly has an 'any' type.",
|
||||
"\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.": "\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.",
|
||||
"'{0}', which lacks return-type annotation, implicitly has an 'any' return type.": "'{0}', which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Function expression, which lacks return-type annotation, implicitly has an 'any' return type.": "Function expression, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Parameter '{0}' of lambda function implicitly has an 'any' type.": "Parameter '{0}' of lambda function implicitly has an 'any' type.",
|
||||
"Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.": "Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.": "Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Array Literal implicitly has an 'any' type from widening.": "Array Literal implicitly has an 'any' type from widening."
|
||||
}
|
||||
374
bin/resources/pt/diagnosticMessages.generated.json
Normal file
374
bin/resources/pt/diagnosticMessages.generated.json
Normal file
@ -0,0 +1,374 @@
|
||||
{
|
||||
"error TS{0}: {1}": "error TS{0}: {1}",
|
||||
"warning TS{0}: {1}": "warning TS{0}: {1}",
|
||||
"Unrecognized escape sequence.": "Unrecognized escape sequence.",
|
||||
"Unexpected character {0}.": "Unexpected character {0}.",
|
||||
"Missing close quote character.": "Missing close quote character.",
|
||||
"Identifier expected.": "Identifier expected.",
|
||||
"'{0}' keyword expected.": "'{0}' keyword expected.",
|
||||
"'{0}' expected.": "'{0}' expected.",
|
||||
"Identifier expected; '{0}' is a keyword.": "Identifier expected; '{0}' is a keyword.",
|
||||
"Automatic semicolon insertion not allowed.": "Automatic semicolon insertion not allowed.",
|
||||
"Unexpected token; '{0}' expected.": "Unexpected token; '{0}' expected.",
|
||||
"Trailing separator not allowed.": "Trailing separator not allowed.",
|
||||
"'*/' expected.": "'*/' expected.",
|
||||
"'public' or 'private' modifier must precede 'static'.": "'public' or 'private' modifier must precede 'static'.",
|
||||
"Unexpected token.": "Unexpected token.",
|
||||
"Catch clause parameter cannot have a type annotation.": "Catch clause parameter cannot have a type annotation.",
|
||||
"Rest parameter must be last in list.": "Rest parameter must be last in list.",
|
||||
"Parameter cannot have question mark and initializer.": "Parameter cannot have question mark and initializer.",
|
||||
"Required parameter cannot follow optional parameter.": "Required parameter cannot follow optional parameter.",
|
||||
"Index signatures cannot have rest parameters.": "Index signatures cannot have rest parameters.",
|
||||
"Index signature parameter cannot have accessibility modifiers.": "Index signature parameter cannot have accessibility modifiers.",
|
||||
"Index signature parameter cannot have a question mark.": "Index signature parameter cannot have a question mark.",
|
||||
"Index signature parameter cannot have an initializer.": "Index signature parameter cannot have an initializer.",
|
||||
"Index signature must have a type annotation.": "Index signature must have a type annotation.",
|
||||
"Index signature parameter must have a type annotation.": "Index signature parameter must have a type annotation.",
|
||||
"Index signature parameter type must be 'string' or 'number'.": "Index signature parameter type must be 'string' or 'number'.",
|
||||
"'extends' clause already seen.": "'extends' clause already seen.",
|
||||
"'extends' clause must precede 'implements' clause.": "'extends' clause must precede 'implements' clause.",
|
||||
"Classes can only extend a single class.": "Classes can only extend a single class.",
|
||||
"'implements' clause already seen.": "'implements' clause already seen.",
|
||||
"Accessibility modifier already seen.": "Accessibility modifier already seen.",
|
||||
"'{0}' modifier must precede '{1}' modifier.": "'{0}' modifier must precede '{1}' modifier.",
|
||||
"'{0}' modifier already seen.": "'{0}' modifier already seen.",
|
||||
"'{0}' modifier cannot appear on a class element.": "'{0}' modifier cannot appear on a class element.",
|
||||
"Interface declaration cannot have 'implements' clause.": "Interface declaration cannot have 'implements' clause.",
|
||||
"'super' invocation cannot have type arguments.": "'super' invocation cannot have type arguments.",
|
||||
"Only ambient modules can use quoted names.": "Only ambient modules can use quoted names.",
|
||||
"Statements are not allowed in ambient contexts.": "Statements are not allowed in ambient contexts.",
|
||||
"Implementations are not allowed in ambient contexts.": "Implementations are not allowed in ambient contexts.",
|
||||
"'declare' modifier not allowed for code already in an ambient context.": "'declare' modifier not allowed for code already in an ambient context.",
|
||||
"Initializers are not allowed in ambient contexts.": "Initializers are not allowed in ambient contexts.",
|
||||
"Parameter property declarations can only be used in constructors.": "Parameter property declarations can only be used in constructors.",
|
||||
"Function implementation expected.": "Function implementation expected.",
|
||||
"Constructor implementation expected.": "Constructor implementation expected.",
|
||||
"Function overload name must be '{0}'.": "Function overload name must be '{0}'.",
|
||||
"'{0}' modifier cannot appear on a module element.": "'{0}' modifier cannot appear on a module element.",
|
||||
"'declare' modifier cannot appear on an interface declaration.": "'declare' modifier cannot appear on an interface declaration.",
|
||||
"'declare' modifier required for top level element.": "'declare' modifier required for top level element.",
|
||||
"Rest parameter cannot be optional.": "Rest parameter cannot be optional.",
|
||||
"Rest parameter cannot have an initializer.": "Rest parameter cannot have an initializer.",
|
||||
"'set' accessor must have one and only one parameter.": "'set' accessor must have one and only one parameter.",
|
||||
"'set' accessor parameter cannot have accessibility modifier.": "'set' accessor parameter cannot have accessibility modifier.",
|
||||
"'set' accessor parameter cannot be optional.": "'set' accessor parameter cannot be optional.",
|
||||
"'set' accessor parameter cannot have an initializer.": "'set' accessor parameter cannot have an initializer.",
|
||||
"'set' accessor cannot have rest parameter.": "'set' accessor cannot have rest parameter.",
|
||||
"'get' accessor cannot have parameters.": "'get' accessor cannot have parameters.",
|
||||
"Modifiers cannot appear here.": "Modifiers cannot appear here.",
|
||||
"Accessors are only available when targeting ECMAScript 5 and higher.": "Accessors are only available when targeting ECMAScript 5 and higher.",
|
||||
"Class name cannot be '{0}'.": "Class name cannot be '{0}'.",
|
||||
"Interface name cannot be '{0}'.": "Interface name cannot be '{0}'.",
|
||||
"Enum name cannot be '{0}'.": "Enum name cannot be '{0}'.",
|
||||
"Module name cannot be '{0}'.": "Module name cannot be '{0}'.",
|
||||
"Enum member must have initializer.": "Enum member must have initializer.",
|
||||
"Export assignment cannot be used in internal modules.": "Export assignment cannot be used in internal modules.",
|
||||
"Export assignment not allowed in module with exported element.": "Export assignment not allowed in module with exported element.",
|
||||
"Module cannot have multiple export assignments.": "Module cannot have multiple export assignments.",
|
||||
"Ambient enum elements can only have integer literal initializers.": "Ambient enum elements can only have integer literal initializers.",
|
||||
"module, class, interface, enum, import or statement": "module, class, interface, enum, import or statement",
|
||||
"constructor, function, accessor or variable": "constructor, function, accessor or variable",
|
||||
"statement": "statement",
|
||||
"case or default clause": "case or default clause",
|
||||
"identifier": "identifier",
|
||||
"call, construct, index, property or function signature": "call, construct, index, property or function signature",
|
||||
"expression": "expression",
|
||||
"type name": "type name",
|
||||
"property or accessor": "property or accessor",
|
||||
"parameter": "parameter",
|
||||
"type": "type",
|
||||
"type parameter": "type parameter",
|
||||
"'declare' modifier not allowed on import declaration.": "'declare' modifier not allowed on import declaration.",
|
||||
"Function overload must be static": "Function overload must be static",
|
||||
"Function overload must not be static": "Function overload must not be static",
|
||||
"Duplicate identifier '{0}'.": "Duplicate identifier '{0}'.",
|
||||
"The name '{0}' does not exist in the current scope.": "The name '{0}' does not exist in the current scope.",
|
||||
"The name '{0}' does not refer to a value.": "The name '{0}' does not refer to a value.",
|
||||
"'super' can only be used inside a class instance method.": "'super' can only be used inside a class instance method.",
|
||||
"The left-hand side of an assignment expression must be a variable, property or indexer.": "The left-hand side of an assignment expression must be a variable, property or indexer.",
|
||||
"Value of type '{0}' is not callable. Did you mean to include 'new'?": "Value of type '{0}' is not callable. Did you mean to include 'new'?",
|
||||
"Value of type '{0}' is not callable.": "Value of type '{0}' is not callable.",
|
||||
"Value of type '{0}' is not newable.": "Value of type '{0}' is not newable.",
|
||||
"Value of type '{0}' is not indexable by type '{1}'.": "Value of type '{0}' is not indexable by type '{1}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}'.": "Operator '{0}' cannot be applied to types '{1}' and '{2}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}": "Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}",
|
||||
"Cannot convert '{0}' to '{1}'.": "Cannot convert '{0}' to '{1}'.",
|
||||
"Cannot convert '{0}' to '{1}':{NL}{2}": "Cannot convert '{0}' to '{1}':{NL}{2}",
|
||||
"Expected var, class, interface, or module.": "Expected var, class, interface, or module.",
|
||||
"Operator '{0}' cannot be applied to type '{1}'.": "Operator '{0}' cannot be applied to type '{1}'.",
|
||||
"Getter '{0}' already declared.": "Getter '{0}' already declared.",
|
||||
"Setter '{0}' already declared.": "Setter '{0}' already declared.",
|
||||
"Accessors cannot have type parameters.": "Accessors cannot have type parameters.",
|
||||
"Exported class '{0}' extends private class '{1}'.": "Exported class '{0}' extends private class '{1}'.",
|
||||
"Exported class '{0}' implements private interface '{1}'.": "Exported class '{0}' implements private interface '{1}'.",
|
||||
"Exported interface '{0}' extends private interface '{1}'.": "Exported interface '{0}' extends private interface '{1}'.",
|
||||
"Exported class '{0}' extends class from inaccessible module {1}.": "Exported class '{0}' extends class from inaccessible module {1}.",
|
||||
"Exported class '{0}' implements interface from inaccessible module {1}.": "Exported class '{0}' implements interface from inaccessible module {1}.",
|
||||
"Exported interface '{0}' extends interface from inaccessible module {1}.": "Exported interface '{0}' extends interface from inaccessible module {1}.",
|
||||
"Public static property '{0}' of exported class has or is using private type '{1}'.": "Public static property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Public property '{0}' of exported class has or is using private type '{1}'.": "Public property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Property '{0}' of exported interface has or is using private type '{1}'.": "Property '{0}' of exported interface has or is using private type '{1}'.",
|
||||
"Exported variable '{0}' has or is using private type '{1}'.": "Exported variable '{0}' has or is using private type '{1}'.",
|
||||
"Public static property '{0}' of exported class is using inaccessible module {1}.": "Public static property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Public property '{0}' of exported class is using inaccessible module {1}.": "Public property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Property '{0}' of exported interface is using inaccessible module {1}.": "Property '{0}' of exported interface is using inaccessible module {1}.",
|
||||
"Exported variable '{0}' is using inaccessible module {1}.": "Exported variable '{0}' is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor from exported class has or is using private type '{1}'.": "Parameter '{0}' of constructor from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of method from exported interface has or is using private type '{1}'.": "Parameter '{0}' of method from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of exported function has or is using private type '{1}'.": "Parameter '{0}' of exported function has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor from exported class is using inaccessible module {1}.": "Parameter '{0}' of constructor from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.": "Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of call signature from exported interface is using inaccessible module {1}": "Parameter '{0}' of call signature from exported interface is using inaccessible module {1}",
|
||||
"Parameter '{0}' of public static method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of method from exported interface is using inaccessible module {1}.": "Parameter '{0}' of method from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of exported function is using inaccessible module {1}.": "Parameter '{0}' of exported function is using inaccessible module {1}.",
|
||||
"Return type of public static property getter from exported class has or is using private type '{0}'.": "Return type of public static property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of public property getter from exported class has or is using private type '{0}'.": "Return type of public property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of constructor signature from exported interface has or is using private type '{0}'.": "Return type of constructor signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of call signature from exported interface has or is using private type '{0}'.": "Return type of call signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of index signature from exported interface has or is using private type '{0}'.": "Return type of index signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of public static method from exported class has or is using private type '{0}'.": "Return type of public static method from exported class has or is using private type '{0}'.",
|
||||
"Return type of public method from exported class has or is using private type '{0}'.": "Return type of public method from exported class has or is using private type '{0}'.",
|
||||
"Return type of method from exported interface has or is using private type '{0}'.": "Return type of method from exported interface has or is using private type '{0}'.",
|
||||
"Return type of exported function has or is using private type '{0}'.": "Return type of exported function has or is using private type '{0}'.",
|
||||
"Return type of public static property getter from exported class is using inaccessible module {0}.": "Return type of public static property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of public property getter from exported class is using inaccessible module {0}.": "Return type of public property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of constructor signature from exported interface is using inaccessible module {0}.": "Return type of constructor signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of call signature from exported interface is using inaccessible module {0}.": "Return type of call signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of index signature from exported interface is using inaccessible module {0}.": "Return type of index signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of public static method from exported class is using inaccessible module {0}.": "Return type of public static method from exported class is using inaccessible module {0}.",
|
||||
"Return type of public method from exported class is using inaccessible module {0}.": "Return type of public method from exported class is using inaccessible module {0}.",
|
||||
"Return type of method from exported interface is using inaccessible module {0}.": "Return type of method from exported interface is using inaccessible module {0}.",
|
||||
"Return type of exported function is using inaccessible module {0}.": "Return type of exported function is using inaccessible module {0}.",
|
||||
"'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.": "'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.",
|
||||
"A parameter list must follow a generic type argument list. '(' expected.": "A parameter list must follow a generic type argument list. '(' expected.",
|
||||
"Multiple constructor implementations are not allowed.": "Multiple constructor implementations are not allowed.",
|
||||
"Unable to resolve external module '{0}'.": "Unable to resolve external module '{0}'.",
|
||||
"Module cannot be aliased to a non-module type.": "Module cannot be aliased to a non-module type.",
|
||||
"A class may only extend another class.": "A class may only extend another class.",
|
||||
"A class may only implement another class or interface.": "A class may only implement another class or interface.",
|
||||
"An interface may only extend another class or interface.": "An interface may only extend another class or interface.",
|
||||
"An interface cannot implement another type.": "An interface cannot implement another type.",
|
||||
"Unable to resolve type.": "Unable to resolve type.",
|
||||
"Unable to resolve type of '{0}'.": "Unable to resolve type of '{0}'.",
|
||||
"Unable to resolve type parameter constraint.": "Unable to resolve type parameter constraint.",
|
||||
"Type parameter constraint cannot be a primitive type.": "Type parameter constraint cannot be a primitive type.",
|
||||
"Supplied parameters do not match any signature of call target.": "Supplied parameters do not match any signature of call target.",
|
||||
"Supplied parameters do not match any signature of call target:{NL}{0}": "Supplied parameters do not match any signature of call target:{NL}{0}",
|
||||
"Invalid 'new' expression.": "Invalid 'new' expression.",
|
||||
"Call signatures used in a 'new' expression must have a 'void' return type.": "Call signatures used in a 'new' expression must have a 'void' return type.",
|
||||
"Could not select overload for 'new' expression.": "Could not select overload for 'new' expression.",
|
||||
"Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.": "Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.",
|
||||
"Could not select overload for 'call' expression.": "Could not select overload for 'call' expression.",
|
||||
"Cannot invoke an expression whose type lacks a call signature.": "Cannot invoke an expression whose type lacks a call signature.",
|
||||
"Calls to 'super' are only valid inside a class.": "Calls to 'super' are only valid inside a class.",
|
||||
"Generic type '{0}' requires {1} type argument(s).": "Generic type '{0}' requires {1} type argument(s).",
|
||||
"Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.": "Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.",
|
||||
"Type of array literal cannot be determined. Best common type could not be found for array elements.": "Type of array literal cannot be determined. Best common type could not be found for array elements.",
|
||||
"Could not find enclosing symbol for dotted name '{0}'.": "Could not find enclosing symbol for dotted name '{0}'.",
|
||||
"The property '{0}' does not exist on value of type '{1}'.": "The property '{0}' does not exist on value of type '{1}'.",
|
||||
"Could not find symbol '{0}'.": "Could not find symbol '{0}'.",
|
||||
"'get' and 'set' accessor must have the same type.": "'get' and 'set' accessor must have the same type.",
|
||||
"'this' cannot be referenced in current location.": "'this' cannot be referenced in current location.",
|
||||
"Static methods cannot reference class type parameters.": "Static methods cannot reference class type parameters.",
|
||||
"Class '{0}' is recursively referenced as a base type of itself.": "Class '{0}' is recursively referenced as a base type of itself.",
|
||||
"Interface '{0}' is recursively referenced as a base type of itself.": "Interface '{0}' is recursively referenced as a base type of itself.",
|
||||
"'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.": "'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.",
|
||||
"'super' cannot be referenced in non-derived classes.": "'super' cannot be referenced in non-derived classes.",
|
||||
"A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.": "A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.",
|
||||
"Constructors for derived classes must contain a 'super' call.": "Constructors for derived classes must contain a 'super' call.",
|
||||
"Super calls are not permitted outside constructors or in local functions inside constructors.": "Super calls are not permitted outside constructors or in local functions inside constructors.",
|
||||
"'{0}.{1}' is inaccessible.": "'{0}.{1}' is inaccessible.",
|
||||
"'this' cannot be referenced within module bodies.": "'this' cannot be referenced within module bodies.",
|
||||
"Invalid '+' expression - types not known to support the addition operator.": "Invalid '+' expression - types not known to support the addition operator.",
|
||||
"The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.": "The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.",
|
||||
"Variable declarations of a 'for' statement cannot use a type annotation.": "Variable declarations of a 'for' statement cannot use a type annotation.",
|
||||
"Variable declarations of a 'for' statement must be of types 'string' or 'any'.": "Variable declarations of a 'for' statement must be of types 'string' or 'any'.",
|
||||
"The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.": "The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'in' expression must be of types 'string' or 'any'.": "The left-hand side of an 'in' expression must be of types 'string' or 'any'.",
|
||||
"The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.": "The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.": "The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.": "The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.",
|
||||
"Setters cannot return a value.": "Setters cannot return a value.",
|
||||
"Tried to query type of uninitialized module '{0}'.": "Tried to query type of uninitialized module '{0}'.",
|
||||
"Tried to set variable type to uninitialized module type '{0}'.": "Tried to set variable type to uninitialized module type '{0}'.",
|
||||
"Function '{0}' declared a non-void return type, but has no return expression.": "Function '{0}' declared a non-void return type, but has no return expression.",
|
||||
"Getters must return a value.": "Getters must return a value.",
|
||||
"Getter and setter accessors do not agree in visibility.": "Getter and setter accessors do not agree in visibility.",
|
||||
"Invalid left-hand side of assignment expression.": "Invalid left-hand side of assignment expression.",
|
||||
"Function declared a non-void return type, but has no return expression.": "Function declared a non-void return type, but has no return expression.",
|
||||
"Cannot resolve return type reference.": "Cannot resolve return type reference.",
|
||||
"Constructors cannot have a return type of 'void'.": "Constructors cannot have a return type of 'void'.",
|
||||
"Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.": "Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.",
|
||||
"All symbols within a with block will be resolved to 'any'.": "All symbols within a with block will be resolved to 'any'.",
|
||||
"Import declarations in an internal module cannot reference an external module.": "Import declarations in an internal module cannot reference an external module.",
|
||||
"Class {0} declares interface {1} but does not implement it:{NL}{2}": "Class {0} declares interface {1} but does not implement it:{NL}{2}",
|
||||
"Class {0} declares class {1} as an interface but does not implement it:{NL}{2}": "Class {0} declares class {1} as an interface but does not implement it:{NL}{2}",
|
||||
"The operand of an increment or decrement operator must be a variable, property or indexer.": "The operand of an increment or decrement operator must be a variable, property or indexer.",
|
||||
"'this' cannot be referenced in static initializers in a class body.": "'this' cannot be referenced in static initializers in a class body.",
|
||||
"Class '{0}' cannot extend class '{1}':{NL}{2}": "Class '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend class '{1}':{NL}{2}": "Interface '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend interface '{1}':{NL}{2}": "Interface '{0}' cannot extend interface '{1}':{NL}{2}",
|
||||
"Duplicate overload signature for '{0}'.": "Duplicate overload signature for '{0}'.",
|
||||
"Duplicate constructor overload signature.": "Duplicate constructor overload signature.",
|
||||
"Duplicate overload call signature.": "Duplicate overload call signature.",
|
||||
"Duplicate overload construct signature.": "Duplicate overload construct signature.",
|
||||
"Overload signature is not compatible with function definition.": "Overload signature is not compatible with function definition.",
|
||||
"Overload signature is not compatible with function definition:{NL}{0}": "Overload signature is not compatible with function definition:{NL}{0}",
|
||||
"Overload signatures must all be public or private.": "Overload signatures must all be public or private.",
|
||||
"Overload signatures must all be exported or local.": "Overload signatures must all be exported or local.",
|
||||
"Overload signatures must all be ambient or non-ambient.": "Overload signatures must all be ambient or non-ambient.",
|
||||
"Overload signatures must all be optional or required.": "Overload signatures must all be optional or required.",
|
||||
"Specialized overload signature is not subtype of any non-specialized signature.": "Specialized overload signature is not subtype of any non-specialized signature.",
|
||||
"'this' cannot be referenced in constructor arguments.": "'this' cannot be referenced in constructor arguments.",
|
||||
"Static member cannot be accessed off an instance variable.": "Static member cannot be accessed off an instance variable.",
|
||||
"Instance member cannot be accessed off a class.": "Instance member cannot be accessed off a class.",
|
||||
"Untyped function calls may not accept type arguments.": "Untyped function calls may not accept type arguments.",
|
||||
"Non-generic functions may not accept type arguments.": "Non-generic functions may not accept type arguments.",
|
||||
"A generic type may not reference itself with a wrapped form of its own type parameters.": "A generic type may not reference itself with a wrapped form of its own type parameters.",
|
||||
"Rest parameters must be array types.": "Rest parameters must be array types.",
|
||||
"Overload signature implementation cannot use specialized type.": "Overload signature implementation cannot use specialized type.",
|
||||
"Export assignments may only be used at the top-level of external modules.": "Export assignments may only be used at the top-level of external modules.",
|
||||
"Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules": "Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules",
|
||||
"Only public instance methods of the base class are accessible via the 'super' keyword.": "Only public instance methods of the base class are accessible via the 'super' keyword.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}'.": "All numerically named properties must be subtypes of numeric indexer type '{0}'.",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}": "All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}",
|
||||
"All named properties must be subtypes of string indexer type '{0}'.": "All named properties must be subtypes of string indexer type '{0}'.",
|
||||
"All named properties must be subtypes of string indexer type '{0}':{NL}{1}": "All named properties must be subtypes of string indexer type '{0}':{NL}{1}",
|
||||
"Generic type references must include all type arguments.": "Generic type references must include all type arguments.",
|
||||
"Default arguments are not allowed in an overload parameter.": "Default arguments are not allowed in an overload parameter.",
|
||||
"Overloads cannot differ only by return type.": "Overloads cannot differ only by return type.",
|
||||
"Function expression declared a non-void return type, but has no return expression.": "Function expression declared a non-void return type, but has no return expression.",
|
||||
"Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.": "Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.",
|
||||
"Could not find symbol '{0}' in module '{1}'.": "Could not find symbol '{0}' in module '{1}'.",
|
||||
"Unable to resolve module reference '{0}'.": "Unable to resolve module reference '{0}'.",
|
||||
"Could not find module '{0}' in module '{1}'.": "Could not find module '{0}' in module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.",
|
||||
"Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.": "Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.",
|
||||
"Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.": "Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.",
|
||||
"Type '{0}' is missing property '{1}' from type '{2}'.": "Type '{0}' is missing property '{1}' from type '{2}'.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible.": "Types of property '{0}' of types '{1}' and '{2}' are incompatible.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}": "Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}",
|
||||
"Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.": "Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.",
|
||||
"Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.": "Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.",
|
||||
"Types '{0}' and '{1}' define property '{2}' as private.": "Types '{0}' and '{1}' define property '{2}' as private.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible.": "Call signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a call signature, but type '{1}' lacks one.": "Type '{0}' requires a call signature, but type '{1}' lacks one.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible.": "Construct signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a construct signature, but type '{1}' lacks one.": "Type '{0}' requires a construct signature, but type '{1}' lacks one.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible.": "Index signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Call signature expects {0} or fewer parameters.": "Call signature expects {0} or fewer parameters.",
|
||||
"Could not apply type '{0}' to argument {1} which is of type '{2}'.": "Could not apply type '{0}' to argument {1} which is of type '{2}'.",
|
||||
"Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}",
|
||||
"Type reference cannot refer to container '{0}'.": "Type reference cannot refer to container '{0}'.",
|
||||
"Type reference must refer to type.": "Type reference must refer to type.",
|
||||
"Enums with multiple declarations must provide an initializer for the first enum element.": "Enums with multiple declarations must provide an initializer for the first enum element.",
|
||||
" (+ {0} overload(s))": " (+ {0} overload(s))",
|
||||
"Current host does not support '{0}' option.": "Current host does not support '{0}' option.",
|
||||
"ECMAScript target version '{0}' not supported. Using default '{1}' code generation.": "ECMAScript target version '{0}' not supported. Using default '{1}' code generation.",
|
||||
"Module code generation '{0}' not supported.": "Module code generation '{0}' not supported.",
|
||||
"Could not find file: '{0}'.": "Could not find file: '{0}'.",
|
||||
"A file cannot have a reference to itself.": "A file cannot have a reference to itself.",
|
||||
"Cannot resolve referenced file: '{0}'.": "Cannot resolve referenced file: '{0}'.",
|
||||
"Cannot find the common subdirectory path for the input files.": "Cannot find the common subdirectory path for the input files.",
|
||||
"Emit Error: {0}.": "Emit Error: {0}.",
|
||||
"Cannot read file '{0}': {1}": "Cannot read file '{0}': {1}",
|
||||
"Unsupported file encoding.": "Unsupported file encoding.",
|
||||
"Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.": "Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.",
|
||||
"Unsupported locale: '{0}'.": "Unsupported locale: '{0}'.",
|
||||
"Execution Failed.{NL}": "Execution Failed.{NL}",
|
||||
"Should not emit a type query": "Should not emit a type query",
|
||||
"Should not emit a type reference": "Should not emit a type reference",
|
||||
"Invalid call to 'up'": "Invalid call to 'up'",
|
||||
"Invalid call to 'down'": "Invalid call to 'down'",
|
||||
"Base64 value '{0}' finished with a continuation bit": "Base64 value '{0}' finished with a continuation bit",
|
||||
"Key was already in table": "Key was already in table",
|
||||
"Unknown option '{0}'": "Unknown option '{0}'",
|
||||
"Expected {0} arguments to message, got {1} instead": "Expected {0} arguments to message, got {1} instead",
|
||||
"Expected the message '{0}' to have {1} arguments, but it had {2}": "Expected the message '{0}' to have {1} arguments, but it had {2}",
|
||||
"Invalid argument: {0}. {1}": "Invalid argument: {0}. {1}",
|
||||
"Invalid argument: {0}.": "Invalid argument: {0}.",
|
||||
"Argument out of range: {0}.": "Argument out of range: {0}.",
|
||||
"Argument null: {0}.": "Argument null: {0}.",
|
||||
"Operation not implemented properly by subclass.": "Operation not implemented properly by subclass.",
|
||||
"Not yet implemented.": "Not yet implemented.",
|
||||
"Invalid operation: {0}": "Invalid operation: {0}",
|
||||
"Invalid operation.": "Invalid operation.",
|
||||
"Could not delete file '{0}'": "Could not delete file '{0}'",
|
||||
"Could not create directory '{0}'": "Could not create directory '{0}'",
|
||||
"Error while executing file '{0}': ": "Error while executing file '{0}': ",
|
||||
"Cannot compile external modules unless the '--module' flag is provided.": "Cannot compile external modules unless the '--module' flag is provided.",
|
||||
"Option mapRoot cannot be specified without specifying sourcemap option.": "Option mapRoot cannot be specified without specifying sourcemap option.",
|
||||
"Option sourceRoot cannot be specified without specifying sourcemap option.": "Option sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.": "Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Concatenate and emit output to single file": "Concatenate and emit output to single file",
|
||||
"Generates corresponding {0} file": "Generates corresponding {0} file",
|
||||
"Specifies the location where debugger should locate map files instead of generated locations.": "Specifies the location where debugger should locate map files instead of generated locations.",
|
||||
"Specifies the location where debugger should locate TypeScript files instead of source locations.": "Specifies the location where debugger should locate TypeScript files instead of source locations.",
|
||||
"Watch input files": "Watch input files",
|
||||
"Redirect output structure to the directory": "Redirect output structure to the directory",
|
||||
"Do not emit comments to output": "Do not emit comments to output",
|
||||
"Skip resolution and preprocessing": "Skip resolution and preprocessing",
|
||||
"Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"": "Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"",
|
||||
"Specify module code generation: \"{0}\" or \"{1}\"": "Specify module code generation: \"{0}\" or \"{1}\"",
|
||||
"Print this message": "Print this message",
|
||||
"Print the compiler's version: {0}": "Print the compiler's version: {0}",
|
||||
"Allow use of deprecated \"{0}\" keyword when referencing an external module": "Allow use of deprecated \"{0}\" keyword when referencing an external module",
|
||||
"Specify locale for errors and messages. For example '{0}' or '{1}'": "Specify locale for errors and messages. For example '{0}' or '{1}'",
|
||||
"Syntax: {0}": "Syntax: {0}",
|
||||
"options": "options",
|
||||
"file": "file",
|
||||
"Examples:": "Examples:",
|
||||
"Options:": "Options:",
|
||||
"Insert command line options and files from a file.": "Insert command line options and files from a file.",
|
||||
"Version {0}": "Version {0}",
|
||||
"Use the '{0}' flag to see options": "Use the '{0}' flag to see options",
|
||||
"{NL}Recompiling ({0}):": "{NL}Recompiling ({0}):",
|
||||
"STRING": "STRING",
|
||||
"KIND": "KIND",
|
||||
"FILE": "FILE",
|
||||
"VERSION": "VERSION",
|
||||
"LOCATION": "LOCATION",
|
||||
"DIRECTORY": "DIRECTORY",
|
||||
"This version of the Javascript runtime does not support the '{0}' function.": "This version of the Javascript runtime does not support the '{0}' function.",
|
||||
"Looking up path for identifier token did not result in an identifer.": "Looking up path for identifier token did not result in an identifer.",
|
||||
"Unknown rule": "Unknown rule",
|
||||
"Invalid line number ({0})": "Invalid line number ({0})",
|
||||
"Warn on expressions and declarations with an implied 'any' type.": "Warn on expressions and declarations with an implied 'any' type.",
|
||||
"Variable '{0}' implicitly has an 'any' type.": "Variable '{0}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of '{1}' implicitly has an 'any' type.": "Parameter '{0}' of '{1}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of function type implicitly has an 'any' type.": "Parameter '{0}' of function type implicitly has an 'any' type.",
|
||||
"Member '{0}' of object type implicitly has an 'any' type.": "Member '{0}' of object type implicitly has an 'any' type.",
|
||||
"\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.": "\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.",
|
||||
"'{0}', which lacks return-type annotation, implicitly has an 'any' return type.": "'{0}', which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Function expression, which lacks return-type annotation, implicitly has an 'any' return type.": "Function expression, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Parameter '{0}' of lambda function implicitly has an 'any' type.": "Parameter '{0}' of lambda function implicitly has an 'any' type.",
|
||||
"Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.": "Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.": "Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Array Literal implicitly has an 'any' type from widening.": "Array Literal implicitly has an 'any' type from widening."
|
||||
}
|
||||
374
bin/resources/ru/diagnosticMessages.generated.json
Normal file
374
bin/resources/ru/diagnosticMessages.generated.json
Normal file
@ -0,0 +1,374 @@
|
||||
{
|
||||
"error TS{0}: {1}": "error TS{0}: {1}",
|
||||
"warning TS{0}: {1}": "warning TS{0}: {1}",
|
||||
"Unrecognized escape sequence.": "Unrecognized escape sequence.",
|
||||
"Unexpected character {0}.": "Unexpected character {0}.",
|
||||
"Missing close quote character.": "Missing close quote character.",
|
||||
"Identifier expected.": "Identifier expected.",
|
||||
"'{0}' keyword expected.": "'{0}' keyword expected.",
|
||||
"'{0}' expected.": "'{0}' expected.",
|
||||
"Identifier expected; '{0}' is a keyword.": "Identifier expected; '{0}' is a keyword.",
|
||||
"Automatic semicolon insertion not allowed.": "Automatic semicolon insertion not allowed.",
|
||||
"Unexpected token; '{0}' expected.": "Unexpected token; '{0}' expected.",
|
||||
"Trailing separator not allowed.": "Trailing separator not allowed.",
|
||||
"'*/' expected.": "'*/' expected.",
|
||||
"'public' or 'private' modifier must precede 'static'.": "'public' or 'private' modifier must precede 'static'.",
|
||||
"Unexpected token.": "Unexpected token.",
|
||||
"Catch clause parameter cannot have a type annotation.": "Catch clause parameter cannot have a type annotation.",
|
||||
"Rest parameter must be last in list.": "Rest parameter must be last in list.",
|
||||
"Parameter cannot have question mark and initializer.": "Parameter cannot have question mark and initializer.",
|
||||
"Required parameter cannot follow optional parameter.": "Required parameter cannot follow optional parameter.",
|
||||
"Index signatures cannot have rest parameters.": "Index signatures cannot have rest parameters.",
|
||||
"Index signature parameter cannot have accessibility modifiers.": "Index signature parameter cannot have accessibility modifiers.",
|
||||
"Index signature parameter cannot have a question mark.": "Index signature parameter cannot have a question mark.",
|
||||
"Index signature parameter cannot have an initializer.": "Index signature parameter cannot have an initializer.",
|
||||
"Index signature must have a type annotation.": "Index signature must have a type annotation.",
|
||||
"Index signature parameter must have a type annotation.": "Index signature parameter must have a type annotation.",
|
||||
"Index signature parameter type must be 'string' or 'number'.": "Index signature parameter type must be 'string' or 'number'.",
|
||||
"'extends' clause already seen.": "'extends' clause already seen.",
|
||||
"'extends' clause must precede 'implements' clause.": "'extends' clause must precede 'implements' clause.",
|
||||
"Classes can only extend a single class.": "Classes can only extend a single class.",
|
||||
"'implements' clause already seen.": "'implements' clause already seen.",
|
||||
"Accessibility modifier already seen.": "Accessibility modifier already seen.",
|
||||
"'{0}' modifier must precede '{1}' modifier.": "'{0}' modifier must precede '{1}' modifier.",
|
||||
"'{0}' modifier already seen.": "'{0}' modifier already seen.",
|
||||
"'{0}' modifier cannot appear on a class element.": "'{0}' modifier cannot appear on a class element.",
|
||||
"Interface declaration cannot have 'implements' clause.": "Interface declaration cannot have 'implements' clause.",
|
||||
"'super' invocation cannot have type arguments.": "'super' invocation cannot have type arguments.",
|
||||
"Only ambient modules can use quoted names.": "Only ambient modules can use quoted names.",
|
||||
"Statements are not allowed in ambient contexts.": "Statements are not allowed in ambient contexts.",
|
||||
"Implementations are not allowed in ambient contexts.": "Implementations are not allowed in ambient contexts.",
|
||||
"'declare' modifier not allowed for code already in an ambient context.": "'declare' modifier not allowed for code already in an ambient context.",
|
||||
"Initializers are not allowed in ambient contexts.": "Initializers are not allowed in ambient contexts.",
|
||||
"Parameter property declarations can only be used in constructors.": "Parameter property declarations can only be used in constructors.",
|
||||
"Function implementation expected.": "Function implementation expected.",
|
||||
"Constructor implementation expected.": "Constructor implementation expected.",
|
||||
"Function overload name must be '{0}'.": "Function overload name must be '{0}'.",
|
||||
"'{0}' modifier cannot appear on a module element.": "'{0}' modifier cannot appear on a module element.",
|
||||
"'declare' modifier cannot appear on an interface declaration.": "'declare' modifier cannot appear on an interface declaration.",
|
||||
"'declare' modifier required for top level element.": "'declare' modifier required for top level element.",
|
||||
"Rest parameter cannot be optional.": "Rest parameter cannot be optional.",
|
||||
"Rest parameter cannot have an initializer.": "Rest parameter cannot have an initializer.",
|
||||
"'set' accessor must have one and only one parameter.": "'set' accessor must have one and only one parameter.",
|
||||
"'set' accessor parameter cannot have accessibility modifier.": "'set' accessor parameter cannot have accessibility modifier.",
|
||||
"'set' accessor parameter cannot be optional.": "'set' accessor parameter cannot be optional.",
|
||||
"'set' accessor parameter cannot have an initializer.": "'set' accessor parameter cannot have an initializer.",
|
||||
"'set' accessor cannot have rest parameter.": "'set' accessor cannot have rest parameter.",
|
||||
"'get' accessor cannot have parameters.": "'get' accessor cannot have parameters.",
|
||||
"Modifiers cannot appear here.": "Modifiers cannot appear here.",
|
||||
"Accessors are only available when targeting ECMAScript 5 and higher.": "Accessors are only available when targeting ECMAScript 5 and higher.",
|
||||
"Class name cannot be '{0}'.": "Class name cannot be '{0}'.",
|
||||
"Interface name cannot be '{0}'.": "Interface name cannot be '{0}'.",
|
||||
"Enum name cannot be '{0}'.": "Enum name cannot be '{0}'.",
|
||||
"Module name cannot be '{0}'.": "Module name cannot be '{0}'.",
|
||||
"Enum member must have initializer.": "Enum member must have initializer.",
|
||||
"Export assignment cannot be used in internal modules.": "Export assignment cannot be used in internal modules.",
|
||||
"Export assignment not allowed in module with exported element.": "Export assignment not allowed in module with exported element.",
|
||||
"Module cannot have multiple export assignments.": "Module cannot have multiple export assignments.",
|
||||
"Ambient enum elements can only have integer literal initializers.": "Ambient enum elements can only have integer literal initializers.",
|
||||
"module, class, interface, enum, import or statement": "module, class, interface, enum, import or statement",
|
||||
"constructor, function, accessor or variable": "constructor, function, accessor or variable",
|
||||
"statement": "statement",
|
||||
"case or default clause": "case or default clause",
|
||||
"identifier": "identifier",
|
||||
"call, construct, index, property or function signature": "call, construct, index, property or function signature",
|
||||
"expression": "expression",
|
||||
"type name": "type name",
|
||||
"property or accessor": "property or accessor",
|
||||
"parameter": "parameter",
|
||||
"type": "type",
|
||||
"type parameter": "type parameter",
|
||||
"'declare' modifier not allowed on import declaration.": "'declare' modifier not allowed on import declaration.",
|
||||
"Function overload must be static": "Function overload must be static",
|
||||
"Function overload must not be static": "Function overload must not be static",
|
||||
"Duplicate identifier '{0}'.": "Duplicate identifier '{0}'.",
|
||||
"The name '{0}' does not exist in the current scope.": "The name '{0}' does not exist in the current scope.",
|
||||
"The name '{0}' does not refer to a value.": "The name '{0}' does not refer to a value.",
|
||||
"'super' can only be used inside a class instance method.": "'super' can only be used inside a class instance method.",
|
||||
"The left-hand side of an assignment expression must be a variable, property or indexer.": "The left-hand side of an assignment expression must be a variable, property or indexer.",
|
||||
"Value of type '{0}' is not callable. Did you mean to include 'new'?": "Value of type '{0}' is not callable. Did you mean to include 'new'?",
|
||||
"Value of type '{0}' is not callable.": "Value of type '{0}' is not callable.",
|
||||
"Value of type '{0}' is not newable.": "Value of type '{0}' is not newable.",
|
||||
"Value of type '{0}' is not indexable by type '{1}'.": "Value of type '{0}' is not indexable by type '{1}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}'.": "Operator '{0}' cannot be applied to types '{1}' and '{2}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}": "Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}",
|
||||
"Cannot convert '{0}' to '{1}'.": "Cannot convert '{0}' to '{1}'.",
|
||||
"Cannot convert '{0}' to '{1}':{NL}{2}": "Cannot convert '{0}' to '{1}':{NL}{2}",
|
||||
"Expected var, class, interface, or module.": "Expected var, class, interface, or module.",
|
||||
"Operator '{0}' cannot be applied to type '{1}'.": "Operator '{0}' cannot be applied to type '{1}'.",
|
||||
"Getter '{0}' already declared.": "Getter '{0}' already declared.",
|
||||
"Setter '{0}' already declared.": "Setter '{0}' already declared.",
|
||||
"Accessors cannot have type parameters.": "Accessors cannot have type parameters.",
|
||||
"Exported class '{0}' extends private class '{1}'.": "Exported class '{0}' extends private class '{1}'.",
|
||||
"Exported class '{0}' implements private interface '{1}'.": "Exported class '{0}' implements private interface '{1}'.",
|
||||
"Exported interface '{0}' extends private interface '{1}'.": "Exported interface '{0}' extends private interface '{1}'.",
|
||||
"Exported class '{0}' extends class from inaccessible module {1}.": "Exported class '{0}' extends class from inaccessible module {1}.",
|
||||
"Exported class '{0}' implements interface from inaccessible module {1}.": "Exported class '{0}' implements interface from inaccessible module {1}.",
|
||||
"Exported interface '{0}' extends interface from inaccessible module {1}.": "Exported interface '{0}' extends interface from inaccessible module {1}.",
|
||||
"Public static property '{0}' of exported class has or is using private type '{1}'.": "Public static property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Public property '{0}' of exported class has or is using private type '{1}'.": "Public property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Property '{0}' of exported interface has or is using private type '{1}'.": "Property '{0}' of exported interface has or is using private type '{1}'.",
|
||||
"Exported variable '{0}' has or is using private type '{1}'.": "Exported variable '{0}' has or is using private type '{1}'.",
|
||||
"Public static property '{0}' of exported class is using inaccessible module {1}.": "Public static property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Public property '{0}' of exported class is using inaccessible module {1}.": "Public property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Property '{0}' of exported interface is using inaccessible module {1}.": "Property '{0}' of exported interface is using inaccessible module {1}.",
|
||||
"Exported variable '{0}' is using inaccessible module {1}.": "Exported variable '{0}' is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor from exported class has or is using private type '{1}'.": "Parameter '{0}' of constructor from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of method from exported interface has or is using private type '{1}'.": "Parameter '{0}' of method from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of exported function has or is using private type '{1}'.": "Parameter '{0}' of exported function has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor from exported class is using inaccessible module {1}.": "Parameter '{0}' of constructor from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.": "Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of call signature from exported interface is using inaccessible module {1}": "Parameter '{0}' of call signature from exported interface is using inaccessible module {1}",
|
||||
"Parameter '{0}' of public static method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of method from exported interface is using inaccessible module {1}.": "Parameter '{0}' of method from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of exported function is using inaccessible module {1}.": "Parameter '{0}' of exported function is using inaccessible module {1}.",
|
||||
"Return type of public static property getter from exported class has or is using private type '{0}'.": "Return type of public static property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of public property getter from exported class has or is using private type '{0}'.": "Return type of public property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of constructor signature from exported interface has or is using private type '{0}'.": "Return type of constructor signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of call signature from exported interface has or is using private type '{0}'.": "Return type of call signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of index signature from exported interface has or is using private type '{0}'.": "Return type of index signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of public static method from exported class has or is using private type '{0}'.": "Return type of public static method from exported class has or is using private type '{0}'.",
|
||||
"Return type of public method from exported class has or is using private type '{0}'.": "Return type of public method from exported class has or is using private type '{0}'.",
|
||||
"Return type of method from exported interface has or is using private type '{0}'.": "Return type of method from exported interface has or is using private type '{0}'.",
|
||||
"Return type of exported function has or is using private type '{0}'.": "Return type of exported function has or is using private type '{0}'.",
|
||||
"Return type of public static property getter from exported class is using inaccessible module {0}.": "Return type of public static property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of public property getter from exported class is using inaccessible module {0}.": "Return type of public property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of constructor signature from exported interface is using inaccessible module {0}.": "Return type of constructor signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of call signature from exported interface is using inaccessible module {0}.": "Return type of call signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of index signature from exported interface is using inaccessible module {0}.": "Return type of index signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of public static method from exported class is using inaccessible module {0}.": "Return type of public static method from exported class is using inaccessible module {0}.",
|
||||
"Return type of public method from exported class is using inaccessible module {0}.": "Return type of public method from exported class is using inaccessible module {0}.",
|
||||
"Return type of method from exported interface is using inaccessible module {0}.": "Return type of method from exported interface is using inaccessible module {0}.",
|
||||
"Return type of exported function is using inaccessible module {0}.": "Return type of exported function is using inaccessible module {0}.",
|
||||
"'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.": "'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.",
|
||||
"A parameter list must follow a generic type argument list. '(' expected.": "A parameter list must follow a generic type argument list. '(' expected.",
|
||||
"Multiple constructor implementations are not allowed.": "Multiple constructor implementations are not allowed.",
|
||||
"Unable to resolve external module '{0}'.": "Unable to resolve external module '{0}'.",
|
||||
"Module cannot be aliased to a non-module type.": "Module cannot be aliased to a non-module type.",
|
||||
"A class may only extend another class.": "A class may only extend another class.",
|
||||
"A class may only implement another class or interface.": "A class may only implement another class or interface.",
|
||||
"An interface may only extend another class or interface.": "An interface may only extend another class or interface.",
|
||||
"An interface cannot implement another type.": "An interface cannot implement another type.",
|
||||
"Unable to resolve type.": "Unable to resolve type.",
|
||||
"Unable to resolve type of '{0}'.": "Unable to resolve type of '{0}'.",
|
||||
"Unable to resolve type parameter constraint.": "Unable to resolve type parameter constraint.",
|
||||
"Type parameter constraint cannot be a primitive type.": "Type parameter constraint cannot be a primitive type.",
|
||||
"Supplied parameters do not match any signature of call target.": "Supplied parameters do not match any signature of call target.",
|
||||
"Supplied parameters do not match any signature of call target:{NL}{0}": "Supplied parameters do not match any signature of call target:{NL}{0}",
|
||||
"Invalid 'new' expression.": "Invalid 'new' expression.",
|
||||
"Call signatures used in a 'new' expression must have a 'void' return type.": "Call signatures used in a 'new' expression must have a 'void' return type.",
|
||||
"Could not select overload for 'new' expression.": "Could not select overload for 'new' expression.",
|
||||
"Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.": "Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.",
|
||||
"Could not select overload for 'call' expression.": "Could not select overload for 'call' expression.",
|
||||
"Cannot invoke an expression whose type lacks a call signature.": "Cannot invoke an expression whose type lacks a call signature.",
|
||||
"Calls to 'super' are only valid inside a class.": "Calls to 'super' are only valid inside a class.",
|
||||
"Generic type '{0}' requires {1} type argument(s).": "Generic type '{0}' requires {1} type argument(s).",
|
||||
"Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.": "Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.",
|
||||
"Type of array literal cannot be determined. Best common type could not be found for array elements.": "Type of array literal cannot be determined. Best common type could not be found for array elements.",
|
||||
"Could not find enclosing symbol for dotted name '{0}'.": "Could not find enclosing symbol for dotted name '{0}'.",
|
||||
"The property '{0}' does not exist on value of type '{1}'.": "The property '{0}' does not exist on value of type '{1}'.",
|
||||
"Could not find symbol '{0}'.": "Could not find symbol '{0}'.",
|
||||
"'get' and 'set' accessor must have the same type.": "'get' and 'set' accessor must have the same type.",
|
||||
"'this' cannot be referenced in current location.": "'this' cannot be referenced in current location.",
|
||||
"Static methods cannot reference class type parameters.": "Static methods cannot reference class type parameters.",
|
||||
"Class '{0}' is recursively referenced as a base type of itself.": "Class '{0}' is recursively referenced as a base type of itself.",
|
||||
"Interface '{0}' is recursively referenced as a base type of itself.": "Interface '{0}' is recursively referenced as a base type of itself.",
|
||||
"'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.": "'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.",
|
||||
"'super' cannot be referenced in non-derived classes.": "'super' cannot be referenced in non-derived classes.",
|
||||
"A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.": "A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.",
|
||||
"Constructors for derived classes must contain a 'super' call.": "Constructors for derived classes must contain a 'super' call.",
|
||||
"Super calls are not permitted outside constructors or in local functions inside constructors.": "Super calls are not permitted outside constructors or in local functions inside constructors.",
|
||||
"'{0}.{1}' is inaccessible.": "'{0}.{1}' is inaccessible.",
|
||||
"'this' cannot be referenced within module bodies.": "'this' cannot be referenced within module bodies.",
|
||||
"Invalid '+' expression - types not known to support the addition operator.": "Invalid '+' expression - types not known to support the addition operator.",
|
||||
"The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.": "The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.",
|
||||
"Variable declarations of a 'for' statement cannot use a type annotation.": "Variable declarations of a 'for' statement cannot use a type annotation.",
|
||||
"Variable declarations of a 'for' statement must be of types 'string' or 'any'.": "Variable declarations of a 'for' statement must be of types 'string' or 'any'.",
|
||||
"The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.": "The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'in' expression must be of types 'string' or 'any'.": "The left-hand side of an 'in' expression must be of types 'string' or 'any'.",
|
||||
"The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.": "The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.": "The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.": "The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.",
|
||||
"Setters cannot return a value.": "Setters cannot return a value.",
|
||||
"Tried to query type of uninitialized module '{0}'.": "Tried to query type of uninitialized module '{0}'.",
|
||||
"Tried to set variable type to uninitialized module type '{0}'.": "Tried to set variable type to uninitialized module type '{0}'.",
|
||||
"Function '{0}' declared a non-void return type, but has no return expression.": "Function '{0}' declared a non-void return type, but has no return expression.",
|
||||
"Getters must return a value.": "Getters must return a value.",
|
||||
"Getter and setter accessors do not agree in visibility.": "Getter and setter accessors do not agree in visibility.",
|
||||
"Invalid left-hand side of assignment expression.": "Invalid left-hand side of assignment expression.",
|
||||
"Function declared a non-void return type, but has no return expression.": "Function declared a non-void return type, but has no return expression.",
|
||||
"Cannot resolve return type reference.": "Cannot resolve return type reference.",
|
||||
"Constructors cannot have a return type of 'void'.": "Constructors cannot have a return type of 'void'.",
|
||||
"Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.": "Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.",
|
||||
"All symbols within a with block will be resolved to 'any'.": "All symbols within a with block will be resolved to 'any'.",
|
||||
"Import declarations in an internal module cannot reference an external module.": "Import declarations in an internal module cannot reference an external module.",
|
||||
"Class {0} declares interface {1} but does not implement it:{NL}{2}": "Class {0} declares interface {1} but does not implement it:{NL}{2}",
|
||||
"Class {0} declares class {1} as an interface but does not implement it:{NL}{2}": "Class {0} declares class {1} as an interface but does not implement it:{NL}{2}",
|
||||
"The operand of an increment or decrement operator must be a variable, property or indexer.": "The operand of an increment or decrement operator must be a variable, property or indexer.",
|
||||
"'this' cannot be referenced in static initializers in a class body.": "'this' cannot be referenced in static initializers in a class body.",
|
||||
"Class '{0}' cannot extend class '{1}':{NL}{2}": "Class '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend class '{1}':{NL}{2}": "Interface '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend interface '{1}':{NL}{2}": "Interface '{0}' cannot extend interface '{1}':{NL}{2}",
|
||||
"Duplicate overload signature for '{0}'.": "Duplicate overload signature for '{0}'.",
|
||||
"Duplicate constructor overload signature.": "Duplicate constructor overload signature.",
|
||||
"Duplicate overload call signature.": "Duplicate overload call signature.",
|
||||
"Duplicate overload construct signature.": "Duplicate overload construct signature.",
|
||||
"Overload signature is not compatible with function definition.": "Overload signature is not compatible with function definition.",
|
||||
"Overload signature is not compatible with function definition:{NL}{0}": "Overload signature is not compatible with function definition:{NL}{0}",
|
||||
"Overload signatures must all be public or private.": "Overload signatures must all be public or private.",
|
||||
"Overload signatures must all be exported or local.": "Overload signatures must all be exported or local.",
|
||||
"Overload signatures must all be ambient or non-ambient.": "Overload signatures must all be ambient or non-ambient.",
|
||||
"Overload signatures must all be optional or required.": "Overload signatures must all be optional or required.",
|
||||
"Specialized overload signature is not subtype of any non-specialized signature.": "Specialized overload signature is not subtype of any non-specialized signature.",
|
||||
"'this' cannot be referenced in constructor arguments.": "'this' cannot be referenced in constructor arguments.",
|
||||
"Static member cannot be accessed off an instance variable.": "Static member cannot be accessed off an instance variable.",
|
||||
"Instance member cannot be accessed off a class.": "Instance member cannot be accessed off a class.",
|
||||
"Untyped function calls may not accept type arguments.": "Untyped function calls may not accept type arguments.",
|
||||
"Non-generic functions may not accept type arguments.": "Non-generic functions may not accept type arguments.",
|
||||
"A generic type may not reference itself with a wrapped form of its own type parameters.": "A generic type may not reference itself with a wrapped form of its own type parameters.",
|
||||
"Rest parameters must be array types.": "Rest parameters must be array types.",
|
||||
"Overload signature implementation cannot use specialized type.": "Overload signature implementation cannot use specialized type.",
|
||||
"Export assignments may only be used at the top-level of external modules.": "Export assignments may only be used at the top-level of external modules.",
|
||||
"Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules": "Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules",
|
||||
"Only public instance methods of the base class are accessible via the 'super' keyword.": "Only public instance methods of the base class are accessible via the 'super' keyword.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}'.": "All numerically named properties must be subtypes of numeric indexer type '{0}'.",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}": "All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}",
|
||||
"All named properties must be subtypes of string indexer type '{0}'.": "All named properties must be subtypes of string indexer type '{0}'.",
|
||||
"All named properties must be subtypes of string indexer type '{0}':{NL}{1}": "All named properties must be subtypes of string indexer type '{0}':{NL}{1}",
|
||||
"Generic type references must include all type arguments.": "Generic type references must include all type arguments.",
|
||||
"Default arguments are not allowed in an overload parameter.": "Default arguments are not allowed in an overload parameter.",
|
||||
"Overloads cannot differ only by return type.": "Overloads cannot differ only by return type.",
|
||||
"Function expression declared a non-void return type, but has no return expression.": "Function expression declared a non-void return type, but has no return expression.",
|
||||
"Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.": "Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.",
|
||||
"Could not find symbol '{0}' in module '{1}'.": "Could not find symbol '{0}' in module '{1}'.",
|
||||
"Unable to resolve module reference '{0}'.": "Unable to resolve module reference '{0}'.",
|
||||
"Could not find module '{0}' in module '{1}'.": "Could not find module '{0}' in module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.",
|
||||
"Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.": "Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.",
|
||||
"Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.": "Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.",
|
||||
"Type '{0}' is missing property '{1}' from type '{2}'.": "Type '{0}' is missing property '{1}' from type '{2}'.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible.": "Types of property '{0}' of types '{1}' and '{2}' are incompatible.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}": "Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}",
|
||||
"Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.": "Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.",
|
||||
"Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.": "Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.",
|
||||
"Types '{0}' and '{1}' define property '{2}' as private.": "Types '{0}' and '{1}' define property '{2}' as private.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible.": "Call signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a call signature, but type '{1}' lacks one.": "Type '{0}' requires a call signature, but type '{1}' lacks one.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible.": "Construct signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a construct signature, but type '{1}' lacks one.": "Type '{0}' requires a construct signature, but type '{1}' lacks one.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible.": "Index signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Call signature expects {0} or fewer parameters.": "Call signature expects {0} or fewer parameters.",
|
||||
"Could not apply type '{0}' to argument {1} which is of type '{2}'.": "Could not apply type '{0}' to argument {1} which is of type '{2}'.",
|
||||
"Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}",
|
||||
"Type reference cannot refer to container '{0}'.": "Type reference cannot refer to container '{0}'.",
|
||||
"Type reference must refer to type.": "Type reference must refer to type.",
|
||||
"Enums with multiple declarations must provide an initializer for the first enum element.": "Enums with multiple declarations must provide an initializer for the first enum element.",
|
||||
" (+ {0} overload(s))": " (+ {0} overload(s))",
|
||||
"Current host does not support '{0}' option.": "Current host does not support '{0}' option.",
|
||||
"ECMAScript target version '{0}' not supported. Using default '{1}' code generation.": "ECMAScript target version '{0}' not supported. Using default '{1}' code generation.",
|
||||
"Module code generation '{0}' not supported.": "Module code generation '{0}' not supported.",
|
||||
"Could not find file: '{0}'.": "Could not find file: '{0}'.",
|
||||
"A file cannot have a reference to itself.": "A file cannot have a reference to itself.",
|
||||
"Cannot resolve referenced file: '{0}'.": "Cannot resolve referenced file: '{0}'.",
|
||||
"Cannot find the common subdirectory path for the input files.": "Cannot find the common subdirectory path for the input files.",
|
||||
"Emit Error: {0}.": "Emit Error: {0}.",
|
||||
"Cannot read file '{0}': {1}": "Cannot read file '{0}': {1}",
|
||||
"Unsupported file encoding.": "Unsupported file encoding.",
|
||||
"Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.": "Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.",
|
||||
"Unsupported locale: '{0}'.": "Unsupported locale: '{0}'.",
|
||||
"Execution Failed.{NL}": "Execution Failed.{NL}",
|
||||
"Should not emit a type query": "Should not emit a type query",
|
||||
"Should not emit a type reference": "Should not emit a type reference",
|
||||
"Invalid call to 'up'": "Invalid call to 'up'",
|
||||
"Invalid call to 'down'": "Invalid call to 'down'",
|
||||
"Base64 value '{0}' finished with a continuation bit": "Base64 value '{0}' finished with a continuation bit",
|
||||
"Key was already in table": "Key was already in table",
|
||||
"Unknown option '{0}'": "Unknown option '{0}'",
|
||||
"Expected {0} arguments to message, got {1} instead": "Expected {0} arguments to message, got {1} instead",
|
||||
"Expected the message '{0}' to have {1} arguments, but it had {2}": "Expected the message '{0}' to have {1} arguments, but it had {2}",
|
||||
"Invalid argument: {0}. {1}": "Invalid argument: {0}. {1}",
|
||||
"Invalid argument: {0}.": "Invalid argument: {0}.",
|
||||
"Argument out of range: {0}.": "Argument out of range: {0}.",
|
||||
"Argument null: {0}.": "Argument null: {0}.",
|
||||
"Operation not implemented properly by subclass.": "Operation not implemented properly by subclass.",
|
||||
"Not yet implemented.": "Not yet implemented.",
|
||||
"Invalid operation: {0}": "Invalid operation: {0}",
|
||||
"Invalid operation.": "Invalid operation.",
|
||||
"Could not delete file '{0}'": "Could not delete file '{0}'",
|
||||
"Could not create directory '{0}'": "Could not create directory '{0}'",
|
||||
"Error while executing file '{0}': ": "Error while executing file '{0}': ",
|
||||
"Cannot compile external modules unless the '--module' flag is provided.": "Cannot compile external modules unless the '--module' flag is provided.",
|
||||
"Option mapRoot cannot be specified without specifying sourcemap option.": "Option mapRoot cannot be specified without specifying sourcemap option.",
|
||||
"Option sourceRoot cannot be specified without specifying sourcemap option.": "Option sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.": "Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Concatenate and emit output to single file": "Concatenate and emit output to single file",
|
||||
"Generates corresponding {0} file": "Generates corresponding {0} file",
|
||||
"Specifies the location where debugger should locate map files instead of generated locations.": "Specifies the location where debugger should locate map files instead of generated locations.",
|
||||
"Specifies the location where debugger should locate TypeScript files instead of source locations.": "Specifies the location where debugger should locate TypeScript files instead of source locations.",
|
||||
"Watch input files": "Watch input files",
|
||||
"Redirect output structure to the directory": "Redirect output structure to the directory",
|
||||
"Do not emit comments to output": "Do not emit comments to output",
|
||||
"Skip resolution and preprocessing": "Skip resolution and preprocessing",
|
||||
"Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"": "Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"",
|
||||
"Specify module code generation: \"{0}\" or \"{1}\"": "Specify module code generation: \"{0}\" or \"{1}\"",
|
||||
"Print this message": "Print this message",
|
||||
"Print the compiler's version: {0}": "Print the compiler's version: {0}",
|
||||
"Allow use of deprecated \"{0}\" keyword when referencing an external module": "Allow use of deprecated \"{0}\" keyword when referencing an external module",
|
||||
"Specify locale for errors and messages. For example '{0}' or '{1}'": "Specify locale for errors and messages. For example '{0}' or '{1}'",
|
||||
"Syntax: {0}": "Syntax: {0}",
|
||||
"options": "options",
|
||||
"file": "file",
|
||||
"Examples:": "Examples:",
|
||||
"Options:": "Options:",
|
||||
"Insert command line options and files from a file.": "Insert command line options and files from a file.",
|
||||
"Version {0}": "Version {0}",
|
||||
"Use the '{0}' flag to see options": "Use the '{0}' flag to see options",
|
||||
"{NL}Recompiling ({0}):": "{NL}Recompiling ({0}):",
|
||||
"STRING": "STRING",
|
||||
"KIND": "KIND",
|
||||
"FILE": "FILE",
|
||||
"VERSION": "VERSION",
|
||||
"LOCATION": "LOCATION",
|
||||
"DIRECTORY": "DIRECTORY",
|
||||
"This version of the Javascript runtime does not support the '{0}' function.": "This version of the Javascript runtime does not support the '{0}' function.",
|
||||
"Looking up path for identifier token did not result in an identifer.": "Looking up path for identifier token did not result in an identifer.",
|
||||
"Unknown rule": "Unknown rule",
|
||||
"Invalid line number ({0})": "Invalid line number ({0})",
|
||||
"Warn on expressions and declarations with an implied 'any' type.": "Warn on expressions and declarations with an implied 'any' type.",
|
||||
"Variable '{0}' implicitly has an 'any' type.": "Variable '{0}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of '{1}' implicitly has an 'any' type.": "Parameter '{0}' of '{1}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of function type implicitly has an 'any' type.": "Parameter '{0}' of function type implicitly has an 'any' type.",
|
||||
"Member '{0}' of object type implicitly has an 'any' type.": "Member '{0}' of object type implicitly has an 'any' type.",
|
||||
"\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.": "\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.",
|
||||
"'{0}', which lacks return-type annotation, implicitly has an 'any' return type.": "'{0}', which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Function expression, which lacks return-type annotation, implicitly has an 'any' return type.": "Function expression, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Parameter '{0}' of lambda function implicitly has an 'any' type.": "Parameter '{0}' of lambda function implicitly has an 'any' type.",
|
||||
"Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.": "Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.": "Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Array Literal implicitly has an 'any' type from widening.": "Array Literal implicitly has an 'any' type from widening."
|
||||
}
|
||||
374
bin/resources/tr/diagnosticMessages.generated.json
Normal file
374
bin/resources/tr/diagnosticMessages.generated.json
Normal file
@ -0,0 +1,374 @@
|
||||
{
|
||||
"error TS{0}: {1}": "error TS{0}: {1}",
|
||||
"warning TS{0}: {1}": "warning TS{0}: {1}",
|
||||
"Unrecognized escape sequence.": "Unrecognized escape sequence.",
|
||||
"Unexpected character {0}.": "Unexpected character {0}.",
|
||||
"Missing close quote character.": "Missing close quote character.",
|
||||
"Identifier expected.": "Identifier expected.",
|
||||
"'{0}' keyword expected.": "'{0}' keyword expected.",
|
||||
"'{0}' expected.": "'{0}' expected.",
|
||||
"Identifier expected; '{0}' is a keyword.": "Identifier expected; '{0}' is a keyword.",
|
||||
"Automatic semicolon insertion not allowed.": "Automatic semicolon insertion not allowed.",
|
||||
"Unexpected token; '{0}' expected.": "Unexpected token; '{0}' expected.",
|
||||
"Trailing separator not allowed.": "Trailing separator not allowed.",
|
||||
"'*/' expected.": "'*/' expected.",
|
||||
"'public' or 'private' modifier must precede 'static'.": "'public' or 'private' modifier must precede 'static'.",
|
||||
"Unexpected token.": "Unexpected token.",
|
||||
"Catch clause parameter cannot have a type annotation.": "Catch clause parameter cannot have a type annotation.",
|
||||
"Rest parameter must be last in list.": "Rest parameter must be last in list.",
|
||||
"Parameter cannot have question mark and initializer.": "Parameter cannot have question mark and initializer.",
|
||||
"Required parameter cannot follow optional parameter.": "Required parameter cannot follow optional parameter.",
|
||||
"Index signatures cannot have rest parameters.": "Index signatures cannot have rest parameters.",
|
||||
"Index signature parameter cannot have accessibility modifiers.": "Index signature parameter cannot have accessibility modifiers.",
|
||||
"Index signature parameter cannot have a question mark.": "Index signature parameter cannot have a question mark.",
|
||||
"Index signature parameter cannot have an initializer.": "Index signature parameter cannot have an initializer.",
|
||||
"Index signature must have a type annotation.": "Index signature must have a type annotation.",
|
||||
"Index signature parameter must have a type annotation.": "Index signature parameter must have a type annotation.",
|
||||
"Index signature parameter type must be 'string' or 'number'.": "Index signature parameter type must be 'string' or 'number'.",
|
||||
"'extends' clause already seen.": "'extends' clause already seen.",
|
||||
"'extends' clause must precede 'implements' clause.": "'extends' clause must precede 'implements' clause.",
|
||||
"Classes can only extend a single class.": "Classes can only extend a single class.",
|
||||
"'implements' clause already seen.": "'implements' clause already seen.",
|
||||
"Accessibility modifier already seen.": "Accessibility modifier already seen.",
|
||||
"'{0}' modifier must precede '{1}' modifier.": "'{0}' modifier must precede '{1}' modifier.",
|
||||
"'{0}' modifier already seen.": "'{0}' modifier already seen.",
|
||||
"'{0}' modifier cannot appear on a class element.": "'{0}' modifier cannot appear on a class element.",
|
||||
"Interface declaration cannot have 'implements' clause.": "Interface declaration cannot have 'implements' clause.",
|
||||
"'super' invocation cannot have type arguments.": "'super' invocation cannot have type arguments.",
|
||||
"Only ambient modules can use quoted names.": "Only ambient modules can use quoted names.",
|
||||
"Statements are not allowed in ambient contexts.": "Statements are not allowed in ambient contexts.",
|
||||
"Implementations are not allowed in ambient contexts.": "Implementations are not allowed in ambient contexts.",
|
||||
"'declare' modifier not allowed for code already in an ambient context.": "'declare' modifier not allowed for code already in an ambient context.",
|
||||
"Initializers are not allowed in ambient contexts.": "Initializers are not allowed in ambient contexts.",
|
||||
"Parameter property declarations can only be used in constructors.": "Parameter property declarations can only be used in constructors.",
|
||||
"Function implementation expected.": "Function implementation expected.",
|
||||
"Constructor implementation expected.": "Constructor implementation expected.",
|
||||
"Function overload name must be '{0}'.": "Function overload name must be '{0}'.",
|
||||
"'{0}' modifier cannot appear on a module element.": "'{0}' modifier cannot appear on a module element.",
|
||||
"'declare' modifier cannot appear on an interface declaration.": "'declare' modifier cannot appear on an interface declaration.",
|
||||
"'declare' modifier required for top level element.": "'declare' modifier required for top level element.",
|
||||
"Rest parameter cannot be optional.": "Rest parameter cannot be optional.",
|
||||
"Rest parameter cannot have an initializer.": "Rest parameter cannot have an initializer.",
|
||||
"'set' accessor must have one and only one parameter.": "'set' accessor must have one and only one parameter.",
|
||||
"'set' accessor parameter cannot have accessibility modifier.": "'set' accessor parameter cannot have accessibility modifier.",
|
||||
"'set' accessor parameter cannot be optional.": "'set' accessor parameter cannot be optional.",
|
||||
"'set' accessor parameter cannot have an initializer.": "'set' accessor parameter cannot have an initializer.",
|
||||
"'set' accessor cannot have rest parameter.": "'set' accessor cannot have rest parameter.",
|
||||
"'get' accessor cannot have parameters.": "'get' accessor cannot have parameters.",
|
||||
"Modifiers cannot appear here.": "Modifiers cannot appear here.",
|
||||
"Accessors are only available when targeting ECMAScript 5 and higher.": "Accessors are only available when targeting ECMAScript 5 and higher.",
|
||||
"Class name cannot be '{0}'.": "Class name cannot be '{0}'.",
|
||||
"Interface name cannot be '{0}'.": "Interface name cannot be '{0}'.",
|
||||
"Enum name cannot be '{0}'.": "Enum name cannot be '{0}'.",
|
||||
"Module name cannot be '{0}'.": "Module name cannot be '{0}'.",
|
||||
"Enum member must have initializer.": "Enum member must have initializer.",
|
||||
"Export assignment cannot be used in internal modules.": "Export assignment cannot be used in internal modules.",
|
||||
"Export assignment not allowed in module with exported element.": "Export assignment not allowed in module with exported element.",
|
||||
"Module cannot have multiple export assignments.": "Module cannot have multiple export assignments.",
|
||||
"Ambient enum elements can only have integer literal initializers.": "Ambient enum elements can only have integer literal initializers.",
|
||||
"module, class, interface, enum, import or statement": "module, class, interface, enum, import or statement",
|
||||
"constructor, function, accessor or variable": "constructor, function, accessor or variable",
|
||||
"statement": "statement",
|
||||
"case or default clause": "case or default clause",
|
||||
"identifier": "identifier",
|
||||
"call, construct, index, property or function signature": "call, construct, index, property or function signature",
|
||||
"expression": "expression",
|
||||
"type name": "type name",
|
||||
"property or accessor": "property or accessor",
|
||||
"parameter": "parameter",
|
||||
"type": "type",
|
||||
"type parameter": "type parameter",
|
||||
"'declare' modifier not allowed on import declaration.": "'declare' modifier not allowed on import declaration.",
|
||||
"Function overload must be static": "Function overload must be static",
|
||||
"Function overload must not be static": "Function overload must not be static",
|
||||
"Duplicate identifier '{0}'.": "Duplicate identifier '{0}'.",
|
||||
"The name '{0}' does not exist in the current scope.": "The name '{0}' does not exist in the current scope.",
|
||||
"The name '{0}' does not refer to a value.": "The name '{0}' does not refer to a value.",
|
||||
"'super' can only be used inside a class instance method.": "'super' can only be used inside a class instance method.",
|
||||
"The left-hand side of an assignment expression must be a variable, property or indexer.": "The left-hand side of an assignment expression must be a variable, property or indexer.",
|
||||
"Value of type '{0}' is not callable. Did you mean to include 'new'?": "Value of type '{0}' is not callable. Did you mean to include 'new'?",
|
||||
"Value of type '{0}' is not callable.": "Value of type '{0}' is not callable.",
|
||||
"Value of type '{0}' is not newable.": "Value of type '{0}' is not newable.",
|
||||
"Value of type '{0}' is not indexable by type '{1}'.": "Value of type '{0}' is not indexable by type '{1}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}'.": "Operator '{0}' cannot be applied to types '{1}' and '{2}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}": "Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}",
|
||||
"Cannot convert '{0}' to '{1}'.": "Cannot convert '{0}' to '{1}'.",
|
||||
"Cannot convert '{0}' to '{1}':{NL}{2}": "Cannot convert '{0}' to '{1}':{NL}{2}",
|
||||
"Expected var, class, interface, or module.": "Expected var, class, interface, or module.",
|
||||
"Operator '{0}' cannot be applied to type '{1}'.": "Operator '{0}' cannot be applied to type '{1}'.",
|
||||
"Getter '{0}' already declared.": "Getter '{0}' already declared.",
|
||||
"Setter '{0}' already declared.": "Setter '{0}' already declared.",
|
||||
"Accessors cannot have type parameters.": "Accessors cannot have type parameters.",
|
||||
"Exported class '{0}' extends private class '{1}'.": "Exported class '{0}' extends private class '{1}'.",
|
||||
"Exported class '{0}' implements private interface '{1}'.": "Exported class '{0}' implements private interface '{1}'.",
|
||||
"Exported interface '{0}' extends private interface '{1}'.": "Exported interface '{0}' extends private interface '{1}'.",
|
||||
"Exported class '{0}' extends class from inaccessible module {1}.": "Exported class '{0}' extends class from inaccessible module {1}.",
|
||||
"Exported class '{0}' implements interface from inaccessible module {1}.": "Exported class '{0}' implements interface from inaccessible module {1}.",
|
||||
"Exported interface '{0}' extends interface from inaccessible module {1}.": "Exported interface '{0}' extends interface from inaccessible module {1}.",
|
||||
"Public static property '{0}' of exported class has or is using private type '{1}'.": "Public static property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Public property '{0}' of exported class has or is using private type '{1}'.": "Public property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Property '{0}' of exported interface has or is using private type '{1}'.": "Property '{0}' of exported interface has or is using private type '{1}'.",
|
||||
"Exported variable '{0}' has or is using private type '{1}'.": "Exported variable '{0}' has or is using private type '{1}'.",
|
||||
"Public static property '{0}' of exported class is using inaccessible module {1}.": "Public static property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Public property '{0}' of exported class is using inaccessible module {1}.": "Public property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Property '{0}' of exported interface is using inaccessible module {1}.": "Property '{0}' of exported interface is using inaccessible module {1}.",
|
||||
"Exported variable '{0}' is using inaccessible module {1}.": "Exported variable '{0}' is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor from exported class has or is using private type '{1}'.": "Parameter '{0}' of constructor from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of method from exported interface has or is using private type '{1}'.": "Parameter '{0}' of method from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of exported function has or is using private type '{1}'.": "Parameter '{0}' of exported function has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor from exported class is using inaccessible module {1}.": "Parameter '{0}' of constructor from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.": "Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of call signature from exported interface is using inaccessible module {1}": "Parameter '{0}' of call signature from exported interface is using inaccessible module {1}",
|
||||
"Parameter '{0}' of public static method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of method from exported interface is using inaccessible module {1}.": "Parameter '{0}' of method from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of exported function is using inaccessible module {1}.": "Parameter '{0}' of exported function is using inaccessible module {1}.",
|
||||
"Return type of public static property getter from exported class has or is using private type '{0}'.": "Return type of public static property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of public property getter from exported class has or is using private type '{0}'.": "Return type of public property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of constructor signature from exported interface has or is using private type '{0}'.": "Return type of constructor signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of call signature from exported interface has or is using private type '{0}'.": "Return type of call signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of index signature from exported interface has or is using private type '{0}'.": "Return type of index signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of public static method from exported class has or is using private type '{0}'.": "Return type of public static method from exported class has or is using private type '{0}'.",
|
||||
"Return type of public method from exported class has or is using private type '{0}'.": "Return type of public method from exported class has or is using private type '{0}'.",
|
||||
"Return type of method from exported interface has or is using private type '{0}'.": "Return type of method from exported interface has or is using private type '{0}'.",
|
||||
"Return type of exported function has or is using private type '{0}'.": "Return type of exported function has or is using private type '{0}'.",
|
||||
"Return type of public static property getter from exported class is using inaccessible module {0}.": "Return type of public static property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of public property getter from exported class is using inaccessible module {0}.": "Return type of public property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of constructor signature from exported interface is using inaccessible module {0}.": "Return type of constructor signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of call signature from exported interface is using inaccessible module {0}.": "Return type of call signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of index signature from exported interface is using inaccessible module {0}.": "Return type of index signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of public static method from exported class is using inaccessible module {0}.": "Return type of public static method from exported class is using inaccessible module {0}.",
|
||||
"Return type of public method from exported class is using inaccessible module {0}.": "Return type of public method from exported class is using inaccessible module {0}.",
|
||||
"Return type of method from exported interface is using inaccessible module {0}.": "Return type of method from exported interface is using inaccessible module {0}.",
|
||||
"Return type of exported function is using inaccessible module {0}.": "Return type of exported function is using inaccessible module {0}.",
|
||||
"'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.": "'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.",
|
||||
"A parameter list must follow a generic type argument list. '(' expected.": "A parameter list must follow a generic type argument list. '(' expected.",
|
||||
"Multiple constructor implementations are not allowed.": "Multiple constructor implementations are not allowed.",
|
||||
"Unable to resolve external module '{0}'.": "Unable to resolve external module '{0}'.",
|
||||
"Module cannot be aliased to a non-module type.": "Module cannot be aliased to a non-module type.",
|
||||
"A class may only extend another class.": "A class may only extend another class.",
|
||||
"A class may only implement another class or interface.": "A class may only implement another class or interface.",
|
||||
"An interface may only extend another class or interface.": "An interface may only extend another class or interface.",
|
||||
"An interface cannot implement another type.": "An interface cannot implement another type.",
|
||||
"Unable to resolve type.": "Unable to resolve type.",
|
||||
"Unable to resolve type of '{0}'.": "Unable to resolve type of '{0}'.",
|
||||
"Unable to resolve type parameter constraint.": "Unable to resolve type parameter constraint.",
|
||||
"Type parameter constraint cannot be a primitive type.": "Type parameter constraint cannot be a primitive type.",
|
||||
"Supplied parameters do not match any signature of call target.": "Supplied parameters do not match any signature of call target.",
|
||||
"Supplied parameters do not match any signature of call target:{NL}{0}": "Supplied parameters do not match any signature of call target:{NL}{0}",
|
||||
"Invalid 'new' expression.": "Invalid 'new' expression.",
|
||||
"Call signatures used in a 'new' expression must have a 'void' return type.": "Call signatures used in a 'new' expression must have a 'void' return type.",
|
||||
"Could not select overload for 'new' expression.": "Could not select overload for 'new' expression.",
|
||||
"Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.": "Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.",
|
||||
"Could not select overload for 'call' expression.": "Could not select overload for 'call' expression.",
|
||||
"Cannot invoke an expression whose type lacks a call signature.": "Cannot invoke an expression whose type lacks a call signature.",
|
||||
"Calls to 'super' are only valid inside a class.": "Calls to 'super' are only valid inside a class.",
|
||||
"Generic type '{0}' requires {1} type argument(s).": "Generic type '{0}' requires {1} type argument(s).",
|
||||
"Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.": "Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.",
|
||||
"Type of array literal cannot be determined. Best common type could not be found for array elements.": "Type of array literal cannot be determined. Best common type could not be found for array elements.",
|
||||
"Could not find enclosing symbol for dotted name '{0}'.": "Could not find enclosing symbol for dotted name '{0}'.",
|
||||
"The property '{0}' does not exist on value of type '{1}'.": "The property '{0}' does not exist on value of type '{1}'.",
|
||||
"Could not find symbol '{0}'.": "Could not find symbol '{0}'.",
|
||||
"'get' and 'set' accessor must have the same type.": "'get' and 'set' accessor must have the same type.",
|
||||
"'this' cannot be referenced in current location.": "'this' cannot be referenced in current location.",
|
||||
"Static methods cannot reference class type parameters.": "Static methods cannot reference class type parameters.",
|
||||
"Class '{0}' is recursively referenced as a base type of itself.": "Class '{0}' is recursively referenced as a base type of itself.",
|
||||
"Interface '{0}' is recursively referenced as a base type of itself.": "Interface '{0}' is recursively referenced as a base type of itself.",
|
||||
"'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.": "'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.",
|
||||
"'super' cannot be referenced in non-derived classes.": "'super' cannot be referenced in non-derived classes.",
|
||||
"A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.": "A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.",
|
||||
"Constructors for derived classes must contain a 'super' call.": "Constructors for derived classes must contain a 'super' call.",
|
||||
"Super calls are not permitted outside constructors or in local functions inside constructors.": "Super calls are not permitted outside constructors or in local functions inside constructors.",
|
||||
"'{0}.{1}' is inaccessible.": "'{0}.{1}' is inaccessible.",
|
||||
"'this' cannot be referenced within module bodies.": "'this' cannot be referenced within module bodies.",
|
||||
"Invalid '+' expression - types not known to support the addition operator.": "Invalid '+' expression - types not known to support the addition operator.",
|
||||
"The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.": "The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.",
|
||||
"Variable declarations of a 'for' statement cannot use a type annotation.": "Variable declarations of a 'for' statement cannot use a type annotation.",
|
||||
"Variable declarations of a 'for' statement must be of types 'string' or 'any'.": "Variable declarations of a 'for' statement must be of types 'string' or 'any'.",
|
||||
"The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.": "The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'in' expression must be of types 'string' or 'any'.": "The left-hand side of an 'in' expression must be of types 'string' or 'any'.",
|
||||
"The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.": "The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.": "The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.": "The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.",
|
||||
"Setters cannot return a value.": "Setters cannot return a value.",
|
||||
"Tried to query type of uninitialized module '{0}'.": "Tried to query type of uninitialized module '{0}'.",
|
||||
"Tried to set variable type to uninitialized module type '{0}'.": "Tried to set variable type to uninitialized module type '{0}'.",
|
||||
"Function '{0}' declared a non-void return type, but has no return expression.": "Function '{0}' declared a non-void return type, but has no return expression.",
|
||||
"Getters must return a value.": "Getters must return a value.",
|
||||
"Getter and setter accessors do not agree in visibility.": "Getter and setter accessors do not agree in visibility.",
|
||||
"Invalid left-hand side of assignment expression.": "Invalid left-hand side of assignment expression.",
|
||||
"Function declared a non-void return type, but has no return expression.": "Function declared a non-void return type, but has no return expression.",
|
||||
"Cannot resolve return type reference.": "Cannot resolve return type reference.",
|
||||
"Constructors cannot have a return type of 'void'.": "Constructors cannot have a return type of 'void'.",
|
||||
"Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.": "Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.",
|
||||
"All symbols within a with block will be resolved to 'any'.": "All symbols within a with block will be resolved to 'any'.",
|
||||
"Import declarations in an internal module cannot reference an external module.": "Import declarations in an internal module cannot reference an external module.",
|
||||
"Class {0} declares interface {1} but does not implement it:{NL}{2}": "Class {0} declares interface {1} but does not implement it:{NL}{2}",
|
||||
"Class {0} declares class {1} as an interface but does not implement it:{NL}{2}": "Class {0} declares class {1} as an interface but does not implement it:{NL}{2}",
|
||||
"The operand of an increment or decrement operator must be a variable, property or indexer.": "The operand of an increment or decrement operator must be a variable, property or indexer.",
|
||||
"'this' cannot be referenced in static initializers in a class body.": "'this' cannot be referenced in static initializers in a class body.",
|
||||
"Class '{0}' cannot extend class '{1}':{NL}{2}": "Class '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend class '{1}':{NL}{2}": "Interface '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend interface '{1}':{NL}{2}": "Interface '{0}' cannot extend interface '{1}':{NL}{2}",
|
||||
"Duplicate overload signature for '{0}'.": "Duplicate overload signature for '{0}'.",
|
||||
"Duplicate constructor overload signature.": "Duplicate constructor overload signature.",
|
||||
"Duplicate overload call signature.": "Duplicate overload call signature.",
|
||||
"Duplicate overload construct signature.": "Duplicate overload construct signature.",
|
||||
"Overload signature is not compatible with function definition.": "Overload signature is not compatible with function definition.",
|
||||
"Overload signature is not compatible with function definition:{NL}{0}": "Overload signature is not compatible with function definition:{NL}{0}",
|
||||
"Overload signatures must all be public or private.": "Overload signatures must all be public or private.",
|
||||
"Overload signatures must all be exported or local.": "Overload signatures must all be exported or local.",
|
||||
"Overload signatures must all be ambient or non-ambient.": "Overload signatures must all be ambient or non-ambient.",
|
||||
"Overload signatures must all be optional or required.": "Overload signatures must all be optional or required.",
|
||||
"Specialized overload signature is not subtype of any non-specialized signature.": "Specialized overload signature is not subtype of any non-specialized signature.",
|
||||
"'this' cannot be referenced in constructor arguments.": "'this' cannot be referenced in constructor arguments.",
|
||||
"Static member cannot be accessed off an instance variable.": "Static member cannot be accessed off an instance variable.",
|
||||
"Instance member cannot be accessed off a class.": "Instance member cannot be accessed off a class.",
|
||||
"Untyped function calls may not accept type arguments.": "Untyped function calls may not accept type arguments.",
|
||||
"Non-generic functions may not accept type arguments.": "Non-generic functions may not accept type arguments.",
|
||||
"A generic type may not reference itself with a wrapped form of its own type parameters.": "A generic type may not reference itself with a wrapped form of its own type parameters.",
|
||||
"Rest parameters must be array types.": "Rest parameters must be array types.",
|
||||
"Overload signature implementation cannot use specialized type.": "Overload signature implementation cannot use specialized type.",
|
||||
"Export assignments may only be used at the top-level of external modules.": "Export assignments may only be used at the top-level of external modules.",
|
||||
"Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules": "Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules",
|
||||
"Only public instance methods of the base class are accessible via the 'super' keyword.": "Only public instance methods of the base class are accessible via the 'super' keyword.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}'.": "All numerically named properties must be subtypes of numeric indexer type '{0}'.",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}": "All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}",
|
||||
"All named properties must be subtypes of string indexer type '{0}'.": "All named properties must be subtypes of string indexer type '{0}'.",
|
||||
"All named properties must be subtypes of string indexer type '{0}':{NL}{1}": "All named properties must be subtypes of string indexer type '{0}':{NL}{1}",
|
||||
"Generic type references must include all type arguments.": "Generic type references must include all type arguments.",
|
||||
"Default arguments are not allowed in an overload parameter.": "Default arguments are not allowed in an overload parameter.",
|
||||
"Overloads cannot differ only by return type.": "Overloads cannot differ only by return type.",
|
||||
"Function expression declared a non-void return type, but has no return expression.": "Function expression declared a non-void return type, but has no return expression.",
|
||||
"Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.": "Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.",
|
||||
"Could not find symbol '{0}' in module '{1}'.": "Could not find symbol '{0}' in module '{1}'.",
|
||||
"Unable to resolve module reference '{0}'.": "Unable to resolve module reference '{0}'.",
|
||||
"Could not find module '{0}' in module '{1}'.": "Could not find module '{0}' in module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.",
|
||||
"Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.": "Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.",
|
||||
"Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.": "Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.",
|
||||
"Type '{0}' is missing property '{1}' from type '{2}'.": "Type '{0}' is missing property '{1}' from type '{2}'.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible.": "Types of property '{0}' of types '{1}' and '{2}' are incompatible.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}": "Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}",
|
||||
"Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.": "Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.",
|
||||
"Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.": "Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.",
|
||||
"Types '{0}' and '{1}' define property '{2}' as private.": "Types '{0}' and '{1}' define property '{2}' as private.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible.": "Call signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a call signature, but type '{1}' lacks one.": "Type '{0}' requires a call signature, but type '{1}' lacks one.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible.": "Construct signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a construct signature, but type '{1}' lacks one.": "Type '{0}' requires a construct signature, but type '{1}' lacks one.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible.": "Index signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Call signature expects {0} or fewer parameters.": "Call signature expects {0} or fewer parameters.",
|
||||
"Could not apply type '{0}' to argument {1} which is of type '{2}'.": "Could not apply type '{0}' to argument {1} which is of type '{2}'.",
|
||||
"Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}",
|
||||
"Type reference cannot refer to container '{0}'.": "Type reference cannot refer to container '{0}'.",
|
||||
"Type reference must refer to type.": "Type reference must refer to type.",
|
||||
"Enums with multiple declarations must provide an initializer for the first enum element.": "Enums with multiple declarations must provide an initializer for the first enum element.",
|
||||
" (+ {0} overload(s))": " (+ {0} overload(s))",
|
||||
"Current host does not support '{0}' option.": "Current host does not support '{0}' option.",
|
||||
"ECMAScript target version '{0}' not supported. Using default '{1}' code generation.": "ECMAScript target version '{0}' not supported. Using default '{1}' code generation.",
|
||||
"Module code generation '{0}' not supported.": "Module code generation '{0}' not supported.",
|
||||
"Could not find file: '{0}'.": "Could not find file: '{0}'.",
|
||||
"A file cannot have a reference to itself.": "A file cannot have a reference to itself.",
|
||||
"Cannot resolve referenced file: '{0}'.": "Cannot resolve referenced file: '{0}'.",
|
||||
"Cannot find the common subdirectory path for the input files.": "Cannot find the common subdirectory path for the input files.",
|
||||
"Emit Error: {0}.": "Emit Error: {0}.",
|
||||
"Cannot read file '{0}': {1}": "Cannot read file '{0}': {1}",
|
||||
"Unsupported file encoding.": "Unsupported file encoding.",
|
||||
"Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.": "Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.",
|
||||
"Unsupported locale: '{0}'.": "Unsupported locale: '{0}'.",
|
||||
"Execution Failed.{NL}": "Execution Failed.{NL}",
|
||||
"Should not emit a type query": "Should not emit a type query",
|
||||
"Should not emit a type reference": "Should not emit a type reference",
|
||||
"Invalid call to 'up'": "Invalid call to 'up'",
|
||||
"Invalid call to 'down'": "Invalid call to 'down'",
|
||||
"Base64 value '{0}' finished with a continuation bit": "Base64 value '{0}' finished with a continuation bit",
|
||||
"Key was already in table": "Key was already in table",
|
||||
"Unknown option '{0}'": "Unknown option '{0}'",
|
||||
"Expected {0} arguments to message, got {1} instead": "Expected {0} arguments to message, got {1} instead",
|
||||
"Expected the message '{0}' to have {1} arguments, but it had {2}": "Expected the message '{0}' to have {1} arguments, but it had {2}",
|
||||
"Invalid argument: {0}. {1}": "Invalid argument: {0}. {1}",
|
||||
"Invalid argument: {0}.": "Invalid argument: {0}.",
|
||||
"Argument out of range: {0}.": "Argument out of range: {0}.",
|
||||
"Argument null: {0}.": "Argument null: {0}.",
|
||||
"Operation not implemented properly by subclass.": "Operation not implemented properly by subclass.",
|
||||
"Not yet implemented.": "Not yet implemented.",
|
||||
"Invalid operation: {0}": "Invalid operation: {0}",
|
||||
"Invalid operation.": "Invalid operation.",
|
||||
"Could not delete file '{0}'": "Could not delete file '{0}'",
|
||||
"Could not create directory '{0}'": "Could not create directory '{0}'",
|
||||
"Error while executing file '{0}': ": "Error while executing file '{0}': ",
|
||||
"Cannot compile external modules unless the '--module' flag is provided.": "Cannot compile external modules unless the '--module' flag is provided.",
|
||||
"Option mapRoot cannot be specified without specifying sourcemap option.": "Option mapRoot cannot be specified without specifying sourcemap option.",
|
||||
"Option sourceRoot cannot be specified without specifying sourcemap option.": "Option sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.": "Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Concatenate and emit output to single file": "Concatenate and emit output to single file",
|
||||
"Generates corresponding {0} file": "Generates corresponding {0} file",
|
||||
"Specifies the location where debugger should locate map files instead of generated locations.": "Specifies the location where debugger should locate map files instead of generated locations.",
|
||||
"Specifies the location where debugger should locate TypeScript files instead of source locations.": "Specifies the location where debugger should locate TypeScript files instead of source locations.",
|
||||
"Watch input files": "Watch input files",
|
||||
"Redirect output structure to the directory": "Redirect output structure to the directory",
|
||||
"Do not emit comments to output": "Do not emit comments to output",
|
||||
"Skip resolution and preprocessing": "Skip resolution and preprocessing",
|
||||
"Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"": "Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"",
|
||||
"Specify module code generation: \"{0}\" or \"{1}\"": "Specify module code generation: \"{0}\" or \"{1}\"",
|
||||
"Print this message": "Print this message",
|
||||
"Print the compiler's version: {0}": "Print the compiler's version: {0}",
|
||||
"Allow use of deprecated \"{0}\" keyword when referencing an external module": "Allow use of deprecated \"{0}\" keyword when referencing an external module",
|
||||
"Specify locale for errors and messages. For example '{0}' or '{1}'": "Specify locale for errors and messages. For example '{0}' or '{1}'",
|
||||
"Syntax: {0}": "Syntax: {0}",
|
||||
"options": "options",
|
||||
"file": "file",
|
||||
"Examples:": "Examples:",
|
||||
"Options:": "Options:",
|
||||
"Insert command line options and files from a file.": "Insert command line options and files from a file.",
|
||||
"Version {0}": "Version {0}",
|
||||
"Use the '{0}' flag to see options": "Use the '{0}' flag to see options",
|
||||
"{NL}Recompiling ({0}):": "{NL}Recompiling ({0}):",
|
||||
"STRING": "STRING",
|
||||
"KIND": "KIND",
|
||||
"FILE": "FILE",
|
||||
"VERSION": "VERSION",
|
||||
"LOCATION": "LOCATION",
|
||||
"DIRECTORY": "DIRECTORY",
|
||||
"This version of the Javascript runtime does not support the '{0}' function.": "This version of the Javascript runtime does not support the '{0}' function.",
|
||||
"Looking up path for identifier token did not result in an identifer.": "Looking up path for identifier token did not result in an identifer.",
|
||||
"Unknown rule": "Unknown rule",
|
||||
"Invalid line number ({0})": "Invalid line number ({0})",
|
||||
"Warn on expressions and declarations with an implied 'any' type.": "Warn on expressions and declarations with an implied 'any' type.",
|
||||
"Variable '{0}' implicitly has an 'any' type.": "Variable '{0}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of '{1}' implicitly has an 'any' type.": "Parameter '{0}' of '{1}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of function type implicitly has an 'any' type.": "Parameter '{0}' of function type implicitly has an 'any' type.",
|
||||
"Member '{0}' of object type implicitly has an 'any' type.": "Member '{0}' of object type implicitly has an 'any' type.",
|
||||
"\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.": "\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.",
|
||||
"'{0}', which lacks return-type annotation, implicitly has an 'any' return type.": "'{0}', which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Function expression, which lacks return-type annotation, implicitly has an 'any' return type.": "Function expression, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Parameter '{0}' of lambda function implicitly has an 'any' type.": "Parameter '{0}' of lambda function implicitly has an 'any' type.",
|
||||
"Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.": "Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.": "Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Array Literal implicitly has an 'any' type from widening.": "Array Literal implicitly has an 'any' type from widening."
|
||||
}
|
||||
373
bin/resources/zh/cn/diagnosticMessages.generated.json
Normal file
373
bin/resources/zh/cn/diagnosticMessages.generated.json
Normal file
@ -0,0 +1,373 @@
|
||||
{
|
||||
"error TS{0}: {1}": "error TS{0}: {1}",
|
||||
"warning TS{0}: {1}": "warning TS{0}: {1}",
|
||||
"Unrecognized escape sequence.": "Unrecognized escape sequence.",
|
||||
"Unexpected character {0}.": "Unexpected character {0}.",
|
||||
"Missing close quote character.": "Missing close quote character.",
|
||||
"Identifier expected.": "Identifier expected.",
|
||||
"'{0}' keyword expected.": "'{0}' keyword expected.",
|
||||
"'{0}' expected.": "'{0}' expected.",
|
||||
"Identifier expected; '{0}' is a keyword.": "Identifier expected; '{0}' is a keyword.",
|
||||
"Automatic semicolon insertion not allowed.": "Automatic semicolon insertion not allowed.",
|
||||
"Unexpected token; '{0}' expected.": "Unexpected token; '{0}' expected.",
|
||||
"Trailing separator not allowed.": "Trailing separator not allowed.",
|
||||
"'*/' expected.": "'*/' expected.",
|
||||
"'public' or 'private' modifier must precede 'static'.": "'public' or 'private' modifier must precede 'static'.",
|
||||
"Unexpected token.": "Unexpected token.",
|
||||
"Catch clause parameter cannot have a type annotation.": "Catch clause parameter cannot have a type annotation.",
|
||||
"Rest parameter must be last in list.": "Rest parameter must be last in list.",
|
||||
"Parameter cannot have question mark and initializer.": "Parameter cannot have question mark and initializer.",
|
||||
"Required parameter cannot follow optional parameter.": "Required parameter cannot follow optional parameter.",
|
||||
"Index signatures cannot have rest parameters.": "Index signatures cannot have rest parameters.",
|
||||
"Index signature parameter cannot have accessibility modifiers.": "Index signature parameter cannot have accessibility modifiers.",
|
||||
"Index signature parameter cannot have a question mark.": "Index signature parameter cannot have a question mark.",
|
||||
"Index signature parameter cannot have an initializer.": "Index signature parameter cannot have an initializer.",
|
||||
"Index signature must have a type annotation.": "Index signature must have a type annotation.",
|
||||
"Index signature parameter must have a type annotation.": "Index signature parameter must have a type annotation.",
|
||||
"Index signature parameter type must be 'string' or 'number'.": "Index signature parameter type must be 'string' or 'number'.",
|
||||
"'extends' clause already seen.": "'extends' clause already seen.",
|
||||
"'extends' clause must precede 'implements' clause.": "'extends' clause must precede 'implements' clause.",
|
||||
"Classes can only extend a single class.": "Classes can only extend a single class.",
|
||||
"'implements' clause already seen.": "'implements' clause already seen.",
|
||||
"Accessibility modifier already seen.": "Accessibility modifier already seen.",
|
||||
"'{0}' modifier must precede '{1}' modifier.": "'{0}' modifier must precede '{1}' modifier.",
|
||||
"'{0}' modifier already seen.": "'{0}' modifier already seen.",
|
||||
"'{0}' modifier cannot appear on a class element.": "'{0}' modifier cannot appear on a class element.",
|
||||
"Interface declaration cannot have 'implements' clause.": "Interface declaration cannot have 'implements' clause.",
|
||||
"'super' invocation cannot have type arguments.": "'super' invocation cannot have type arguments.",
|
||||
"Only ambient modules can use quoted names.": "Only ambient modules can use quoted names.",
|
||||
"Statements are not allowed in ambient contexts.": "Statements are not allowed in ambient contexts.",
|
||||
"Implementations are not allowed in ambient contexts.": "Implementations are not allowed in ambient contexts.",
|
||||
"'declare' modifier not allowed for code already in an ambient context.": "'declare' modifier not allowed for code already in an ambient context.",
|
||||
"Initializers are not allowed in ambient contexts.": "Initializers are not allowed in ambient contexts.",
|
||||
"Parameter property declarations can only be used in constructors.": "Parameter property declarations can only be used in constructors.",
|
||||
"Function implementation expected.": "Function implementation expected.",
|
||||
"Constructor implementation expected.": "Constructor implementation expected.",
|
||||
"Function overload name must be '{0}'.": "Function overload name must be '{0}'.",
|
||||
"'{0}' modifier cannot appear on a module element.": "'{0}' modifier cannot appear on a module element.",
|
||||
"'declare' modifier cannot appear on an interface declaration.": "'declare' modifier cannot appear on an interface declaration.",
|
||||
"'declare' modifier required for top level element.": "'declare' modifier required for top level element.",
|
||||
"Rest parameter cannot be optional.": "Rest parameter cannot be optional.",
|
||||
"Rest parameter cannot have an initializer.": "Rest parameter cannot have an initializer.",
|
||||
"'set' accessor must have one and only one parameter.": "'set' accessor must have one and only one parameter.",
|
||||
"'set' accessor parameter cannot have accessibility modifier.": "'set' accessor parameter cannot have accessibility modifier.",
|
||||
"'set' accessor parameter cannot be optional.": "'set' accessor parameter cannot be optional.",
|
||||
"'set' accessor parameter cannot have an initializer.": "'set' accessor parameter cannot have an initializer.",
|
||||
"'set' accessor cannot have rest parameter.": "'set' accessor cannot have rest parameter.",
|
||||
"'get' accessor cannot have parameters.": "'get' accessor cannot have parameters.",
|
||||
"Modifiers cannot appear here.": "Modifiers cannot appear here.",
|
||||
"Accessors are only available when targeting ECMAScript 5 and higher.": "Accessors are only available when targeting ECMAScript 5 and higher.",
|
||||
"Class name cannot be '{0}'.": "Class name cannot be '{0}'.",
|
||||
"Interface name cannot be '{0}'.": "Interface name cannot be '{0}'.",
|
||||
"Enum name cannot be '{0}'.": "Enum name cannot be '{0}'.",
|
||||
"Module name cannot be '{0}'.": "Module name cannot be '{0}'.",
|
||||
"Enum member must have initializer.": "Enum member must have initializer.",
|
||||
"Export assignment cannot be used in internal modules.": "Export assignment cannot be used in internal modules.",
|
||||
"Export assignment not allowed in module with exported element.": "Export assignment not allowed in module with exported element.",
|
||||
"Module cannot have multiple export assignments.": "Module cannot have multiple export assignments.",
|
||||
"Ambient enum elements can only have integer literal initializers.": "Ambient enum elements can only have integer literal initializers.",
|
||||
"module, class, interface, enum, import or statement": "module, class, interface, enum, import or statement",
|
||||
"constructor, function, accessor or variable": "constructor, function, accessor or variable",
|
||||
"statement": "statement",
|
||||
"case or default clause": "case or default clause",
|
||||
"identifier": "identifier",
|
||||
"call, construct, index, property or function signature": "call, construct, index, property or function signature",
|
||||
"expression": "expression",
|
||||
"type name": "type name",
|
||||
"property or accessor": "property or accessor",
|
||||
"parameter": "parameter",
|
||||
"type": "type",
|
||||
"type parameter": "type parameter",
|
||||
"'declare' modifier not allowed on import declaration.": "'declare' modifier not allowed on import declaration.",
|
||||
"Function overload must be static": "Function overload must be static",
|
||||
"Function overload must not be static": "Function overload must not be static",
|
||||
"Duplicate identifier '{0}'.": "Duplicate identifier '{0}'.",
|
||||
"The name '{0}' does not exist in the current scope.": "The name '{0}' does not exist in the current scope.",
|
||||
"The name '{0}' does not refer to a value.": "The name '{0}' does not refer to a value.",
|
||||
"'super' can only be used inside a class instance method.": "'super' can only be used inside a class instance method.",
|
||||
"The left-hand side of an assignment expression must be a variable, property or indexer.": "The left-hand side of an assignment expression must be a variable, property or indexer.",
|
||||
"Value of type '{0}' is not callable. Did you mean to include 'new'?": "Value of type '{0}' is not callable. Did you mean to include 'new'?",
|
||||
"Value of type '{0}' is not callable.": "Value of type '{0}' is not callable.",
|
||||
"Value of type '{0}' is not newable.": "Value of type '{0}' is not newable.",
|
||||
"Value of type '{0}' is not indexable by type '{1}'.": "Value of type '{0}' is not indexable by type '{1}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}'.": "Operator '{0}' cannot be applied to types '{1}' and '{2}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}": "Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}",
|
||||
"Cannot convert '{0}' to '{1}'.": "Cannot convert '{0}' to '{1}'.",
|
||||
"Cannot convert '{0}' to '{1}':{NL}{2}": "Cannot convert '{0}' to '{1}':{NL}{2}",
|
||||
"Expected var, class, interface, or module.": "Expected var, class, interface, or module.",
|
||||
"Operator '{0}' cannot be applied to type '{1}'.": "Operator '{0}' cannot be applied to type '{1}'.",
|
||||
"Getter '{0}' already declared.": "Getter '{0}' already declared.",
|
||||
"Setter '{0}' already declared.": "Setter '{0}' already declared.",
|
||||
"Accessors cannot have type parameters.": "Accessors cannot have type parameters.",
|
||||
"Exported class '{0}' extends private class '{1}'.": "Exported class '{0}' extends private class '{1}'.",
|
||||
"Exported class '{0}' implements private interface '{1}'.": "Exported class '{0}' implements private interface '{1}'.",
|
||||
"Exported interface '{0}' extends private interface '{1}'.": "Exported interface '{0}' extends private interface '{1}'.",
|
||||
"Exported class '{0}' extends class from inaccessible module {1}.": "Exported class '{0}' extends class from inaccessible module {1}.",
|
||||
"Exported class '{0}' implements interface from inaccessible module {1}.": "Exported class '{0}' implements interface from inaccessible module {1}.",
|
||||
"Exported interface '{0}' extends interface from inaccessible module {1}.": "Exported interface '{0}' extends interface from inaccessible module {1}.",
|
||||
"Public static property '{0}' of exported class has or is using private type '{1}'.": "Public static property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Public property '{0}' of exported class has or is using private type '{1}'.": "Public property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Property '{0}' of exported interface has or is using private type '{1}'.": "Property '{0}' of exported interface has or is using private type '{1}'.",
|
||||
"Exported variable '{0}' has or is using private type '{1}'.": "Exported variable '{0}' has or is using private type '{1}'.",
|
||||
"Public static property '{0}' of exported class is using inaccessible module {1}.": "Public static property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Public property '{0}' of exported class is using inaccessible module {1}.": "Public property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Property '{0}' of exported interface is using inaccessible module {1}.": "Property '{0}' of exported interface is using inaccessible module {1}.",
|
||||
"Exported variable '{0}' is using inaccessible module {1}.": "Exported variable '{0}' is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor from exported class has or is using private type '{1}'.": "Parameter '{0}' of constructor from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of method from exported interface has or is using private type '{1}'.": "Parameter '{0}' of method from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of exported function has or is using private type '{1}'.": "Parameter '{0}' of exported function has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor from exported class is using inaccessible module {1}.": "Parameter '{0}' of constructor from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.": "Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of call signature from exported interface is using inaccessible module {1}": "Parameter '{0}' of call signature from exported interface is using inaccessible module {1}",
|
||||
"Parameter '{0}' of public static method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of method from exported interface is using inaccessible module {1}.": "Parameter '{0}' of method from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of exported function is using inaccessible module {1}.": "Parameter '{0}' of exported function is using inaccessible module {1}.",
|
||||
"Return type of public static property getter from exported class has or is using private type '{0}'.": "Return type of public static property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of public property getter from exported class has or is using private type '{0}'.": "Return type of public property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of constructor signature from exported interface has or is using private type '{0}'.": "Return type of constructor signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of call signature from exported interface has or is using private type '{0}'.": "Return type of call signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of index signature from exported interface has or is using private type '{0}'.": "Return type of index signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of public static method from exported class has or is using private type '{0}'.": "Return type of public static method from exported class has or is using private type '{0}'.",
|
||||
"Return type of public method from exported class has or is using private type '{0}'.": "Return type of public method from exported class has or is using private type '{0}'.",
|
||||
"Return type of method from exported interface has or is using private type '{0}'.": "Return type of method from exported interface has or is using private type '{0}'.",
|
||||
"Return type of exported function has or is using private type '{0}'.": "Return type of exported function has or is using private type '{0}'.",
|
||||
"Return type of public static property getter from exported class is using inaccessible module {0}.": "Return type of public static property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of public property getter from exported class is using inaccessible module {0}.": "Return type of public property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of constructor signature from exported interface is using inaccessible module {0}.": "Return type of constructor signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of call signature from exported interface is using inaccessible module {0}.": "Return type of call signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of index signature from exported interface is using inaccessible module {0}.": "Return type of index signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of public static method from exported class is using inaccessible module {0}.": "Return type of public static method from exported class is using inaccessible module {0}.",
|
||||
"Return type of public method from exported class is using inaccessible module {0}.": "Return type of public method from exported class is using inaccessible module {0}.",
|
||||
"Return type of method from exported interface is using inaccessible module {0}.": "Return type of method from exported interface is using inaccessible module {0}.",
|
||||
"Return type of exported function is using inaccessible module {0}.": "Return type of exported function is using inaccessible module {0}.",
|
||||
"'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.": "'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.",
|
||||
"A parameter list must follow a generic type argument list. '(' expected.": "A parameter list must follow a generic type argument list. '(' expected.",
|
||||
"Multiple constructor implementations are not allowed.": "Multiple constructor implementations are not allowed.",
|
||||
"Unable to resolve external module '{0}'.": "Unable to resolve external module '{0}'.",
|
||||
"Module cannot be aliased to a non-module type.": "Module cannot be aliased to a non-module type.",
|
||||
"A class may only extend another class.": "A class may only extend another class.",
|
||||
"A class may only implement another class or interface.": "A class may only implement another class or interface.",
|
||||
"An interface may only extend another class or interface.": "An interface may only extend another class or interface.",
|
||||
"An interface cannot implement another type.": "An interface cannot implement another type.",
|
||||
"Unable to resolve type.": "Unable to resolve type.",
|
||||
"Unable to resolve type of '{0}'.": "Unable to resolve type of '{0}'.",
|
||||
"Unable to resolve type parameter constraint.": "Unable to resolve type parameter constraint.",
|
||||
"Type parameter constraint cannot be a primitive type.": "Type parameter constraint cannot be a primitive type.",
|
||||
"Supplied parameters do not match any signature of call target.": "Supplied parameters do not match any signature of call target.",
|
||||
"Supplied parameters do not match any signature of call target:{NL}{0}": "Supplied parameters do not match any signature of call target:{NL}{0}",
|
||||
"Invalid 'new' expression.": "Invalid 'new' expression.",
|
||||
"Call signatures used in a 'new' expression must have a 'void' return type.": "Call signatures used in a 'new' expression must have a 'void' return type.",
|
||||
"Could not select overload for 'new' expression.": "Could not select overload for 'new' expression.",
|
||||
"Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.": "Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.",
|
||||
"Could not select overload for 'call' expression.": "Could not select overload for 'call' expression.",
|
||||
"Cannot invoke an expression whose type lacks a call signature.": "Cannot invoke an expression whose type lacks a call signature.",
|
||||
"Calls to 'super' are only valid inside a class.": "Calls to 'super' are only valid inside a class.",
|
||||
"Generic type '{0}' requires {1} type argument(s).": "Generic type '{0}' requires {1} type argument(s).",
|
||||
"Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.": "Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.",
|
||||
"Type of array literal cannot be determined. Best common type could not be found for array elements.": "Type of array literal cannot be determined. Best common type could not be found for array elements.",
|
||||
"Could not find enclosing symbol for dotted name '{0}'.": "Could not find enclosing symbol for dotted name '{0}'.",
|
||||
"The property '{0}' does not exist on value of type '{1}'.": "The property '{0}' does not exist on value of type '{1}'.",
|
||||
"Could not find symbol '{0}'.": "Could not find symbol '{0}'.",
|
||||
"'get' and 'set' accessor must have the same type.": "'get' and 'set' accessor must have the same type.",
|
||||
"'this' cannot be referenced in current location.": "'this' cannot be referenced in current location.",
|
||||
"Static methods cannot reference class type parameters.": "Static methods cannot reference class type parameters.",
|
||||
"Class '{0}' is recursively referenced as a base type of itself.": "Class '{0}' is recursively referenced as a base type of itself.",
|
||||
"Interface '{0}' is recursively referenced as a base type of itself.": "Interface '{0}' is recursively referenced as a base type of itself.",
|
||||
"'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.": "'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.",
|
||||
"'super' cannot be referenced in non-derived classes.": "'super' cannot be referenced in non-derived classes.",
|
||||
"A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.": "A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.",
|
||||
"Constructors for derived classes must contain a 'super' call.": "Constructors for derived classes must contain a 'super' call.",
|
||||
"Super calls are not permitted outside constructors or in local functions inside constructors.": "Super calls are not permitted outside constructors or in local functions inside constructors.",
|
||||
"'{0}.{1}' is inaccessible.": "'{0}.{1}' is inaccessible.",
|
||||
"'this' cannot be referenced within module bodies.": "'this' cannot be referenced within module bodies.",
|
||||
"Invalid '+' expression - types not known to support the addition operator.": "Invalid '+' expression - types not known to support the addition operator.",
|
||||
"The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.": "The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.",
|
||||
"Variable declarations of a 'for' statement cannot use a type annotation.": "Variable declarations of a 'for' statement cannot use a type annotation.",
|
||||
"Variable declarations of a 'for' statement must be of types 'string' or 'any'.": "Variable declarations of a 'for' statement must be of types 'string' or 'any'.",
|
||||
"The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.": "The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'in' expression must be of types 'string' or 'any'.": "The left-hand side of an 'in' expression must be of types 'string' or 'any'.",
|
||||
"The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.": "The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.": "The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.": "The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.",
|
||||
"Setters cannot return a value.": "Setters cannot return a value.",
|
||||
"Tried to query type of uninitialized module '{0}'.": "Tried to query type of uninitialized module '{0}'.",
|
||||
"Tried to set variable type to uninitialized module type '{0}'.": "Tried to set variable type to uninitialized module type '{0}'.",
|
||||
"Function '{0}' declared a non-void return type, but has no return expression.": "Function '{0}' declared a non-void return type, but has no return expression.",
|
||||
"Getters must return a value.": "Getters must return a value.",
|
||||
"Getter and setter accessors do not agree in visibility.": "Getter and setter accessors do not agree in visibility.",
|
||||
"Invalid left-hand side of assignment expression.": "Invalid left-hand side of assignment expression.",
|
||||
"Function declared a non-void return type, but has no return expression.": "Function declared a non-void return type, but has no return expression.",
|
||||
"Cannot resolve return type reference.": "Cannot resolve return type reference.",
|
||||
"Constructors cannot have a return type of 'void'.": "Constructors cannot have a return type of 'void'.",
|
||||
"Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.": "Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.",
|
||||
"All symbols within a with block will be resolved to 'any'.": "All symbols within a with block will be resolved to 'any'.",
|
||||
"Import declarations in an internal module cannot reference an external module.": "Import declarations in an internal module cannot reference an external module.",
|
||||
"Class {0} declares interface {1} but does not implement it:{NL}{2}": "Class {0} declares interface {1} but does not implement it:{NL}{2}",
|
||||
"Class {0} declares class {1} as an interface but does not implement it:{NL}{2}": "Class {0} declares class {1} as an interface but does not implement it:{NL}{2}",
|
||||
"The operand of an increment or decrement operator must be a variable, property or indexer.": "The operand of an increment or decrement operator must be a variable, property or indexer.",
|
||||
"'this' cannot be referenced in static initializers in a class body.": "'this' cannot be referenced in static initializers in a class body.",
|
||||
"Class '{0}' cannot extend class '{1}':{NL}{2}": "Class '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend class '{1}':{NL}{2}": "Interface '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend interface '{1}':{NL}{2}": "Interface '{0}' cannot extend interface '{1}':{NL}{2}",
|
||||
"Duplicate overload signature for '{0}'.": "Duplicate overload signature for '{0}'.",
|
||||
"Duplicate constructor overload signature.": "Duplicate constructor overload signature.",
|
||||
"Duplicate overload call signature.": "Duplicate overload call signature.",
|
||||
"Duplicate overload construct signature.": "Duplicate overload construct signature.",
|
||||
"Overload signature is not compatible with function definition.": "Overload signature is not compatible with function definition.",
|
||||
"Overload signature is not compatible with function definition:{NL}{0}": "Overload signature is not compatible with function definition:{NL}{0}",
|
||||
"Overload signatures must all be public or private.": "Overload signatures must all be public or private.",
|
||||
"Overload signatures must all be exported or local.": "Overload signatures must all be exported or local.",
|
||||
"Overload signatures must all be ambient or non-ambient.": "Overload signatures must all be ambient or non-ambient.",
|
||||
"Overload signatures must all be optional or required.": "Overload signatures must all be optional or required.",
|
||||
"Specialized overload signature is not subtype of any non-specialized signature.": "Specialized overload signature is not subtype of any non-specialized signature.",
|
||||
"'this' cannot be referenced in constructor arguments.": "'this' cannot be referenced in constructor arguments.",
|
||||
"Static member cannot be accessed off an instance variable.": "Static member cannot be accessed off an instance variable.",
|
||||
"Instance member cannot be accessed off a class.": "Instance member cannot be accessed off a class.",
|
||||
"Untyped function calls may not accept type arguments.": "Untyped function calls may not accept type arguments.",
|
||||
"Non-generic functions may not accept type arguments.": "Non-generic functions may not accept type arguments.",
|
||||
"A generic type may not reference itself with a wrapped form of its own type parameters.": "A generic type may not reference itself with a wrapped form of its own type parameters.",
|
||||
"Rest parameters must be array types.": "Rest parameters must be array types.",
|
||||
"Overload signature implementation cannot use specialized type.": "Overload signature implementation cannot use specialized type.",
|
||||
"Export assignments may only be used at the top-level of external modules.": "Export assignments may only be used at the top-level of external modules.",
|
||||
"Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules": "Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules",
|
||||
"Only public instance methods of the base class are accessible via the 'super' keyword.": "Only public instance methods of the base class are accessible via the 'super' keyword.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}'.": "All numerically named properties must be subtypes of numeric indexer type '{0}'.",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}": "All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}",
|
||||
"All named properties must be subtypes of string indexer type '{0}'.": "All named properties must be subtypes of string indexer type '{0}'.",
|
||||
"All named properties must be subtypes of string indexer type '{0}':{NL}{1}": "All named properties must be subtypes of string indexer type '{0}':{NL}{1}",
|
||||
"Generic type references must include all type arguments.": "Generic type references must include all type arguments.",
|
||||
"Default arguments are not allowed in an overload parameter.": "Default arguments are not allowed in an overload parameter.",
|
||||
"Overloads cannot differ only by return type.": "Overloads cannot differ only by return type.",
|
||||
"Function expression declared a non-void return type, but has no return expression.": "Function expression declared a non-void return type, but has no return expression.",
|
||||
"Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.": "Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.",
|
||||
"Could not find symbol '{0}' in module '{1}'.": "Could not find symbol '{0}' in module '{1}'.",
|
||||
"Unable to resolve module reference '{0}'.": "Unable to resolve module reference '{0}'.",
|
||||
"Could not find module '{0}' in module '{1}'.": "Could not find module '{0}' in module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.",
|
||||
"Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.": "Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.",
|
||||
"Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.": "Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.",
|
||||
"Type '{0}' is missing property '{1}' from type '{2}'.": "Type '{0}' is missing property '{1}' from type '{2}'.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible.": "Types of property '{0}' of types '{1}' and '{2}' are incompatible.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}": "Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}",
|
||||
"Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.": "Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.",
|
||||
"Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.": "Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.",
|
||||
"Types '{0}' and '{1}' define property '{2}' as private.": "Types '{0}' and '{1}' define property '{2}' as private.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible.": "Call signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a call signature, but type '{1}' lacks one.": "Type '{0}' requires a call signature, but type '{1}' lacks one.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible.": "Construct signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a construct signature, but type '{1}' lacks one.": "Type '{0}' requires a construct signature, but type '{1}' lacks one.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible.": "Index signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Call signature expects {0} or fewer parameters.": "Call signature expects {0} or fewer parameters.",
|
||||
"Could not apply type '{0}' to argument {1} which is of type '{2}'.": "Could not apply type '{0}' to argument {1} which is of type '{2}'.",
|
||||
"Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}",
|
||||
"Type reference cannot refer to container '{0}'.": "Type reference cannot refer to container '{0}'.",
|
||||
"Type reference must refer to type.": "Type reference must refer to type.",
|
||||
"Enums with multiple declarations must provide an initializer for the first enum element.": "Enums with multiple declarations must provide an initializer for the first enum element.",
|
||||
" (+ {0} overload(s))": " (+ {0} overload(s))",
|
||||
"Current host does not support '{0}' option.": "Current host does not support '{0}' option.",
|
||||
"ECMAScript target version '{0}' not supported. Using default '{1}' code generation.": "ECMAScript target version '{0}' not supported. Using default '{1}' code generation.",
|
||||
"Module code generation '{0}' not supported.": "Module code generation '{0}' not supported.",
|
||||
"Could not find file: '{0}'.": "Could not find file: '{0}'.",
|
||||
"A file cannot have a reference to itself.": "A file cannot have a reference to itself.",
|
||||
"Cannot resolve referenced file: '{0}'.": "Cannot resolve referenced file: '{0}'.",
|
||||
"Cannot find the common subdirectory path for the input files.": "Cannot find the common subdirectory path for the input files.",
|
||||
"Cannot compile external modules when emitting into single file.": "Cannot compile external modules when emitting into single file.",
|
||||
"Emit Error: {0}.": "Emit Error: {0}.",
|
||||
"Cannot read file '{0}': {1}": "Cannot read file '{0}': {1}",
|
||||
"Unsupported file encoding.": "Unsupported file encoding.",
|
||||
"Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.": "Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.",
|
||||
"Unsupported locale: '{0}'.": "Unsupported locale: '{0}'.",
|
||||
"Execution Failed.{NL}": "Execution Failed.{NL}",
|
||||
"Should not emit a type query": "Should not emit a type query",
|
||||
"Should not emit a type reference": "Should not emit a type reference",
|
||||
"Invalid call to 'up'": "Invalid call to 'up'",
|
||||
"Invalid call to 'down'": "Invalid call to 'down'",
|
||||
"Base64 value '{0}' finished with a continuation bit": "Base64 value '{0}' finished with a continuation bit",
|
||||
"Key was already in table": "Key was already in table",
|
||||
"Unknown option '{0}'": "Unknown option '{0}'",
|
||||
"Expected {0} arguments to message, got {1} instead": "Expected {0} arguments to message, got {1} instead",
|
||||
"Expected the message '{0}' to have {1} arguments, but it had {2}": "Expected the message '{0}' to have {1} arguments, but it had {2}",
|
||||
"Invalid argument: {0}. {1}": "Invalid argument: {0}. {1}",
|
||||
"Invalid argument: {0}.": "Invalid argument: {0}.",
|
||||
"Argument out of range: {0}.": "Argument out of range: {0}.",
|
||||
"Argument null: {0}.": "Argument null: {0}.",
|
||||
"Operation not implemented properly by subclass.": "Operation not implemented properly by subclass.",
|
||||
"Not yet implemented.": "Not yet implemented.",
|
||||
"Invalid operation: {0}": "Invalid operation: {0}",
|
||||
"Invalid operation.": "Invalid operation.",
|
||||
"Could not delete file '{0}'": "Could not delete file '{0}'",
|
||||
"Could not create directory '{0}'": "Could not create directory '{0}'",
|
||||
"Error while executing file '{0}': ": "Error while executing file '{0}': ",
|
||||
"Cannot compile external modules unless the '--module' flag is provided.": "Cannot compile external modules unless the '--module' flag is provided.",
|
||||
"Option mapRoot cannot be specified without specifying sourcemap option.": "Option mapRoot cannot be specified without specifying sourcemap option.",
|
||||
"Option sourceRoot cannot be specified without specifying sourcemap option.": "Option sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.": "Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Concatenate and emit output to single file | Redirect output structure to the directory": "Concatenate and emit output to single file | Redirect output structure to the directory",
|
||||
"Generates corresponding {0} file": "Generates corresponding {0} file",
|
||||
"Specifies the location where debugger should locate map files instead of generated locations.": "Specifies the location where debugger should locate map files instead of generated locations.",
|
||||
"Specifies the location where debugger should locate TypeScript files instead of source locations.": "Specifies the location where debugger should locate TypeScript files instead of source locations.",
|
||||
"Watch input files": "Watch input files",
|
||||
"Do not emit comments to output": "Do not emit comments to output",
|
||||
"Skip resolution and preprocessing": "Skip resolution and preprocessing",
|
||||
"Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"": "Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"",
|
||||
"Specify module code generation: \"{0}\" or \"{1}\"": "Specify module code generation: \"{0}\" or \"{1}\"",
|
||||
"Print this message": "Print this message",
|
||||
"Print the compiler's version: {0}": "Print the compiler's version: {0}",
|
||||
"Allow use of deprecated \"{0}\" keyword when referencing an external module": "Allow use of deprecated \"{0}\" keyword when referencing an external module",
|
||||
"Specify locale for errors and messages. For example '{0}' or '{1}'": "Specify locale for errors and messages. For example '{0}' or '{1}'",
|
||||
"Syntax: {0}": "Syntax: {0}",
|
||||
"options": "options",
|
||||
"file": "file",
|
||||
"Examples:": "Examples:",
|
||||
"Options:": "Options:",
|
||||
"Insert command line options and files from a file.": "Insert command line options and files from a file.",
|
||||
"Version {0}": "Version {0}",
|
||||
"Use the '{0}' flag to see options": "Use the '{0}' flag to see options",
|
||||
"{NL}Recompiling ({0}):": "{NL}Recompiling ({0}):",
|
||||
"STRING": "STRING",
|
||||
"KIND": "KIND",
|
||||
"FILE|DIRECTORY": "FILE|DIRECTORY",
|
||||
"VERSION": "VERSION",
|
||||
"LOCATION": "LOCATION",
|
||||
"This version of the Javascript runtime does not support the '{0}' function.": "This version of the Javascript runtime does not support the '{0}' function.",
|
||||
"Looking up path for identifier token did not result in an identifer.": "Looking up path for identifier token did not result in an identifer.",
|
||||
"Unknown rule": "Unknown rule",
|
||||
"Invalid line number ({0})": "Invalid line number ({0})",
|
||||
"Warn on expressions and declarations with an implied 'any' type.": "Warn on expressions and declarations with an implied 'any' type.",
|
||||
"Variable '{0}' implicitly has an 'any' type.": "Variable '{0}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of '{1}' implicitly has an 'any' type.": "Parameter '{0}' of '{1}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of function type implicitly has an 'any' type.": "Parameter '{0}' of function type implicitly has an 'any' type.",
|
||||
"Member '{0}' of object type implicitly has an 'any' type.": "Member '{0}' of object type implicitly has an 'any' type.",
|
||||
"\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.": "\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.",
|
||||
"'{0}', which lacks return-type annotation, implicitly has an 'any' return type.": "'{0}', which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Function expression, which lacks return-type annotation, implicitly has an 'any' return type.": "Function expression, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Parameter '{0}' of lambda function implicitly has an 'any' type.": "Parameter '{0}' of lambda function implicitly has an 'any' type.",
|
||||
"Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.": "Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.": "Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Array Literal implicitly has an 'any' type from widening.": "Array Literal implicitly has an 'any' type from widening."
|
||||
}
|
||||
373
bin/resources/zh/tw/diagnosticMessages.generated.json
Normal file
373
bin/resources/zh/tw/diagnosticMessages.generated.json
Normal file
@ -0,0 +1,373 @@
|
||||
{
|
||||
"error TS{0}: {1}": "error TS{0}: {1}",
|
||||
"warning TS{0}: {1}": "warning TS{0}: {1}",
|
||||
"Unrecognized escape sequence.": "Unrecognized escape sequence.",
|
||||
"Unexpected character {0}.": "Unexpected character {0}.",
|
||||
"Missing close quote character.": "Missing close quote character.",
|
||||
"Identifier expected.": "Identifier expected.",
|
||||
"'{0}' keyword expected.": "'{0}' keyword expected.",
|
||||
"'{0}' expected.": "'{0}' expected.",
|
||||
"Identifier expected; '{0}' is a keyword.": "Identifier expected; '{0}' is a keyword.",
|
||||
"Automatic semicolon insertion not allowed.": "Automatic semicolon insertion not allowed.",
|
||||
"Unexpected token; '{0}' expected.": "Unexpected token; '{0}' expected.",
|
||||
"Trailing separator not allowed.": "Trailing separator not allowed.",
|
||||
"'*/' expected.": "'*/' expected.",
|
||||
"'public' or 'private' modifier must precede 'static'.": "'public' or 'private' modifier must precede 'static'.",
|
||||
"Unexpected token.": "Unexpected token.",
|
||||
"Catch clause parameter cannot have a type annotation.": "Catch clause parameter cannot have a type annotation.",
|
||||
"Rest parameter must be last in list.": "Rest parameter must be last in list.",
|
||||
"Parameter cannot have question mark and initializer.": "Parameter cannot have question mark and initializer.",
|
||||
"Required parameter cannot follow optional parameter.": "Required parameter cannot follow optional parameter.",
|
||||
"Index signatures cannot have rest parameters.": "Index signatures cannot have rest parameters.",
|
||||
"Index signature parameter cannot have accessibility modifiers.": "Index signature parameter cannot have accessibility modifiers.",
|
||||
"Index signature parameter cannot have a question mark.": "Index signature parameter cannot have a question mark.",
|
||||
"Index signature parameter cannot have an initializer.": "Index signature parameter cannot have an initializer.",
|
||||
"Index signature must have a type annotation.": "Index signature must have a type annotation.",
|
||||
"Index signature parameter must have a type annotation.": "Index signature parameter must have a type annotation.",
|
||||
"Index signature parameter type must be 'string' or 'number'.": "Index signature parameter type must be 'string' or 'number'.",
|
||||
"'extends' clause already seen.": "'extends' clause already seen.",
|
||||
"'extends' clause must precede 'implements' clause.": "'extends' clause must precede 'implements' clause.",
|
||||
"Classes can only extend a single class.": "Classes can only extend a single class.",
|
||||
"'implements' clause already seen.": "'implements' clause already seen.",
|
||||
"Accessibility modifier already seen.": "Accessibility modifier already seen.",
|
||||
"'{0}' modifier must precede '{1}' modifier.": "'{0}' modifier must precede '{1}' modifier.",
|
||||
"'{0}' modifier already seen.": "'{0}' modifier already seen.",
|
||||
"'{0}' modifier cannot appear on a class element.": "'{0}' modifier cannot appear on a class element.",
|
||||
"Interface declaration cannot have 'implements' clause.": "Interface declaration cannot have 'implements' clause.",
|
||||
"'super' invocation cannot have type arguments.": "'super' invocation cannot have type arguments.",
|
||||
"Only ambient modules can use quoted names.": "Only ambient modules can use quoted names.",
|
||||
"Statements are not allowed in ambient contexts.": "Statements are not allowed in ambient contexts.",
|
||||
"Implementations are not allowed in ambient contexts.": "Implementations are not allowed in ambient contexts.",
|
||||
"'declare' modifier not allowed for code already in an ambient context.": "'declare' modifier not allowed for code already in an ambient context.",
|
||||
"Initializers are not allowed in ambient contexts.": "Initializers are not allowed in ambient contexts.",
|
||||
"Parameter property declarations can only be used in constructors.": "Parameter property declarations can only be used in constructors.",
|
||||
"Function implementation expected.": "Function implementation expected.",
|
||||
"Constructor implementation expected.": "Constructor implementation expected.",
|
||||
"Function overload name must be '{0}'.": "Function overload name must be '{0}'.",
|
||||
"'{0}' modifier cannot appear on a module element.": "'{0}' modifier cannot appear on a module element.",
|
||||
"'declare' modifier cannot appear on an interface declaration.": "'declare' modifier cannot appear on an interface declaration.",
|
||||
"'declare' modifier required for top level element.": "'declare' modifier required for top level element.",
|
||||
"Rest parameter cannot be optional.": "Rest parameter cannot be optional.",
|
||||
"Rest parameter cannot have an initializer.": "Rest parameter cannot have an initializer.",
|
||||
"'set' accessor must have one and only one parameter.": "'set' accessor must have one and only one parameter.",
|
||||
"'set' accessor parameter cannot have accessibility modifier.": "'set' accessor parameter cannot have accessibility modifier.",
|
||||
"'set' accessor parameter cannot be optional.": "'set' accessor parameter cannot be optional.",
|
||||
"'set' accessor parameter cannot have an initializer.": "'set' accessor parameter cannot have an initializer.",
|
||||
"'set' accessor cannot have rest parameter.": "'set' accessor cannot have rest parameter.",
|
||||
"'get' accessor cannot have parameters.": "'get' accessor cannot have parameters.",
|
||||
"Modifiers cannot appear here.": "Modifiers cannot appear here.",
|
||||
"Accessors are only available when targeting ECMAScript 5 and higher.": "Accessors are only available when targeting ECMAScript 5 and higher.",
|
||||
"Class name cannot be '{0}'.": "Class name cannot be '{0}'.",
|
||||
"Interface name cannot be '{0}'.": "Interface name cannot be '{0}'.",
|
||||
"Enum name cannot be '{0}'.": "Enum name cannot be '{0}'.",
|
||||
"Module name cannot be '{0}'.": "Module name cannot be '{0}'.",
|
||||
"Enum member must have initializer.": "Enum member must have initializer.",
|
||||
"Export assignment cannot be used in internal modules.": "Export assignment cannot be used in internal modules.",
|
||||
"Export assignment not allowed in module with exported element.": "Export assignment not allowed in module with exported element.",
|
||||
"Module cannot have multiple export assignments.": "Module cannot have multiple export assignments.",
|
||||
"Ambient enum elements can only have integer literal initializers.": "Ambient enum elements can only have integer literal initializers.",
|
||||
"module, class, interface, enum, import or statement": "module, class, interface, enum, import or statement",
|
||||
"constructor, function, accessor or variable": "constructor, function, accessor or variable",
|
||||
"statement": "statement",
|
||||
"case or default clause": "case or default clause",
|
||||
"identifier": "identifier",
|
||||
"call, construct, index, property or function signature": "call, construct, index, property or function signature",
|
||||
"expression": "expression",
|
||||
"type name": "type name",
|
||||
"property or accessor": "property or accessor",
|
||||
"parameter": "parameter",
|
||||
"type": "type",
|
||||
"type parameter": "type parameter",
|
||||
"'declare' modifier not allowed on import declaration.": "'declare' modifier not allowed on import declaration.",
|
||||
"Function overload must be static": "Function overload must be static",
|
||||
"Function overload must not be static": "Function overload must not be static",
|
||||
"Duplicate identifier '{0}'.": "Duplicate identifier '{0}'.",
|
||||
"The name '{0}' does not exist in the current scope.": "The name '{0}' does not exist in the current scope.",
|
||||
"The name '{0}' does not refer to a value.": "The name '{0}' does not refer to a value.",
|
||||
"'super' can only be used inside a class instance method.": "'super' can only be used inside a class instance method.",
|
||||
"The left-hand side of an assignment expression must be a variable, property or indexer.": "The left-hand side of an assignment expression must be a variable, property or indexer.",
|
||||
"Value of type '{0}' is not callable. Did you mean to include 'new'?": "Value of type '{0}' is not callable. Did you mean to include 'new'?",
|
||||
"Value of type '{0}' is not callable.": "Value of type '{0}' is not callable.",
|
||||
"Value of type '{0}' is not newable.": "Value of type '{0}' is not newable.",
|
||||
"Value of type '{0}' is not indexable by type '{1}'.": "Value of type '{0}' is not indexable by type '{1}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}'.": "Operator '{0}' cannot be applied to types '{1}' and '{2}'.",
|
||||
"Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}": "Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}",
|
||||
"Cannot convert '{0}' to '{1}'.": "Cannot convert '{0}' to '{1}'.",
|
||||
"Cannot convert '{0}' to '{1}':{NL}{2}": "Cannot convert '{0}' to '{1}':{NL}{2}",
|
||||
"Expected var, class, interface, or module.": "Expected var, class, interface, or module.",
|
||||
"Operator '{0}' cannot be applied to type '{1}'.": "Operator '{0}' cannot be applied to type '{1}'.",
|
||||
"Getter '{0}' already declared.": "Getter '{0}' already declared.",
|
||||
"Setter '{0}' already declared.": "Setter '{0}' already declared.",
|
||||
"Accessors cannot have type parameters.": "Accessors cannot have type parameters.",
|
||||
"Exported class '{0}' extends private class '{1}'.": "Exported class '{0}' extends private class '{1}'.",
|
||||
"Exported class '{0}' implements private interface '{1}'.": "Exported class '{0}' implements private interface '{1}'.",
|
||||
"Exported interface '{0}' extends private interface '{1}'.": "Exported interface '{0}' extends private interface '{1}'.",
|
||||
"Exported class '{0}' extends class from inaccessible module {1}.": "Exported class '{0}' extends class from inaccessible module {1}.",
|
||||
"Exported class '{0}' implements interface from inaccessible module {1}.": "Exported class '{0}' implements interface from inaccessible module {1}.",
|
||||
"Exported interface '{0}' extends interface from inaccessible module {1}.": "Exported interface '{0}' extends interface from inaccessible module {1}.",
|
||||
"Public static property '{0}' of exported class has or is using private type '{1}'.": "Public static property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Public property '{0}' of exported class has or is using private type '{1}'.": "Public property '{0}' of exported class has or is using private type '{1}'.",
|
||||
"Property '{0}' of exported interface has or is using private type '{1}'.": "Property '{0}' of exported interface has or is using private type '{1}'.",
|
||||
"Exported variable '{0}' has or is using private type '{1}'.": "Exported variable '{0}' has or is using private type '{1}'.",
|
||||
"Public static property '{0}' of exported class is using inaccessible module {1}.": "Public static property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Public property '{0}' of exported class is using inaccessible module {1}.": "Public property '{0}' of exported class is using inaccessible module {1}.",
|
||||
"Property '{0}' of exported interface is using inaccessible module {1}.": "Property '{0}' of exported interface is using inaccessible module {1}.",
|
||||
"Exported variable '{0}' is using inaccessible module {1}.": "Exported variable '{0}' is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor from exported class has or is using private type '{1}'.": "Parameter '{0}' of constructor from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.": "Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.": "Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public static method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public static method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of public method from exported class has or is using private type '{1}'.": "Parameter '{0}' of public method from exported class has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of method from exported interface has or is using private type '{1}'.": "Parameter '{0}' of method from exported interface has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of exported function has or is using private type '{1}'.": "Parameter '{0}' of exported function has or is using private type '{1}'.",
|
||||
"Parameter '{0}' of constructor from exported class is using inaccessible module {1}.": "Parameter '{0}' of constructor from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.": "Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.": "Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of call signature from exported interface is using inaccessible module {1}": "Parameter '{0}' of call signature from exported interface is using inaccessible module {1}",
|
||||
"Parameter '{0}' of public static method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public static method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of public method from exported class is using inaccessible module {1}.": "Parameter '{0}' of public method from exported class is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of method from exported interface is using inaccessible module {1}.": "Parameter '{0}' of method from exported interface is using inaccessible module {1}.",
|
||||
"Parameter '{0}' of exported function is using inaccessible module {1}.": "Parameter '{0}' of exported function is using inaccessible module {1}.",
|
||||
"Return type of public static property getter from exported class has or is using private type '{0}'.": "Return type of public static property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of public property getter from exported class has or is using private type '{0}'.": "Return type of public property getter from exported class has or is using private type '{0}'.",
|
||||
"Return type of constructor signature from exported interface has or is using private type '{0}'.": "Return type of constructor signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of call signature from exported interface has or is using private type '{0}'.": "Return type of call signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of index signature from exported interface has or is using private type '{0}'.": "Return type of index signature from exported interface has or is using private type '{0}'.",
|
||||
"Return type of public static method from exported class has or is using private type '{0}'.": "Return type of public static method from exported class has or is using private type '{0}'.",
|
||||
"Return type of public method from exported class has or is using private type '{0}'.": "Return type of public method from exported class has or is using private type '{0}'.",
|
||||
"Return type of method from exported interface has or is using private type '{0}'.": "Return type of method from exported interface has or is using private type '{0}'.",
|
||||
"Return type of exported function has or is using private type '{0}'.": "Return type of exported function has or is using private type '{0}'.",
|
||||
"Return type of public static property getter from exported class is using inaccessible module {0}.": "Return type of public static property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of public property getter from exported class is using inaccessible module {0}.": "Return type of public property getter from exported class is using inaccessible module {0}.",
|
||||
"Return type of constructor signature from exported interface is using inaccessible module {0}.": "Return type of constructor signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of call signature from exported interface is using inaccessible module {0}.": "Return type of call signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of index signature from exported interface is using inaccessible module {0}.": "Return type of index signature from exported interface is using inaccessible module {0}.",
|
||||
"Return type of public static method from exported class is using inaccessible module {0}.": "Return type of public static method from exported class is using inaccessible module {0}.",
|
||||
"Return type of public method from exported class is using inaccessible module {0}.": "Return type of public method from exported class is using inaccessible module {0}.",
|
||||
"Return type of method from exported interface is using inaccessible module {0}.": "Return type of method from exported interface is using inaccessible module {0}.",
|
||||
"Return type of exported function is using inaccessible module {0}.": "Return type of exported function is using inaccessible module {0}.",
|
||||
"'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.": "'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.",
|
||||
"A parameter list must follow a generic type argument list. '(' expected.": "A parameter list must follow a generic type argument list. '(' expected.",
|
||||
"Multiple constructor implementations are not allowed.": "Multiple constructor implementations are not allowed.",
|
||||
"Unable to resolve external module '{0}'.": "Unable to resolve external module '{0}'.",
|
||||
"Module cannot be aliased to a non-module type.": "Module cannot be aliased to a non-module type.",
|
||||
"A class may only extend another class.": "A class may only extend another class.",
|
||||
"A class may only implement another class or interface.": "A class may only implement another class or interface.",
|
||||
"An interface may only extend another class or interface.": "An interface may only extend another class or interface.",
|
||||
"An interface cannot implement another type.": "An interface cannot implement another type.",
|
||||
"Unable to resolve type.": "Unable to resolve type.",
|
||||
"Unable to resolve type of '{0}'.": "Unable to resolve type of '{0}'.",
|
||||
"Unable to resolve type parameter constraint.": "Unable to resolve type parameter constraint.",
|
||||
"Type parameter constraint cannot be a primitive type.": "Type parameter constraint cannot be a primitive type.",
|
||||
"Supplied parameters do not match any signature of call target.": "Supplied parameters do not match any signature of call target.",
|
||||
"Supplied parameters do not match any signature of call target:{NL}{0}": "Supplied parameters do not match any signature of call target:{NL}{0}",
|
||||
"Invalid 'new' expression.": "Invalid 'new' expression.",
|
||||
"Call signatures used in a 'new' expression must have a 'void' return type.": "Call signatures used in a 'new' expression must have a 'void' return type.",
|
||||
"Could not select overload for 'new' expression.": "Could not select overload for 'new' expression.",
|
||||
"Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.": "Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.",
|
||||
"Could not select overload for 'call' expression.": "Could not select overload for 'call' expression.",
|
||||
"Cannot invoke an expression whose type lacks a call signature.": "Cannot invoke an expression whose type lacks a call signature.",
|
||||
"Calls to 'super' are only valid inside a class.": "Calls to 'super' are only valid inside a class.",
|
||||
"Generic type '{0}' requires {1} type argument(s).": "Generic type '{0}' requires {1} type argument(s).",
|
||||
"Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.": "Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.",
|
||||
"Type of array literal cannot be determined. Best common type could not be found for array elements.": "Type of array literal cannot be determined. Best common type could not be found for array elements.",
|
||||
"Could not find enclosing symbol for dotted name '{0}'.": "Could not find enclosing symbol for dotted name '{0}'.",
|
||||
"The property '{0}' does not exist on value of type '{1}'.": "The property '{0}' does not exist on value of type '{1}'.",
|
||||
"Could not find symbol '{0}'.": "Could not find symbol '{0}'.",
|
||||
"'get' and 'set' accessor must have the same type.": "'get' and 'set' accessor must have the same type.",
|
||||
"'this' cannot be referenced in current location.": "'this' cannot be referenced in current location.",
|
||||
"Static methods cannot reference class type parameters.": "Static methods cannot reference class type parameters.",
|
||||
"Class '{0}' is recursively referenced as a base type of itself.": "Class '{0}' is recursively referenced as a base type of itself.",
|
||||
"Interface '{0}' is recursively referenced as a base type of itself.": "Interface '{0}' is recursively referenced as a base type of itself.",
|
||||
"'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.": "'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.",
|
||||
"'super' cannot be referenced in non-derived classes.": "'super' cannot be referenced in non-derived classes.",
|
||||
"A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.": "A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.",
|
||||
"Constructors for derived classes must contain a 'super' call.": "Constructors for derived classes must contain a 'super' call.",
|
||||
"Super calls are not permitted outside constructors or in local functions inside constructors.": "Super calls are not permitted outside constructors or in local functions inside constructors.",
|
||||
"'{0}.{1}' is inaccessible.": "'{0}.{1}' is inaccessible.",
|
||||
"'this' cannot be referenced within module bodies.": "'this' cannot be referenced within module bodies.",
|
||||
"Invalid '+' expression - types not known to support the addition operator.": "Invalid '+' expression - types not known to support the addition operator.",
|
||||
"The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": "The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.",
|
||||
"The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.": "The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.",
|
||||
"Variable declarations of a 'for' statement cannot use a type annotation.": "Variable declarations of a 'for' statement cannot use a type annotation.",
|
||||
"Variable declarations of a 'for' statement must be of types 'string' or 'any'.": "Variable declarations of a 'for' statement must be of types 'string' or 'any'.",
|
||||
"The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.": "The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'in' expression must be of types 'string' or 'any'.": "The left-hand side of an 'in' expression must be of types 'string' or 'any'.",
|
||||
"The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.": "The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.": "The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.",
|
||||
"The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.": "The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.",
|
||||
"Setters cannot return a value.": "Setters cannot return a value.",
|
||||
"Tried to query type of uninitialized module '{0}'.": "Tried to query type of uninitialized module '{0}'.",
|
||||
"Tried to set variable type to uninitialized module type '{0}'.": "Tried to set variable type to uninitialized module type '{0}'.",
|
||||
"Function '{0}' declared a non-void return type, but has no return expression.": "Function '{0}' declared a non-void return type, but has no return expression.",
|
||||
"Getters must return a value.": "Getters must return a value.",
|
||||
"Getter and setter accessors do not agree in visibility.": "Getter and setter accessors do not agree in visibility.",
|
||||
"Invalid left-hand side of assignment expression.": "Invalid left-hand side of assignment expression.",
|
||||
"Function declared a non-void return type, but has no return expression.": "Function declared a non-void return type, but has no return expression.",
|
||||
"Cannot resolve return type reference.": "Cannot resolve return type reference.",
|
||||
"Constructors cannot have a return type of 'void'.": "Constructors cannot have a return type of 'void'.",
|
||||
"Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.": "Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.",
|
||||
"All symbols within a with block will be resolved to 'any'.": "All symbols within a with block will be resolved to 'any'.",
|
||||
"Import declarations in an internal module cannot reference an external module.": "Import declarations in an internal module cannot reference an external module.",
|
||||
"Class {0} declares interface {1} but does not implement it:{NL}{2}": "Class {0} declares interface {1} but does not implement it:{NL}{2}",
|
||||
"Class {0} declares class {1} as an interface but does not implement it:{NL}{2}": "Class {0} declares class {1} as an interface but does not implement it:{NL}{2}",
|
||||
"The operand of an increment or decrement operator must be a variable, property or indexer.": "The operand of an increment or decrement operator must be a variable, property or indexer.",
|
||||
"'this' cannot be referenced in static initializers in a class body.": "'this' cannot be referenced in static initializers in a class body.",
|
||||
"Class '{0}' cannot extend class '{1}':{NL}{2}": "Class '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend class '{1}':{NL}{2}": "Interface '{0}' cannot extend class '{1}':{NL}{2}",
|
||||
"Interface '{0}' cannot extend interface '{1}':{NL}{2}": "Interface '{0}' cannot extend interface '{1}':{NL}{2}",
|
||||
"Duplicate overload signature for '{0}'.": "Duplicate overload signature for '{0}'.",
|
||||
"Duplicate constructor overload signature.": "Duplicate constructor overload signature.",
|
||||
"Duplicate overload call signature.": "Duplicate overload call signature.",
|
||||
"Duplicate overload construct signature.": "Duplicate overload construct signature.",
|
||||
"Overload signature is not compatible with function definition.": "Overload signature is not compatible with function definition.",
|
||||
"Overload signature is not compatible with function definition:{NL}{0}": "Overload signature is not compatible with function definition:{NL}{0}",
|
||||
"Overload signatures must all be public or private.": "Overload signatures must all be public or private.",
|
||||
"Overload signatures must all be exported or local.": "Overload signatures must all be exported or local.",
|
||||
"Overload signatures must all be ambient or non-ambient.": "Overload signatures must all be ambient or non-ambient.",
|
||||
"Overload signatures must all be optional or required.": "Overload signatures must all be optional or required.",
|
||||
"Specialized overload signature is not subtype of any non-specialized signature.": "Specialized overload signature is not subtype of any non-specialized signature.",
|
||||
"'this' cannot be referenced in constructor arguments.": "'this' cannot be referenced in constructor arguments.",
|
||||
"Static member cannot be accessed off an instance variable.": "Static member cannot be accessed off an instance variable.",
|
||||
"Instance member cannot be accessed off a class.": "Instance member cannot be accessed off a class.",
|
||||
"Untyped function calls may not accept type arguments.": "Untyped function calls may not accept type arguments.",
|
||||
"Non-generic functions may not accept type arguments.": "Non-generic functions may not accept type arguments.",
|
||||
"A generic type may not reference itself with a wrapped form of its own type parameters.": "A generic type may not reference itself with a wrapped form of its own type parameters.",
|
||||
"Rest parameters must be array types.": "Rest parameters must be array types.",
|
||||
"Overload signature implementation cannot use specialized type.": "Overload signature implementation cannot use specialized type.",
|
||||
"Export assignments may only be used at the top-level of external modules.": "Export assignments may only be used at the top-level of external modules.",
|
||||
"Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules": "Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules",
|
||||
"Only public instance methods of the base class are accessible via the 'super' keyword.": "Only public instance methods of the base class are accessible via the 'super' keyword.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.",
|
||||
"Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}": "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}'.": "All numerically named properties must be subtypes of numeric indexer type '{0}'.",
|
||||
"All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}": "All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}",
|
||||
"All named properties must be subtypes of string indexer type '{0}'.": "All named properties must be subtypes of string indexer type '{0}'.",
|
||||
"All named properties must be subtypes of string indexer type '{0}':{NL}{1}": "All named properties must be subtypes of string indexer type '{0}':{NL}{1}",
|
||||
"Generic type references must include all type arguments.": "Generic type references must include all type arguments.",
|
||||
"Default arguments are not allowed in an overload parameter.": "Default arguments are not allowed in an overload parameter.",
|
||||
"Overloads cannot differ only by return type.": "Overloads cannot differ only by return type.",
|
||||
"Function expression declared a non-void return type, but has no return expression.": "Function expression declared a non-void return type, but has no return expression.",
|
||||
"Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.": "Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.",
|
||||
"Could not find symbol '{0}' in module '{1}'.": "Could not find symbol '{0}' in module '{1}'.",
|
||||
"Unable to resolve module reference '{0}'.": "Unable to resolve module reference '{0}'.",
|
||||
"Could not find module '{0}' in module '{1}'.": "Could not find module '{0}' in module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.": "Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.",
|
||||
"Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.": "Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.",
|
||||
"Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.": "Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.",
|
||||
"Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.": "Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.",
|
||||
"Type '{0}' is missing property '{1}' from type '{2}'.": "Type '{0}' is missing property '{1}' from type '{2}'.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible.": "Types of property '{0}' of types '{1}' and '{2}' are incompatible.",
|
||||
"Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}": "Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}",
|
||||
"Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.": "Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.",
|
||||
"Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.": "Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.",
|
||||
"Types '{0}' and '{1}' define property '{2}' as private.": "Types '{0}' and '{1}' define property '{2}' as private.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible.": "Call signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a call signature, but type '{1}' lacks one.": "Type '{0}' requires a call signature, but type '{1}' lacks one.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible.": "Construct signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Type '{0}' requires a construct signature, but type '{1}' lacks one.": "Type '{0}' requires a construct signature, but type '{1}' lacks one.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible.": "Index signatures of types '{0}' and '{1}' are incompatible.",
|
||||
"Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": "Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}",
|
||||
"Call signature expects {0} or fewer parameters.": "Call signature expects {0} or fewer parameters.",
|
||||
"Could not apply type '{0}' to argument {1} which is of type '{2}'.": "Could not apply type '{0}' to argument {1} which is of type '{2}'.",
|
||||
"Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.": "Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.",
|
||||
"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.": "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.",
|
||||
"Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}": "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}",
|
||||
"Type reference cannot refer to container '{0}'.": "Type reference cannot refer to container '{0}'.",
|
||||
"Type reference must refer to type.": "Type reference must refer to type.",
|
||||
"Enums with multiple declarations must provide an initializer for the first enum element.": "Enums with multiple declarations must provide an initializer for the first enum element.",
|
||||
" (+ {0} overload(s))": " (+ {0} overload(s))",
|
||||
"Current host does not support '{0}' option.": "Current host does not support '{0}' option.",
|
||||
"ECMAScript target version '{0}' not supported. Using default '{1}' code generation.": "ECMAScript target version '{0}' not supported. Using default '{1}' code generation.",
|
||||
"Module code generation '{0}' not supported.": "Module code generation '{0}' not supported.",
|
||||
"Could not find file: '{0}'.": "Could not find file: '{0}'.",
|
||||
"A file cannot have a reference to itself.": "A file cannot have a reference to itself.",
|
||||
"Cannot resolve referenced file: '{0}'.": "Cannot resolve referenced file: '{0}'.",
|
||||
"Cannot find the common subdirectory path for the input files.": "Cannot find the common subdirectory path for the input files.",
|
||||
"Cannot compile external modules when emitting into single file.": "Cannot compile external modules when emitting into single file.",
|
||||
"Emit Error: {0}.": "Emit Error: {0}.",
|
||||
"Cannot read file '{0}': {1}": "Cannot read file '{0}': {1}",
|
||||
"Unsupported file encoding.": "Unsupported file encoding.",
|
||||
"Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.": "Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.",
|
||||
"Unsupported locale: '{0}'.": "Unsupported locale: '{0}'.",
|
||||
"Execution Failed.{NL}": "Execution Failed.{NL}",
|
||||
"Should not emit a type query": "Should not emit a type query",
|
||||
"Should not emit a type reference": "Should not emit a type reference",
|
||||
"Invalid call to 'up'": "Invalid call to 'up'",
|
||||
"Invalid call to 'down'": "Invalid call to 'down'",
|
||||
"Base64 value '{0}' finished with a continuation bit": "Base64 value '{0}' finished with a continuation bit",
|
||||
"Key was already in table": "Key was already in table",
|
||||
"Unknown option '{0}'": "Unknown option '{0}'",
|
||||
"Expected {0} arguments to message, got {1} instead": "Expected {0} arguments to message, got {1} instead",
|
||||
"Expected the message '{0}' to have {1} arguments, but it had {2}": "Expected the message '{0}' to have {1} arguments, but it had {2}",
|
||||
"Invalid argument: {0}. {1}": "Invalid argument: {0}. {1}",
|
||||
"Invalid argument: {0}.": "Invalid argument: {0}.",
|
||||
"Argument out of range: {0}.": "Argument out of range: {0}.",
|
||||
"Argument null: {0}.": "Argument null: {0}.",
|
||||
"Operation not implemented properly by subclass.": "Operation not implemented properly by subclass.",
|
||||
"Not yet implemented.": "Not yet implemented.",
|
||||
"Invalid operation: {0}": "Invalid operation: {0}",
|
||||
"Invalid operation.": "Invalid operation.",
|
||||
"Could not delete file '{0}'": "Could not delete file '{0}'",
|
||||
"Could not create directory '{0}'": "Could not create directory '{0}'",
|
||||
"Error while executing file '{0}': ": "Error while executing file '{0}': ",
|
||||
"Cannot compile external modules unless the '--module' flag is provided.": "Cannot compile external modules unless the '--module' flag is provided.",
|
||||
"Option mapRoot cannot be specified without specifying sourcemap option.": "Option mapRoot cannot be specified without specifying sourcemap option.",
|
||||
"Option sourceRoot cannot be specified without specifying sourcemap option.": "Option sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.": "Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.",
|
||||
"Concatenate and emit output to single file | Redirect output structure to the directory": "Concatenate and emit output to single file | Redirect output structure to the directory",
|
||||
"Generates corresponding {0} file": "Generates corresponding {0} file",
|
||||
"Specifies the location where debugger should locate map files instead of generated locations.": "Specifies the location where debugger should locate map files instead of generated locations.",
|
||||
"Specifies the location where debugger should locate TypeScript files instead of source locations.": "Specifies the location where debugger should locate TypeScript files instead of source locations.",
|
||||
"Watch input files": "Watch input files",
|
||||
"Do not emit comments to output": "Do not emit comments to output",
|
||||
"Skip resolution and preprocessing": "Skip resolution and preprocessing",
|
||||
"Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"": "Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"",
|
||||
"Specify module code generation: \"{0}\" or \"{1}\"": "Specify module code generation: \"{0}\" or \"{1}\"",
|
||||
"Print this message": "Print this message",
|
||||
"Print the compiler's version: {0}": "Print the compiler's version: {0}",
|
||||
"Allow use of deprecated \"{0}\" keyword when referencing an external module": "Allow use of deprecated \"{0}\" keyword when referencing an external module",
|
||||
"Specify locale for errors and messages. For example '{0}' or '{1}'": "Specify locale for errors and messages. For example '{0}' or '{1}'",
|
||||
"Syntax: {0}": "Syntax: {0}",
|
||||
"options": "options",
|
||||
"file": "file",
|
||||
"Examples:": "Examples:",
|
||||
"Options:": "Options:",
|
||||
"Insert command line options and files from a file.": "Insert command line options and files from a file.",
|
||||
"Version {0}": "Version {0}",
|
||||
"Use the '{0}' flag to see options": "Use the '{0}' flag to see options",
|
||||
"{NL}Recompiling ({0}):": "{NL}Recompiling ({0}):",
|
||||
"STRING": "STRING",
|
||||
"KIND": "KIND",
|
||||
"FILE|DIRECTORY": "FILE|DIRECTORY",
|
||||
"VERSION": "VERSION",
|
||||
"LOCATION": "LOCATION",
|
||||
"This version of the Javascript runtime does not support the '{0}' function.": "This version of the Javascript runtime does not support the '{0}' function.",
|
||||
"Looking up path for identifier token did not result in an identifer.": "Looking up path for identifier token did not result in an identifer.",
|
||||
"Unknown rule": "Unknown rule",
|
||||
"Invalid line number ({0})": "Invalid line number ({0})",
|
||||
"Warn on expressions and declarations with an implied 'any' type.": "Warn on expressions and declarations with an implied 'any' type.",
|
||||
"Variable '{0}' implicitly has an 'any' type.": "Variable '{0}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of '{1}' implicitly has an 'any' type.": "Parameter '{0}' of '{1}' implicitly has an 'any' type.",
|
||||
"Parameter '{0}' of function type implicitly has an 'any' type.": "Parameter '{0}' of function type implicitly has an 'any' type.",
|
||||
"Member '{0}' of object type implicitly has an 'any' type.": "Member '{0}' of object type implicitly has an 'any' type.",
|
||||
"\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.": "\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.",
|
||||
"'{0}', which lacks return-type annotation, implicitly has an 'any' return type.": "'{0}', which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Function expression, which lacks return-type annotation, implicitly has an 'any' return type.": "Function expression, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Parameter '{0}' of lambda function implicitly has an 'any' type.": "Parameter '{0}' of lambda function implicitly has an 'any' type.",
|
||||
"Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.": "Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.": "Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.",
|
||||
"Array Literal implicitly has an 'any' type from widening.": "Array Literal implicitly has an 'any' type from widening."
|
||||
}
|
||||
62929
bin/tsc.js
Normal file
62929
bin/tsc.js
Normal file
File diff suppressed because one or more lines are too long
61516
bin/typescript.js
Normal file
61516
bin/typescript.js
Normal file
File diff suppressed because one or more lines are too long
69658
bin/typescriptServices.js
Normal file
69658
bin/typescriptServices.js
Normal file
File diff suppressed because one or more lines are too long
208
bin/winjs.d.ts
vendored
Normal file
208
bin/winjs.d.ts
vendored
Normal file
@ -0,0 +1,208 @@
|
||||
/* *****************************************************************************
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||
this file except in compliance with the License. You may obtain a copy of the
|
||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||
|
||||
See the Apache Version 2.0 License for specific language governing permissions
|
||||
and limitations under the License.
|
||||
***************************************************************************** */
|
||||
|
||||
declare module WinJS {
|
||||
function strictProcessing(): void;
|
||||
module Binding {
|
||||
function as(data: any): any;
|
||||
class List {
|
||||
constructor(data: any[]);
|
||||
public push(item: any): any;
|
||||
public indexOf(item: any): number;
|
||||
public splice(index: number, count: number, newelems: any[]): any[];
|
||||
public splice(index: number, count: number): any[];
|
||||
public splice(index: number): any[];
|
||||
public createFiltered(predicate: (x: any) => boolean): List;
|
||||
public createGrouped(keySelector: (x: any) => any, dataSelector: (x: any) => any): List;
|
||||
public groups: any;
|
||||
public dataSource: any;
|
||||
public getAt: any;
|
||||
}
|
||||
}
|
||||
module Namespace {
|
||||
var define: any;
|
||||
var defineWithParent: any;
|
||||
}
|
||||
module Class {
|
||||
function define(constructor: any, instanceMembers: any): any;
|
||||
function derive(baseClass: any, constructor: any, instanceMembers: any): any;
|
||||
function mix(constructor: any, mixin: any): any;
|
||||
}
|
||||
function xhr(options: { type?: string; url?: string; user?: string; password?: string; headers?: any; data?: any; responseType?: string; }): WinJS.Promise<XMLHttpRequest>;
|
||||
module Application {
|
||||
interface IOHelper {
|
||||
exists(filename: string): boolean;
|
||||
readText(fileName: string, def: string): WinJS.Promise<string>;
|
||||
readText(fileName: string): WinJS.Promise<string>;
|
||||
writeText(fileName: string, text: string): WinJS.Promise<void>;
|
||||
remove(fileName: string): WinJS.Promise<void>;
|
||||
}
|
||||
var local: IOHelper;
|
||||
var roaming: IOHelper;
|
||||
var onactivated: EventListener;
|
||||
var sessionState: any;
|
||||
interface ApplicationActivationEvent extends Event {
|
||||
detail: any;
|
||||
setPromise(p: Promise<any>): any;
|
||||
}
|
||||
function addEventListener(type: string, listener: EventListener, capture?: boolean): void;
|
||||
var oncheckpoint: EventListener;
|
||||
function start(): void;
|
||||
function stop(): void;
|
||||
}
|
||||
class Promise<T> {
|
||||
constructor(init: (c: any, e: any, p: any) => void);
|
||||
then<U>(success?: (value: T) => Promise<U>, error?: (error: any) => Promise<U>, progress?: (progress: any) => void): Promise<U>;
|
||||
then<U>(success?: (value: T) => Promise<U>, error?: (error: any) => U, progress?: (progress: any) => void): Promise<U>;
|
||||
then<U>(success?: (value: T) => U, error?: (error: any) => Promise<U>, progress?: (progress: any) => void): Promise<U>;
|
||||
then<U>(success?: (value: T) => U, error?: (error: any) => U, progress?: (progress: any) => void): Promise<U>;
|
||||
done<U>(success?: (value: T) => any, error?: (error: any) => any, progress?: (progress: any) => void): void;
|
||||
static join: any;
|
||||
static timeout: any;
|
||||
}
|
||||
module Navigation {
|
||||
var history: any;
|
||||
var canGoBack: boolean;
|
||||
var canGoForward: boolean;
|
||||
var location: string;
|
||||
var state: any;
|
||||
function addEventListener(type: string, listener: EventListener, capture: boolean): void;
|
||||
function back(): void;
|
||||
function forward(): void;
|
||||
function navigate(location: any, initialState: any);
|
||||
function navigate(location: any);
|
||||
function removeEventListener(type: string, listener: EventListener, capture: boolean): void;
|
||||
var onbeforenavigate: CustomEvent;
|
||||
var onnavigated: CustomEvent;
|
||||
var onnavigating: CustomEvent;
|
||||
}
|
||||
module Utilities {
|
||||
function markSupportedForProcessing(obj: any): void;
|
||||
enum Key {
|
||||
backspace,
|
||||
tab,
|
||||
enter,
|
||||
shift,
|
||||
ctrl,
|
||||
alt,
|
||||
pause,
|
||||
capsLock,
|
||||
escape,
|
||||
space,
|
||||
pageUp,
|
||||
pageDown,
|
||||
end,
|
||||
home,
|
||||
leftArrow,
|
||||
upArrow,
|
||||
rightArrow,
|
||||
downArrow,
|
||||
insert,
|
||||
deleteKey,
|
||||
num0,
|
||||
num1,
|
||||
num2,
|
||||
num3,
|
||||
num4,
|
||||
num5,
|
||||
num6,
|
||||
num7,
|
||||
num8,
|
||||
num9,
|
||||
a,
|
||||
b,
|
||||
c,
|
||||
d,
|
||||
e,
|
||||
f,
|
||||
g,
|
||||
h,
|
||||
i,
|
||||
j,
|
||||
k,
|
||||
l,
|
||||
m,
|
||||
n,
|
||||
o,
|
||||
p,
|
||||
q,
|
||||
r,
|
||||
s,
|
||||
t,
|
||||
u,
|
||||
v,
|
||||
w,
|
||||
x,
|
||||
y,
|
||||
z,
|
||||
leftWindows,
|
||||
rightWindows,
|
||||
numPad0,
|
||||
numPad1,
|
||||
numPad2,
|
||||
numPad3,
|
||||
numPad4,
|
||||
numPad5,
|
||||
numPad6,
|
||||
numPad7,
|
||||
numPad8,
|
||||
numPad9,
|
||||
multiply,
|
||||
add,
|
||||
subtract,
|
||||
decimalPoint,
|
||||
divide,
|
||||
f1,
|
||||
f2,
|
||||
f3,
|
||||
f4,
|
||||
f5,
|
||||
f6,
|
||||
f7,
|
||||
f8,
|
||||
f9,
|
||||
f10,
|
||||
f11,
|
||||
f12,
|
||||
numLock,
|
||||
scrollLock,
|
||||
semicolon,
|
||||
equal,
|
||||
comma,
|
||||
dash,
|
||||
period,
|
||||
forwardSlash,
|
||||
graveAccent,
|
||||
openBracket,
|
||||
backSlash,
|
||||
closeBracket,
|
||||
singleQuote
|
||||
}
|
||||
}
|
||||
module UI {
|
||||
var process: any;
|
||||
var processAll: any;
|
||||
var ListLayout: any;
|
||||
var GridLayout: any;
|
||||
var Pages: any;
|
||||
var Menu: any;
|
||||
var setOptions: any;
|
||||
}
|
||||
}
|
||||
|
||||
interface Element {
|
||||
winControl: any; // TODO: This should be control?
|
||||
}
|
||||
|
||||
14644
bin/winrt.d.ts
vendored
Normal file
14644
bin/winrt.d.ts
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
doc/TypeScript Language Specification.docx
Normal file
BIN
doc/TypeScript Language Specification.docx
Normal file
Binary file not shown.
BIN
doc/TypeScript Language Specification.pdf
Normal file
BIN
doc/TypeScript Language Specification.pdf
Normal file
Binary file not shown.
38
package.json
Normal file
38
package.json
Normal file
@ -0,0 +1,38 @@
|
||||
{
|
||||
"name": "typescript",
|
||||
"author": "Microsoft Corp.",
|
||||
"homepage": "http://typescriptlang.org/",
|
||||
"version": "1.0.3",
|
||||
"licenses": [
|
||||
{
|
||||
"type": "Apache License 2.0",
|
||||
"url": "http://typescript.codeplex.com/license"
|
||||
}
|
||||
],
|
||||
"description": "TypeScript is a language for application scale JavaScript development",
|
||||
"keywords": [
|
||||
"TypeScript",
|
||||
"Microsoft",
|
||||
"compiler",
|
||||
"language",
|
||||
"javascript"
|
||||
],
|
||||
"bugs": {
|
||||
"url" : "http://typescript.codeplex.com/workitem/list/basic"
|
||||
},
|
||||
"repository" : {
|
||||
"type" : "git",
|
||||
"url" : "https://git01.codeplex.com/typescript"
|
||||
},
|
||||
"preferGlobal" : true,
|
||||
"main" : "./bin/typescript.js",
|
||||
"bin" : {
|
||||
"tsc" : "./bin/tsc"
|
||||
},
|
||||
"engines" : {
|
||||
"node" : ">=0.8.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"jake": "latest"
|
||||
}
|
||||
}
|
||||
10
samples/amd/README.txt
Normal file
10
samples/amd/README.txt
Normal file
@ -0,0 +1,10 @@
|
||||
===== TypeScript Sample: AMD Module =====
|
||||
|
||||
=== Overview ===
|
||||
This sample shows a simple Typescript application using an AMD module.
|
||||
|
||||
=== Running ===
|
||||
tsc --module amd app.ts
|
||||
start default.htm
|
||||
|
||||
|
||||
8
samples/amd/app.css
Normal file
8
samples/amd/app.css
Normal file
@ -0,0 +1,8 @@
|
||||
body
|
||||
{
|
||||
font-family: 'Segoe UI', sans-serif
|
||||
}
|
||||
|
||||
span {
|
||||
font-style: italic
|
||||
}
|
||||
5
samples/amd/app.ts
Normal file
5
samples/amd/app.ts
Normal file
@ -0,0 +1,5 @@
|
||||
import model = require("greeter")
|
||||
|
||||
var el = document.getElementById('content');
|
||||
var greeter = new model.Greeter(el);
|
||||
greeter.start();
|
||||
15
samples/amd/default.htm
Normal file
15
samples/amd/default.htm
Normal file
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>TypeScript HTML App</title>
|
||||
<link rel="stylesheet" href="app.css" type="text/css" />
|
||||
<script data-main="app" type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.1/require.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>TypeScript HTML App</h1>
|
||||
|
||||
<div id="content"></div>
|
||||
</body>
|
||||
</html>
|
||||
25
samples/amd/greeter.ts
Normal file
25
samples/amd/greeter.ts
Normal file
@ -0,0 +1,25 @@
|
||||
export class Greeter
|
||||
{
|
||||
element: HTMLElement;
|
||||
span: HTMLElement;
|
||||
timerToken: number;
|
||||
|
||||
constructor (element: HTMLElement)
|
||||
{
|
||||
this.element = element;
|
||||
this.element.innerText += "The time is: ";
|
||||
this.span = document.createElement('span');
|
||||
this.element.appendChild(this.span);
|
||||
this.span.innerText = new Date().toUTCString();
|
||||
}
|
||||
|
||||
start()
|
||||
{
|
||||
this.timerToken = setInterval(() => this.span.innerText = new Date().toUTCString(), 500);
|
||||
}
|
||||
|
||||
stop()
|
||||
{
|
||||
clearTimeout(this.timerToken);
|
||||
}
|
||||
}
|
||||
11
samples/d3/README.txt
Normal file
11
samples/d3/README.txt
Normal file
@ -0,0 +1,11 @@
|
||||
===== TypeScript Sample: D3 =====
|
||||
|
||||
=== Overview ===
|
||||
|
||||
D3 visualization
|
||||
- Use of the D3 wrapper
|
||||
- Use of modules and interfaces
|
||||
|
||||
=== Running ===
|
||||
tsc data.ts
|
||||
start perf.html
|
||||
277
samples/d3/d3.d.ts
vendored
Normal file
277
samples/d3/d3.d.ts
vendored
Normal file
@ -0,0 +1,277 @@
|
||||
interface ID3Selectors {
|
||||
select: (selector: string) => ID3Selection;
|
||||
selectAll: (selector: string) => ID3Selection;
|
||||
}
|
||||
|
||||
interface ID3Base extends ID3Selectors {
|
||||
// Array Helpers
|
||||
ascending: (a: number, b: number) => number;
|
||||
descending: (a: number, b: number) => number;
|
||||
min<T, U>(arr: T[], map: (v: T) => U ): U;
|
||||
min<T>(arr: T[]): T;
|
||||
max<T, U>(arr: T[], map: (v: T) => U ): U;
|
||||
max<T>(arr: T[]): T;
|
||||
extent<T, U>(arr: T[], map: (v: T) => U): U[];
|
||||
extent<T>(arr: T[]): T[];
|
||||
quantile: (arr: number[], p: number) => number;
|
||||
bisectLeft<T>(arr: T[], x: T, low?: number, high?: number): number;
|
||||
bisect<T>(arr: T[], x: T, low?: number, high?: number): number;
|
||||
bisectRight<T>(arr: T[], x: T, low?: number, high?: number): number;
|
||||
|
||||
// Loading resources
|
||||
xhr: {
|
||||
(url: string, callback: (xhr: XMLHttpRequest) => void): void;
|
||||
(url: string, mime: string, callback: (xhr: XMLHttpRequest) => void): void;
|
||||
};
|
||||
text: {
|
||||
(url: string, callback: (response: string) => void): void;
|
||||
(url: string, mime: string, callback: (response: string) => void): void;
|
||||
};
|
||||
json: (url: string, callback: (response: any) => void) => void;
|
||||
xml: {
|
||||
(url: string, callback: (response: Document) => void): void;
|
||||
(url: string, mime: string, callback: (response: Document) => void): void;
|
||||
};
|
||||
html: (url: string, callback: (response: DocumentFragment) => void) => void;
|
||||
csv: {
|
||||
(url: string, callback: (response: any[]) => void);
|
||||
parse(string: string): any[];
|
||||
parseRows(string: string, accessor: (row: any[], index: number) => any): any;
|
||||
format(rows: any[]): string;
|
||||
};
|
||||
|
||||
time: ID3Time;
|
||||
scale: {
|
||||
linear(): ID3LinearScale;
|
||||
};
|
||||
interpolate: ID3BaseInterpolate;
|
||||
interpolateNumber: ID3BaseInterpolate;
|
||||
interpolateRound: ID3BaseInterpolate;
|
||||
interpolateString: ID3BaseInterpolate;
|
||||
interpolateRgb: ID3BaseInterpolate;
|
||||
interpolateHsl: ID3BaseInterpolate;
|
||||
interpolateArray: ID3BaseInterpolate;
|
||||
interpolateObject: ID3BaseInterpolate;
|
||||
interpolateTransform: ID3BaseInterpolate;
|
||||
layout: ID3Layout;
|
||||
svg: ID3Svg;
|
||||
random: ID3Random;
|
||||
}
|
||||
|
||||
interface ID3Selection extends ID3Selectors {
|
||||
attr: {
|
||||
(name: string): string;
|
||||
(name: string, value: any): ID3Selection;
|
||||
(name: string, valueFunction: (data: any, index: number) => any): ID3Selection;
|
||||
};
|
||||
|
||||
classed: {
|
||||
(name: string): string;
|
||||
(name: string, value: any): ID3Selection;
|
||||
(name: string, valueFunction: (data: any, index: number) => any): ID3Selection;
|
||||
};
|
||||
|
||||
style: {
|
||||
(name: string): string;
|
||||
(name: string, value: any, priority?: string): ID3Selection;
|
||||
(name: string, valueFunction: (data: any, index: number) => any, priority?: string): ID3Selection;
|
||||
};
|
||||
|
||||
property: {
|
||||
(name: string): void;
|
||||
(name: string, value: any): ID3Selection;
|
||||
(name: string, valueFunction: (data: any, index: number) => any): ID3Selection;
|
||||
};
|
||||
|
||||
text: {
|
||||
(): string;
|
||||
(value: any): ID3Selection;
|
||||
(valueFunction: (data: any, index: number) => any): ID3Selection;
|
||||
};
|
||||
|
||||
html: {
|
||||
(): string;
|
||||
(value: any): ID3Selection;
|
||||
(valueFunction: (data: any, index: number) => any): ID3Selection;
|
||||
};
|
||||
|
||||
append: (name: string) => ID3Selection;
|
||||
insert: (name: string, before: string) => ID3Selection;
|
||||
remove: () => ID3Selection;
|
||||
|
||||
data: {
|
||||
(values: (data: any, index: number) => any) : any;
|
||||
(values: any[], key?: (data: any, index: number) => any): ID3UpdateSelection;
|
||||
};
|
||||
|
||||
call(callback: (selection: ID3Selection) => void): ID3Selection;
|
||||
}
|
||||
|
||||
interface ID3EnterSelection {
|
||||
append: (name: string) => ID3Selection;
|
||||
insert: (name: string, before: string) => ID3Selection;
|
||||
select: (selector: string) => ID3Selection;
|
||||
empty: () => boolean;
|
||||
node: () => Node;
|
||||
}
|
||||
|
||||
interface ID3UpdateSelection extends ID3Selection {
|
||||
enter: () => ID3EnterSelection;
|
||||
update: () => ID3Selection;
|
||||
exit: () => ID3Selection;
|
||||
}
|
||||
|
||||
interface ID3Time {
|
||||
second: ID3Interval;
|
||||
minute: ID3Interval;
|
||||
hour: ID3Interval;
|
||||
day: ID3Interval;
|
||||
week: ID3Interval;
|
||||
sunday: ID3Interval;
|
||||
monday: ID3Interval;
|
||||
tuesday: ID3Interval;
|
||||
wednesday: ID3Interval;
|
||||
thursday: ID3Interval;
|
||||
friday: ID3Interval;
|
||||
saturday: ID3Interval;
|
||||
month: ID3Interval;
|
||||
year: ID3Interval;
|
||||
|
||||
seconds: ID3Range;
|
||||
minutes: ID3Range;
|
||||
hours: ID3Range;
|
||||
days: ID3Range;
|
||||
weeks: ID3Range;
|
||||
months: ID3Range;
|
||||
years: ID3Range;
|
||||
|
||||
sundays: ID3Range;
|
||||
mondays: ID3Range;
|
||||
tuesdays: ID3Range;
|
||||
wednesdays: ID3Range;
|
||||
thursdays: ID3Range;
|
||||
fridays: ID3Range;
|
||||
saturdays: ID3Range;
|
||||
format: {
|
||||
|
||||
(specifier: string): ID3TimeFormat;
|
||||
utc: (specifier: string) => ID3TimeFormat;
|
||||
iso: ID3TimeFormat;
|
||||
};
|
||||
|
||||
scale(): ID3TimeScale;
|
||||
}
|
||||
|
||||
interface ID3Range {
|
||||
(start: Date, end: Date, step?: number): Date[];
|
||||
}
|
||||
|
||||
interface ID3Interval {
|
||||
(date: Date): Date;
|
||||
floor: (date: Date) => Date;
|
||||
round: (date: Date) => Date;
|
||||
ceil: (date: Date) => Date;
|
||||
range: ID3Range;
|
||||
offset: (date: Date, step: number) => Date;
|
||||
utc: ID3Interval;
|
||||
}
|
||||
|
||||
interface ID3TimeFormat {
|
||||
(date: Date): string;
|
||||
parse: (string: string) => Date;
|
||||
}
|
||||
|
||||
interface ID3LinearScale {
|
||||
(value: number): number;
|
||||
invert(value: number): number;
|
||||
domain(numbers: any[]): ID3LinearScale;
|
||||
range: {
|
||||
(values: any[]): ID3LinearScale;
|
||||
(): any[];
|
||||
};
|
||||
rangeRound: (values: any[]) => ID3LinearScale;
|
||||
interpolate: {
|
||||
(): ID3Interpolate;
|
||||
(factory: ID3Interpolate): ID3LinearScale;
|
||||
};
|
||||
clamp(clamp: boolean): ID3LinearScale;
|
||||
nice(): ID3LinearScale;
|
||||
ticks(count: number): any[];
|
||||
tickFormat(count: number): (n: number) => string;
|
||||
copy: ID3LinearScale;
|
||||
}
|
||||
|
||||
interface ID3TimeScale {
|
||||
(value: Date): number;
|
||||
invert(value: number): Date;
|
||||
domain(numbers: any[]): ID3TimeScale;
|
||||
range: {
|
||||
(values: any[]): ID3TimeScale;
|
||||
(): any[];
|
||||
};
|
||||
rangeRound: (values: any[]) => ID3TimeScale;
|
||||
interpolate: {
|
||||
(): ID3Interpolate;
|
||||
(factory: ID3InterpolateFactory): ID3TimeScale;
|
||||
};
|
||||
clamp(clamp: boolean): ID3TimeScale;
|
||||
ticks: {
|
||||
(count: number): any[];
|
||||
(range: ID3Range, count: number): any[];
|
||||
};
|
||||
tickFormat(count: number): (n: number) => string;
|
||||
copy(): ID3TimeScale;
|
||||
}
|
||||
|
||||
interface ID3InterpolateFactory {
|
||||
(a: any, b: any): ID3BaseInterpolate;
|
||||
}
|
||||
interface ID3BaseInterpolate {
|
||||
(a: any, b: any): ID3Interpolate;
|
||||
}
|
||||
|
||||
interface ID3Interpolate {
|
||||
(t: number): number;
|
||||
}
|
||||
|
||||
interface ID3Layout {
|
||||
stack(): ID3StackLayout;
|
||||
}
|
||||
|
||||
interface ID3StackLayout {
|
||||
(layers: any[], index?: number): any[];
|
||||
values(accessor?: (d: any) => any): ID3StackLayout;
|
||||
offset(offset: string): ID3StackLayout;
|
||||
}
|
||||
|
||||
interface ID3Svg {
|
||||
axis(): ID3SvgAxis;
|
||||
}
|
||||
|
||||
interface ID3SvgAxis {
|
||||
(selection: ID3Selection): void;
|
||||
scale: {
|
||||
(): any;
|
||||
(scale: any): ID3SvgAxis;
|
||||
};
|
||||
|
||||
orient: {
|
||||
(): string;
|
||||
(orientation: string): ID3SvgAxis;
|
||||
};
|
||||
|
||||
ticks: {
|
||||
(count: number): ID3SvgAxis;
|
||||
(range: ID3Range, count?: number): ID3SvgAxis;
|
||||
};
|
||||
|
||||
tickSubdivide(count: number): ID3SvgAxis;
|
||||
tickSize(major?: number, minor?: number, end?: number): ID3SvgAxis;
|
||||
tickFormat(formatter: (value: any) => string): ID3SvgAxis;
|
||||
}
|
||||
|
||||
interface ID3Random {
|
||||
normal(mean?: number, deviation?: number): () => number;
|
||||
}
|
||||
|
||||
declare var d3: ID3Base;
|
||||
282
samples/d3/data.ts
Normal file
282
samples/d3/data.ts
Normal file
@ -0,0 +1,282 @@
|
||||
///<reference path="d3.d.ts" />
|
||||
"use strict";
|
||||
|
||||
interface IDataSeries {
|
||||
desc: string;
|
||||
data: IRun[];
|
||||
}
|
||||
|
||||
interface IRun {
|
||||
date: Date;
|
||||
pass: boolean;
|
||||
}
|
||||
|
||||
interface IPerfDataSeries {
|
||||
desc: string;
|
||||
data: IPerfRun[];
|
||||
}
|
||||
|
||||
interface IPerfRun {
|
||||
x: Date;
|
||||
y: number;
|
||||
}
|
||||
|
||||
module Chart {
|
||||
|
||||
export class Base {
|
||||
public iso8601 = d3.time.format('%Y-%m-%d');
|
||||
public chartWidth = 800;
|
||||
|
||||
constructor (public element) { }
|
||||
}
|
||||
|
||||
export class Bar extends Base {
|
||||
public element: ID3Selection;
|
||||
constructor(element: ID3Selection) {
|
||||
super(element);
|
||||
this.element = element;
|
||||
}
|
||||
|
||||
public chartHeight = 400;
|
||||
public chartWidth = 800;
|
||||
public legendItemHeight = 30;
|
||||
public legendWidth = 150;
|
||||
public colors = ['rgb(0, 113, 188)', 'rgb(0, 174, 239)', 'rgb(145, 0, 145)'];
|
||||
public xAxisHashHeight = 10;
|
||||
public layout = 'wiggle';
|
||||
|
||||
|
||||
public render(data: IPerfDataSeries[]) {
|
||||
|
||||
// Create stack layout
|
||||
var stackLayout = d3.layout.stack()
|
||||
.values(function(d) { return d.data })
|
||||
.offset(this.layout);
|
||||
|
||||
var stackData = stackLayout(data);
|
||||
|
||||
// Maximum measurement in the dataset
|
||||
var maxY = d3.max(stackData, (d) => d3.max<any, any>(d.data, (d) => d.y0 + d.y));
|
||||
|
||||
// Earliest day in the dataset
|
||||
var minX = d3.min(data, (d) => d3.min(d.data, (d) => d.x));
|
||||
|
||||
// All days in the dataset (from earliest day until now)
|
||||
var days = d3.time.days(minX, new Date());
|
||||
|
||||
// Area of the region containing the bars
|
||||
var areaWidth = this.chartWidth - this.legendWidth;
|
||||
|
||||
var barWidth = areaWidth / days.length;
|
||||
|
||||
// Create scales for X and Y axis (X based on dates, Y based on performance data)
|
||||
var x = d3.time.scale()
|
||||
.domain([minX, d3.time.day(d3.time.day.offset(new Date(), 1))])
|
||||
.range([0, this.chartWidth - this.legendWidth]);
|
||||
var y = d3.scale.linear()
|
||||
.domain([0, maxY])
|
||||
.range([0, this.chartHeight]);
|
||||
var ticks = x.ticks(d3.time.mondays, 1);
|
||||
|
||||
// SVG element
|
||||
var svg = this.element.append('svg')
|
||||
.attr('height', this.chartHeight + 25)
|
||||
.attr('width', this.chartWidth);
|
||||
|
||||
// Groups that contain bar segments for each dataset
|
||||
var barGroups = svg.selectAll('g.bars')
|
||||
.data(stackData)
|
||||
.enter().append('g')
|
||||
.attr('class', 'bars')
|
||||
.style('fill', (d, i) => this.colors[<number>i])
|
||||
.attr('transform', 'translate(' + this.legendWidth + ', 0)');
|
||||
|
||||
// Legend
|
||||
var legendGroup = svg.append('g')
|
||||
.attr('class', 'legend')
|
||||
|
||||
// Legend items
|
||||
var legendItem = legendGroup.selectAll('g.legendItem')
|
||||
.data(stackData)
|
||||
.enter().append('g')
|
||||
.attr('class', 'legendItem')
|
||||
.style('fill', (d, i) => this.colors[<number>i])
|
||||
.attr('transform', (d, i) => 'translate(0, ' + (this.legendItemHeight * (2 - i)) + ')');
|
||||
|
||||
legendItem.append('rect')
|
||||
.attr('width', 25)
|
||||
.attr('height', 25);
|
||||
|
||||
legendItem.append('text')
|
||||
.text((d) => d.desc)
|
||||
.attr('x', 30)
|
||||
.attr('dy', '1em');
|
||||
|
||||
|
||||
// Bars
|
||||
var rects = barGroups.selectAll('rect')
|
||||
.data((d) => d.data)
|
||||
.enter()
|
||||
.append('rect')
|
||||
.attr('x', (d, i) => x(d.x))
|
||||
.attr('y', (d, i) => this.chartHeight - y(d.y + d.y0))
|
||||
.attr('width', barWidth)
|
||||
.attr('height', (d, i) => y(d.y));
|
||||
|
||||
// Add title (mouseover popup) to bars
|
||||
rects.append('title')
|
||||
.text((d) => this.iso8601(d.x) + ' - ' + d.y + 'ms');
|
||||
|
||||
|
||||
// Add an axis marker to the bottom
|
||||
var axis = d3.svg.axis();
|
||||
axis.scale(x)
|
||||
.ticks(d3.time.mondays, 1)
|
||||
.tickSubdivide(6)
|
||||
.tickFormat(this.iso8601)
|
||||
.tickSize(10, 5, 0);
|
||||
|
||||
var axisGroup = svg.append('g')
|
||||
.attr('class', 'axis')
|
||||
.attr('transform', 'translate(' + this.legendWidth + ',' + this.chartHeight + ')')
|
||||
.call(axis);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
export class DailyBuild extends Base {
|
||||
public element: ID3Selection;
|
||||
constructor (element: ID3Selection) {
|
||||
super(element);
|
||||
this.element = element;
|
||||
}
|
||||
|
||||
public labelWidth = 140;
|
||||
public labelGutter = 10;
|
||||
public chartWidth = 800;
|
||||
|
||||
private getTextDataString(data) {
|
||||
return data.pass ? 'pass' : 'fail';
|
||||
}
|
||||
|
||||
public render(data: IDataSeries[]) {
|
||||
// Minimum date in the dataset
|
||||
var minDate = d3.min(data.map(function(d) { return d3.time.day(d.data[0].date) }));
|
||||
|
||||
// All the days in the dataset, from min until now.
|
||||
var days = d3.time.days(minDate, new Date());
|
||||
|
||||
var boxSize = (this.chartWidth - this.labelWidth - this.labelGutter) / days.length;
|
||||
|
||||
// Create our scales for x and y axis
|
||||
var x = d3.time.scale()
|
||||
.domain([minDate, d3.time.day(new Date())])
|
||||
.range([0, boxSize * (days.length - 1)]);
|
||||
|
||||
var y = d3.scale.linear()
|
||||
.domain([0, 1])
|
||||
.range([0, boxSize]);
|
||||
|
||||
|
||||
// SVG element
|
||||
var svg = this.element.append('svg')
|
||||
.attr('height', y(data.length + 1))
|
||||
.attr('width', this.chartWidth);
|
||||
|
||||
svg.selectAll('text')
|
||||
.data(data)
|
||||
.enter().append('text')
|
||||
.attr('x', this.labelWidth)
|
||||
.attr('transform', function(d, i) { return 'translate(0,' + y(i) + ')' })
|
||||
.attr('dy', '1em')
|
||||
.attr('text-anchor', 'end')
|
||||
.text(function(d) { return d.desc });
|
||||
|
||||
// Groups of boxes for updated builds
|
||||
var g = svg.selectAll('g.boxes')
|
||||
.data(data)
|
||||
.enter().append('g')
|
||||
.attr('class', 'boxes')
|
||||
.attr('transform', function(d, i) { return 'translate(0,' + y(i) + ')' });
|
||||
|
||||
// Boxes of build info
|
||||
var rects = g.selectAll('rect')
|
||||
.data(function(d, i) { return d.data; })
|
||||
.enter().append('rect')
|
||||
.attr('class', (d) => 'day ' + this.getTextDataString(d))
|
||||
.attr('x', (d, i) => this.labelWidth + this.labelGutter + x(d.date))
|
||||
.attr('width', boxSize)
|
||||
.attr('height', boxSize);
|
||||
|
||||
rects.append('title')
|
||||
.text( (d) => this.iso8601(d.date) + ' - ' + this.getTextDataString(d) );
|
||||
|
||||
var ticks = x.ticks(d3.time.mondays, 1);
|
||||
|
||||
// Date text boxes
|
||||
svg.append('g').attr('class', 'dates').selectAll('text')
|
||||
.data(ticks)
|
||||
.enter().append('text')
|
||||
.text((d) => this.iso8601(d) )
|
||||
.attr('transform', (d, i) => 'translate(' + (this.labelWidth + this.labelGutter + x(d) + 5) + ', ' + y(data.length + 1) + ')')
|
||||
.attr('text-anchor', 'start')
|
||||
|
||||
// Vertical hashes at week boundaries
|
||||
svg.append('g').attr('class', 'hashes').selectAll('line')
|
||||
.data(ticks)
|
||||
.enter().append('line')
|
||||
.attr('x1', (d) => this.labelWidth + this.labelGutter + x(d) )
|
||||
.attr('x2', (d) => this.labelWidth + this.labelGutter + x(d) )
|
||||
.attr('y1', 0)
|
||||
.attr('y2', y(data.length + 1));
|
||||
|
||||
return svg;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var start = d3.time.day.offset(new Date(), -30);
|
||||
var end = new Date()
|
||||
var days = d3.time.days(start, end);
|
||||
|
||||
var buildData: IRun[] = days.map(day => ({ date: day, pass: Math.random() > 0.1 }));
|
||||
var compilerTestData: IRun[] = days.map(day => ({ date: day, pass: Math.random() > 0.1 }));
|
||||
var servicesTestData: IRun[] = days.map(day => ({ date: day, pass: Math.random() > 0.1 }));
|
||||
|
||||
function decreasingRandom(start: number, deviation: number, factor: number) {
|
||||
var factorRandom = d3.random.normal(factor, 0.05);
|
||||
|
||||
return function () {
|
||||
var random = d3.random.normal(start, deviation)();
|
||||
start = start * factorRandom();
|
||||
|
||||
return parseFloat(random.toFixed())
|
||||
}
|
||||
}
|
||||
|
||||
var parseRandom = decreasingRandom(400, 20, 0.97);
|
||||
var typecheckRandom = decreasingRandom(500, 20, 0.97);
|
||||
var emitRandom = decreasingRandom(100, 10, 0.97);
|
||||
|
||||
var parseData: IPerfRun[] = days.map(day => ({ x: day, y: parseRandom() }));
|
||||
var typecheckData: IPerfRun[] = days.map(day => ({ x: day, y: typecheckRandom() }));
|
||||
var emitData: IPerfRun[] = days.map(day => ({ x: day, y: emitRandom() }));
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
var chart = new Chart.DailyBuild(d3.select('#passchart'));
|
||||
|
||||
chart.render([
|
||||
{ desc: "Build Status", data: buildData },
|
||||
{ desc: "Compiler Tests", data: compilerTestData },
|
||||
{ desc: "Services Tests", data: servicesTestData },
|
||||
]);
|
||||
|
||||
var normalizedData = [
|
||||
{ desc: 'Emit', data: emitData },
|
||||
{ desc: 'Typecheck', data: typecheckData },
|
||||
{ desc: 'Parse', data: parseData }
|
||||
]
|
||||
|
||||
var perfchart = new Chart.Bar(d3.select('#performanceChart'));
|
||||
perfchart.render(normalizedData);
|
||||
});
|
||||
45
samples/d3/perf.html
Normal file
45
samples/d3/perf.html
Normal file
@ -0,0 +1,45 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<script src="http://d3js.org/d3.v2.js"></script>
|
||||
<script src="data.js"></script>
|
||||
<style>
|
||||
svg {
|
||||
font-family: "Segoe UI", sans-serif;
|
||||
}
|
||||
.day {
|
||||
stroke: #ccc;
|
||||
}
|
||||
|
||||
.pass {
|
||||
fill: rgb(0, 166, 0);
|
||||
}
|
||||
|
||||
.fail {
|
||||
fill: rgb(255, 83, 0);
|
||||
}
|
||||
|
||||
.hashes line {
|
||||
stroke: #000; stroke-width: 2;
|
||||
}
|
||||
|
||||
.tick {
|
||||
stroke: #000; stroke-width: 2;
|
||||
}
|
||||
|
||||
.axis path {
|
||||
stroke: #000; stroke-width: 2;
|
||||
}
|
||||
body {
|
||||
font-family: 'Segoe UI';
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Status</h1>
|
||||
<div id="passchart"></div>
|
||||
|
||||
<h1>Compiler Performance</h1>
|
||||
<div id="performanceChart"></div>
|
||||
</body>
|
||||
</html>
|
||||
9
samples/greeter/README.txt
Normal file
9
samples/greeter/README.txt
Normal file
@ -0,0 +1,9 @@
|
||||
===== TypeScript Sample: Greeter =====
|
||||
|
||||
=== Overview ===
|
||||
|
||||
This sample shows basic class definition and instantiation.
|
||||
|
||||
=== Running ===
|
||||
tsc greeter.ts
|
||||
start greeter.html
|
||||
7
samples/greeter/greeter.html
Normal file
7
samples/greeter/greeter.html
Normal file
@ -0,0 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head><title> TypeScript Greeter </title></head>
|
||||
<body>
|
||||
<script src='greeter.js'></script>
|
||||
</body>
|
||||
</html>
|
||||
9
samples/greeter/greeter.ts
Normal file
9
samples/greeter/greeter.ts
Normal file
@ -0,0 +1,9 @@
|
||||
class Greeter {
|
||||
constructor(public greeting: string) { }
|
||||
greet() {
|
||||
return "<h1>" + this.greeting + "</h1>";
|
||||
}
|
||||
};
|
||||
var greeter = new Greeter("Hello, world!");
|
||||
var str = greeter.greet();
|
||||
document.body.innerHTML = str;
|
||||
65
samples/imageboard/ImageBoard.csproj
Normal file
65
samples/imageboard/ImageBoard.csproj
Normal file
@ -0,0 +1,65 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{BE268EA8-89D1-44DB-839D-FB007556CC97}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<NoStandardLibraries>false</NoStandardLibraries>
|
||||
<AssemblyName>ClassLibrary</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<RootNamespace>ImageBoard</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="app.ts" />
|
||||
<None Include="db.ts" />
|
||||
<None Include="mongodb.ts" />
|
||||
<None Include="package.json" />
|
||||
<None Include="routes\index.ts" />
|
||||
<None Include="views\board.jade" />
|
||||
<None Include="views\image.jade" />
|
||||
<None Include="views\index.jade" />
|
||||
<None Include="views\layout.jade" />
|
||||
<None Include="views\user.jade" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="public\stylesheets\style.css" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="public\images\" />
|
||||
<Folder Include="public\javascripts\" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSHARP.Targets" />
|
||||
<ProjectExtensions>
|
||||
<VisualStudio AllowExistingFolder="true" />
|
||||
</ProjectExtensions>
|
||||
</Project>
|
||||
41
samples/imageboard/README.txt
Normal file
41
samples/imageboard/README.txt
Normal file
@ -0,0 +1,41 @@
|
||||
===== TypeScript Sample: Image Board =====
|
||||
|
||||
=== Overview ===
|
||||
|
||||
This sample implements a complete Node.js application.
|
||||
Notable features:
|
||||
- Typed usage of express for server side MVC
|
||||
- Typed usage of mongodb for server side database
|
||||
- Typed usage of Node.js
|
||||
- Use of TypeScript module syntax
|
||||
- Visual Studio project file for working with the project
|
||||
|
||||
=== Running ===
|
||||
|
||||
Note: Perform steps 3 - 6 with your working directory set to the folder containing this README:
|
||||
|
||||
1. Install MongoDB if necessary (see http://docs.mongodb.org/manual/installation/ )
|
||||
|
||||
2. Run the following command to launch the MongoDB process:
|
||||
|
||||
<mongoinstalldir>\bin\mongod
|
||||
|
||||
3. Restore the sample app data to MongoDB in another command prompt with the following command:
|
||||
|
||||
<mongoinstalldir>\bin\mongorestore dump
|
||||
|
||||
4. Install the app's node dependencies with the following command:
|
||||
|
||||
npm install
|
||||
|
||||
5. Compile the app with the following command:
|
||||
|
||||
tsc --module commonjs app.ts
|
||||
|
||||
6. Launch the Node process to serve the app using the following command:
|
||||
|
||||
node app.js
|
||||
|
||||
7. Open your favorite browser and going to the following URL to access the app:
|
||||
|
||||
http://localhost:3000/
|
||||
129
samples/imageboard/app.ts
Normal file
129
samples/imageboard/app.ts
Normal file
@ -0,0 +1,129 @@
|
||||
///<reference path='../node/node.d.ts' />
|
||||
|
||||
import http = require("http")
|
||||
import url = require("url")
|
||||
import routes = require("./routes/index")
|
||||
import db = require("./db")
|
||||
import express = require("express")
|
||||
|
||||
var app = express();
|
||||
|
||||
// Configuration
|
||||
app.configure(function(){
|
||||
app.set('views', __dirname + '/views');
|
||||
app.set('view engine', 'jade');
|
||||
app.set('view options', { layout: false });
|
||||
app.use(express.bodyParser());
|
||||
app.use(express.methodOverride());
|
||||
app.use(express.static(__dirname + '/public'));
|
||||
});
|
||||
|
||||
app.configure('development', function(){
|
||||
app.use(express.errorHandler({ dumpExceptions: true, showStack: true }));
|
||||
});
|
||||
|
||||
app.configure('production', function(){
|
||||
app.use(express.errorHandler());
|
||||
});
|
||||
|
||||
|
||||
// Routes
|
||||
|
||||
app.get('/', routes.index);
|
||||
|
||||
app.get('/findImages', function(req, res) {
|
||||
console.log('getting images from' + req.query['url']);
|
||||
|
||||
var req2 = http.get(url.parse(req.query['url']), function(urlres) {
|
||||
console.log("Got response: " + urlres.statusCode);
|
||||
var text = "";
|
||||
urlres.on('data', function(chunk: string) {
|
||||
text += chunk;
|
||||
});
|
||||
urlres.on('end', function() {
|
||||
console.log(text);
|
||||
var re = /<img[^>]+src=[\"\']([^\'\"]+)[\"\']/g;
|
||||
var match, matches = [];
|
||||
while(match = re.exec(text)) {
|
||||
matches.push(match[1]);
|
||||
}
|
||||
res.write(JSON.stringify(matches));
|
||||
res.end();
|
||||
});
|
||||
}).on('error', function(a,e) {
|
||||
console.log("Got error: " + e.message);
|
||||
});
|
||||
});
|
||||
|
||||
app.get('/user/:userid', function(req, res) {
|
||||
console.log('getting user ' + req.params.userid);
|
||||
db.getUser(req.params.userid, function(user) {
|
||||
res.render('user', {
|
||||
title: user._id,
|
||||
username: user._id,
|
||||
boards: user.boards
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
app.get('/user/:userid/newboard', function(req, res) {
|
||||
res.render('newboard', {
|
||||
username: req.params.userid
|
||||
});
|
||||
});
|
||||
|
||||
app.post('/user/:userid/newboard', function(req, res) {
|
||||
db.addBoard(req.params.userid, req.param('title'), req.param('description'), function(user) {
|
||||
res.redirect('/user/'+req.params.userid)
|
||||
});
|
||||
});
|
||||
|
||||
app.get('/user/:userid/:boardid', function(req, res) {
|
||||
console.log('getting ' + req.params.userid + ", " + req.params.boardid);
|
||||
db.getUser(req.params.userid, function(user) {
|
||||
var board = user.boards.filter(function(board) {
|
||||
return decodeURIComponent(req.params.boardid) === board.title;
|
||||
})[0];
|
||||
if(board) {
|
||||
db.getImages(board.images, function(images) {
|
||||
res.render('board', {
|
||||
title: user._id,
|
||||
username: user._id,
|
||||
board: board,
|
||||
images: images
|
||||
});
|
||||
});
|
||||
} else {
|
||||
res.send('not found', 404);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
app.get('/user/:userid/:boardid/newpin', function(req, res) {
|
||||
res.render('newpin', {
|
||||
username: req.params.userid,
|
||||
boardid: req.params.boardid
|
||||
});
|
||||
});
|
||||
|
||||
app.post('/user/:userid/:boardid/newpin', function(req, res) {
|
||||
db.addPin(req.params.userid, req.params.boardid, req.param('imageUri'), req.param('link'), req.param('caption'), function(user) {
|
||||
res.redirect('/user/'+req.params.userid +"/" + req.params.boardid)
|
||||
});
|
||||
});
|
||||
|
||||
app.get('/image/:imageid', function(req, res) {
|
||||
console.log('getting image ' + req.params.imageid);
|
||||
db.getImage(req.params.imageid, function(image) {
|
||||
res.render('image', {
|
||||
title: "image",
|
||||
image: image
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
app.listen(3000, function(){
|
||||
console.log("Demo Express server listening on port %d in %s mode", 3000, app.settings.env);
|
||||
});
|
||||
|
||||
export var App = app;
|
||||
110
samples/imageboard/db.ts
Normal file
110
samples/imageboard/db.ts
Normal file
@ -0,0 +1,110 @@
|
||||
// Mongo
|
||||
import mongodb = require('mongodb');
|
||||
|
||||
var server = new mongodb.Server('localhost', 27017, {auto_reconnect: true}, {})
|
||||
var db = new mongodb.Db('mydb', server);
|
||||
db.open(function() {});
|
||||
|
||||
export interface User {
|
||||
_id: string;
|
||||
email: string;
|
||||
first_name: string;
|
||||
last_name: string;
|
||||
fbId: number;
|
||||
boards: Board[];
|
||||
}
|
||||
|
||||
export interface Board {
|
||||
title: string;
|
||||
description: string;
|
||||
images: mongodb.ObjectID[];
|
||||
}
|
||||
|
||||
export interface Image {
|
||||
_id: mongodb.ObjectID;
|
||||
user: string;
|
||||
caption: string;
|
||||
imageUri: string;
|
||||
link: string;
|
||||
board: string;
|
||||
comments: {text: string; user: string;}[];
|
||||
}
|
||||
|
||||
export function getUser(id: string, callback: (user: User) => void) {
|
||||
db.collection('users', function(error, users) {
|
||||
if(error) { console.error(error); return; }
|
||||
users.findOne({_id: id}, function(error, user) {
|
||||
if(error) { console.error(error); return; }
|
||||
callback(user);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
export function getUsers(callback: (users: User[]) => void) {
|
||||
db.collection('users', function(error, users_collection) {
|
||||
if(error) { console.error(error); return; }
|
||||
users_collection.find({}, { '_id': 1 }).toArray(function(error, userobjs) {
|
||||
if(error) { console.error(error); return; }
|
||||
callback(userobjs);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
export function getImage(imageId: string, callback: (image: Image) => void) {
|
||||
db.collection('images', function(error, images_collection) {
|
||||
if(error) { console.error(error); return; }
|
||||
images_collection.findOne({_id: new mongodb.ObjectID(imageId)}, function(error, image) {
|
||||
if(error) { console.error(error); return; }
|
||||
callback(image);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
export function getImages(imageIds: mongodb.ObjectID[], callback: (images: Image[]) => void) {
|
||||
db.collection('images', function(error, images_collection) {
|
||||
if(error) { console.error(error); return; }
|
||||
images_collection.find({_id: {$in: imageIds}}).toArray(function(error, images) {
|
||||
callback(images);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
export function addBoard(userid: any, title: string, description: string, callback: (user: User) => void) {
|
||||
db.collection('users', function(error, users) {
|
||||
if(error) { console.error(error); return; }
|
||||
users.update(
|
||||
{_id: userid},
|
||||
{"$push": {boards: { title: title, description: description, images: []}}},
|
||||
function(error, user) {
|
||||
if(error) { console.error(error); return; }
|
||||
callback(user);
|
||||
}
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
export function addPin(userid: string, boardid: string, imageUri: string, link: string, caption: string, callback: (user: User) => void) {
|
||||
db.collection('images', function(error, images_collection) {
|
||||
if(error) { console.error(error); return; }
|
||||
images_collection.insert({
|
||||
user: userid,
|
||||
caption: caption,
|
||||
imageUri: imageUri,
|
||||
link: link,
|
||||
board: boardid,
|
||||
comments: []
|
||||
}, function(error, image) {
|
||||
console.log(image);
|
||||
db.collection('users', function(error, users) {
|
||||
if(error) { console.error(error); return; }
|
||||
users.update(
|
||||
{_id: userid, "boards.title": boardid},
|
||||
{"$push": {"boards.$.images": image[0]._id}},
|
||||
function(error, user) {
|
||||
callback(user);
|
||||
}
|
||||
);
|
||||
})
|
||||
})
|
||||
})
|
||||
}
|
||||
BIN
samples/imageboard/dump/mydb/images.bson
Normal file
BIN
samples/imageboard/dump/mydb/images.bson
Normal file
Binary file not shown.
1
samples/imageboard/dump/mydb/images.metadata.json
Normal file
1
samples/imageboard/dump/mydb/images.metadata.json
Normal file
@ -0,0 +1 @@
|
||||
{indexes:[{ "v" : 1, "key" : { "_id" : 1 }, "ns" : "mydb.images", "name" : "_id_" }]}
|
||||
BIN
samples/imageboard/dump/mydb/users.bson
Normal file
BIN
samples/imageboard/dump/mydb/users.bson
Normal file
Binary file not shown.
1
samples/imageboard/dump/mydb/users.metadata.json
Normal file
1
samples/imageboard/dump/mydb/users.metadata.json
Normal file
@ -0,0 +1 @@
|
||||
{indexes:[{ "v" : 1, "key" : { "_id" : 1 }, "ns" : "mydb.users", "name" : "_id_" }]}
|
||||
128
samples/imageboard/express.d.ts
vendored
Normal file
128
samples/imageboard/express.d.ts
vendored
Normal file
@ -0,0 +1,128 @@
|
||||
///<reference path='../node/node.d.ts' />
|
||||
|
||||
declare module "express" {
|
||||
import http = require("http");
|
||||
function express(): express.ExpressServer;
|
||||
module express {
|
||||
export function createServer(): ExpressServer;
|
||||
export function static(path: string): any;
|
||||
export var listen;
|
||||
|
||||
// Connect middleware
|
||||
export function bodyParser(options?: any): (req: ExpressServerRequest, res: ExpressServerResponse, next) => void;
|
||||
export function errorHandler(opts?: any): (req: ExpressServerRequest, res: ExpressServerResponse, next) => void;
|
||||
export function methodOverride(): (req: ExpressServerRequest, res: ExpressServerResponse, next) => void;
|
||||
|
||||
export interface ExpressSettings {
|
||||
env?: string;
|
||||
views?: string;
|
||||
}
|
||||
|
||||
export interface ExpressServer {
|
||||
set(name: string): any;
|
||||
set(name: string, val: any): any;
|
||||
enable(name: string): ExpressServer;
|
||||
disable(name: string): ExpressServer;
|
||||
enabled(name: string): boolean;
|
||||
disabled(name: string): boolean;
|
||||
configure(env: string, callback: () => void ): ExpressServer;
|
||||
configure(env: string, env2: string, callback: () => void ): ExpressServer;
|
||||
configure(callback: () => void ): ExpressServer;
|
||||
settings: ExpressSettings;
|
||||
engine(ext: string, callback: any): void;
|
||||
param(param: Function): ExpressServer;
|
||||
param(name: string, callback: Function): ExpressServer;
|
||||
param(name: string, expressParam: any): ExpressServer;
|
||||
param(name: any[], callback: Function): ExpressServer;
|
||||
get(name: string): any;
|
||||
get(path: string, handler: (req: ExpressServerRequest, res: ExpressServerResponse) => void ): void;
|
||||
get(path: RegExp, handler: (req: ExpressServerRequest, res: ExpressServerResponse) => void ): void;
|
||||
get(path: string, callbacks: any, callback: () => void ): void;
|
||||
post(path: string, handler: (req: ExpressServerRequest, res: ExpressServerResponse) => void ): void;
|
||||
post(path: RegExp, handler: (req: ExpressServerRequest, res: ExpressServerResponse) => void ): void;
|
||||
post(path: string, callbacks: any, callback: () => void ): void;
|
||||
all(path: string, callback: Function): void;
|
||||
all(path: string, callback: Function, callback2: Function): void;
|
||||
locals: any;
|
||||
render(view: string, callback: (err: Error, html) => void ): void;
|
||||
render(view: string, opts: any, callback: (err: Error, html) => void ): void;
|
||||
routes: any;
|
||||
listen(port: number, hostname: string, backlog: number, callback: Function): void;
|
||||
listen(port: number, callback: Function): void;
|
||||
listen(path: string, callback?: Function): void;
|
||||
listen(handle: any, listeningListener?: Function): void;
|
||||
use(route: string, callback: Function): ExpressServer;
|
||||
use(route: string, server: ExpressServer): ExpressServer;
|
||||
use(callback: Function): ExpressServer;
|
||||
use(server: ExpressServer): ExpressServer;
|
||||
}
|
||||
|
||||
export class ExpressServerRequest extends http.ServerRequest {
|
||||
params: any;
|
||||
query: any;
|
||||
body: any;
|
||||
files: any;
|
||||
param(name: string): any;
|
||||
route: any;
|
||||
cookies: any;
|
||||
signedCookies: any;
|
||||
get(field: string): string;
|
||||
accepts(types: string): any;
|
||||
accepts(types: string[]): any;
|
||||
accepted: any;
|
||||
is(type: string): boolean;
|
||||
ip: string;
|
||||
ips: string[];
|
||||
path: string;
|
||||
host: string;
|
||||
fresh: boolean;
|
||||
stale: boolean;
|
||||
xhr: boolean;
|
||||
protocol: string;
|
||||
secure: boolean;
|
||||
subdomains: string[];
|
||||
acceptedLanguages: string[];
|
||||
acceptedCharsets: string[];
|
||||
acceptsCharset(charset: string): boolean;
|
||||
acceptsLanguage(lang: string): boolean;
|
||||
}
|
||||
|
||||
export class ExpressServerResponse extends http.ServerResponse {
|
||||
status(code: number): any;
|
||||
set(field: any): void;
|
||||
set(field: string, value: string): void;
|
||||
header(field: any): void;
|
||||
header(field: string, value: string): void;
|
||||
get(field: string): any;
|
||||
cookie(name: string, value: any, options?: any): void;
|
||||
clearcookie(name: string, options?: any): void;
|
||||
redirect(status: number, url: string): void;
|
||||
redirect(url: string): void;
|
||||
charset: string;
|
||||
send(bodyOrStatus: any);
|
||||
send(body: any, status: any);
|
||||
send(body: any, headers: any, status: number);
|
||||
json(bodyOrStatus: any);
|
||||
json(body: any, status: any);
|
||||
json(body: any, headers: any, status: number);
|
||||
jsonp(bodyOrStatus: any);
|
||||
jsonp(body: any, status: any);
|
||||
jsonp(body: any, headers: any, status: number);
|
||||
type(type: string): void;
|
||||
format(object: any): void;
|
||||
attachment(filename?: string);
|
||||
sendfile(path: string): void;
|
||||
sendfile(path: string, options: any): void;
|
||||
sendfile(path: string, options: any, fn: (err: Error) => void ): void;
|
||||
download(path: string): void;
|
||||
download(path: string, filename: string): void;
|
||||
download(path: string, filename: string, fn: (err: Error) => void ): void;
|
||||
links(links: any): void;
|
||||
locals: any;
|
||||
render(view: string, locals: any): void;
|
||||
render(view: string, callback: (err: Error, html: any) => void ): void;
|
||||
render(view: string, locals: any, callback: (err: Error, html: any) => void ): void;
|
||||
}
|
||||
}
|
||||
export = express;
|
||||
}
|
||||
33
samples/imageboard/mongodb.ts
Normal file
33
samples/imageboard/mongodb.ts
Normal file
@ -0,0 +1,33 @@
|
||||
///<reference path='../node/node.d.ts' />
|
||||
|
||||
declare module "mongodb" {
|
||||
export class Server {
|
||||
constructor(host: string, port: number, opts?: any, moreopts?: any);
|
||||
}
|
||||
export class Db {
|
||||
constructor(databaseName: string, serverConfig: Server);
|
||||
public open(callback: ()=>void);
|
||||
public collection(name: string, callback: (err: any, collection: MongoCollection) => void);
|
||||
}
|
||||
export class ObjectID {
|
||||
constructor(s: string);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
interface MongoDb {
|
||||
|
||||
}
|
||||
|
||||
interface MongoCollection {
|
||||
find(query: any): MongoCursor;
|
||||
find(query: any, callback?: (err: any, result: any) => void): MongoCursor;
|
||||
find(query: any, select: any, callback?: (err: any, result: any) => void): MongoCursor;
|
||||
findOne(query: any, callback: (err: any, result: any) => void): void;
|
||||
update(query: any, updates: any, callback: (err: any, result: any) => void): void;
|
||||
insert(query: any, callback: (err: any, result: any) => void): void;
|
||||
}
|
||||
|
||||
interface MongoCursor {
|
||||
toArray(callback: (err: any, results: any[]) => void);
|
||||
}
|
||||
11
samples/imageboard/package.json
Normal file
11
samples/imageboard/package.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "application-name"
|
||||
, "version": "0.0.1"
|
||||
, "private": true
|
||||
, "dependencies": {
|
||||
"express": ">= 3.0.0"
|
||||
, "ejs": ">= 0.5.0"
|
||||
, "jade": ">= 0.0.1"
|
||||
, "mongodb": ">= 1.0.0"
|
||||
}
|
||||
}
|
||||
31
samples/imageboard/public/javascripts/fb.js
Normal file
31
samples/imageboard/public/javascripts/fb.js
Normal file
@ -0,0 +1,31 @@
|
||||
///<reference path="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.min.js" />
|
||||
///<reference path="http://connect.facebook.net/en_US/all.js" />
|
||||
|
||||
// initialize the library with the API key
|
||||
FB.init({ appId: '349900301735115' });
|
||||
|
||||
// fetch the status on load
|
||||
FB.getLoginStatus(handleSessionResponse2);
|
||||
|
||||
$('#login').bind('click', function () {
|
||||
FB.login(handleSessionResponse);
|
||||
});
|
||||
|
||||
$('#logout').bind('click', function () {
|
||||
FB.logout(handleSessionResponse);
|
||||
});
|
||||
|
||||
function handleSessionResponse2() { }
|
||||
// handle a session response from any of the auth related calls
|
||||
function handleSessionResponse() {
|
||||
FB.api('/me', function (response) {
|
||||
console.dir(response);
|
||||
//$('#user-info').html(response.id + ' - ' + response.name);
|
||||
});
|
||||
FB.api('/me/picture', function (response) {
|
||||
console.dir(response);
|
||||
var img = document.createElement('img');
|
||||
img.src = response;
|
||||
document.body.appendChild(img);
|
||||
});
|
||||
}
|
||||
102
samples/imageboard/public/stylesheets/style.css
Normal file
102
samples/imageboard/public/stylesheets/style.css
Normal file
@ -0,0 +1,102 @@
|
||||
html { background-color: #f9f9f9; margin: 0; padding: 0; }
|
||||
body { margin: 0 auto; padding: 0; font-family:"Segoe UI","HelveticaNeue-Light", sans-serif; font-weight:200;}
|
||||
h1, h2, p, summary, footer, li { line-height: 170%; }
|
||||
h1, h2 { border-bottom: 1px solid #aaa; font-family:"Segoe UI Light","HelveticaNeue-UltraLight", sans-serif; font-weight:100; }
|
||||
h2 { font-size: 16pt; }
|
||||
p { margin: 1em 20px 0 20px; }
|
||||
ul { margin-top: 1em; }
|
||||
#footer { font-style: italic; color: #999; text-align: center; padding: 1em 0 2em 0; margin-top: 1em; font-size: 80%; }
|
||||
em { letter-spacing: 1px; }
|
||||
li { margin-left: 1em; }
|
||||
|
||||
#container
|
||||
{
|
||||
padding: 50px;
|
||||
}
|
||||
|
||||
a
|
||||
{
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
color: #777777;
|
||||
}
|
||||
|
||||
.imglink
|
||||
{
|
||||
text: none;
|
||||
}
|
||||
|
||||
img.small
|
||||
{
|
||||
border:0;
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
img.large
|
||||
{
|
||||
border:0;
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto
|
||||
}
|
||||
|
||||
|
||||
.image
|
||||
{
|
||||
margin: 10px;
|
||||
padding: 5px;
|
||||
word-wrap: break-word;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: #bbbbbb;
|
||||
background-color: #ffffff;
|
||||
|
||||
}
|
||||
|
||||
.imagebox
|
||||
{
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.commentbox
|
||||
{
|
||||
margin: 5px -5px -5px -5px;
|
||||
padding: 5px;
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
|
||||
.primarysource
|
||||
{
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
form
|
||||
{
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.inputtitle
|
||||
{
|
||||
display:block;
|
||||
float: left;
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
input[type="text"], textarea
|
||||
{
|
||||
padding: 6px 12px;
|
||||
line-height: 1.4;
|
||||
border: 1px solid #A4A2A2;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
|
||||
input.button
|
||||
{
|
||||
padding: 6px 12px;
|
||||
line-height: 1.4;
|
||||
border: 1px solid #A4A2A2;
|
||||
border-radius: 6px;
|
||||
background-color: #ab2222;
|
||||
color: #ffffff;
|
||||
}
|
||||
9
samples/imageboard/routes/index.ts
Normal file
9
samples/imageboard/routes/index.ts
Normal file
@ -0,0 +1,9 @@
|
||||
import express = require("express")
|
||||
import db = require("../db")
|
||||
|
||||
export function index(req: express.ExpressServerRequest, res: express.ExpressServerResponse){
|
||||
db.getUsers(function(users) {
|
||||
console.dir(users);
|
||||
res.render('index', { title: 'ImageBoard', users: users })
|
||||
});
|
||||
};
|
||||
26
samples/imageboard/views/board.jade
Normal file
26
samples/imageboard/views/board.jade
Normal file
@ -0,0 +1,26 @@
|
||||
extends layout
|
||||
|
||||
block mainContent
|
||||
h1 #{board.title} by
|
||||
a(href= "/user/"+username)!= username
|
||||
div.board
|
||||
h4.description= board.description
|
||||
#board.images
|
||||
- each image in images
|
||||
div.image.grid_3
|
||||
div.imagebox
|
||||
div
|
||||
a(href= "/image/"+image._id.toString())
|
||||
img.small(src= image.imageUri)
|
||||
=image.caption
|
||||
div.primarysource
|
||||
a(href= image.link)!= /http:\/\/([^\/]*)\//.exec(image.link)[1]
|
||||
div.commentbox
|
||||
- each comment in image.comments
|
||||
div.comment
|
||||
a(href= "/user/"+comment.user)
|
||||
b= comment.user
|
||||
#{comment.text}
|
||||
.grid_12
|
||||
br
|
||||
a(href= "/user/"+username+"/"+board.title+"/newpin") Add a new pin...
|
||||
15
samples/imageboard/views/image.jade
Normal file
15
samples/imageboard/views/image.jade
Normal file
@ -0,0 +1,15 @@
|
||||
extends layout
|
||||
|
||||
block mainContent
|
||||
h1 Posted by #{image.user}
|
||||
div.image.grid_9
|
||||
div.imagebox
|
||||
div
|
||||
img.large(src= image.imageUri)
|
||||
=image.caption
|
||||
div.commentbox
|
||||
- each comment in image.comments
|
||||
div.comment
|
||||
a(href= "/user/"+comment.user)
|
||||
b= comment.user
|
||||
#{comment.text}
|
||||
11
samples/imageboard/views/index.jade
Normal file
11
samples/imageboard/views/index.jade
Normal file
@ -0,0 +1,11 @@
|
||||
extends layout
|
||||
|
||||
block mainContent
|
||||
h1= title
|
||||
p Welcome to #{title}
|
||||
|
||||
ul
|
||||
- each user in users
|
||||
li
|
||||
a(href= "/user/"+user._id)
|
||||
b= user._id
|
||||
14
samples/imageboard/views/layout.jade
Normal file
14
samples/imageboard/views/layout.jade
Normal file
@ -0,0 +1,14 @@
|
||||
!!!
|
||||
html
|
||||
head
|
||||
title ImageBoard
|
||||
link(rel='stylesheet', href='http://cachedcommons.org/cache/960/0.0.0/stylesheets/960.css')
|
||||
link(rel='stylesheet', href='/stylesheets/style.css')
|
||||
body
|
||||
#header.container_12
|
||||
#fb-root
|
||||
script(src='http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.min.js')
|
||||
script(src='http://connect.facebook.net/en_US/all.js')
|
||||
script(src='/javascripts/fb.js')
|
||||
#container.container_12!= body
|
||||
block mainContent
|
||||
18
samples/imageboard/views/newboard.jade
Normal file
18
samples/imageboard/views/newboard.jade
Normal file
@ -0,0 +1,18 @@
|
||||
extends layout
|
||||
|
||||
block mainContent
|
||||
h1 Create a new board for
|
||||
a(href= "/user/"+username)!= username
|
||||
form( method="post")
|
||||
div
|
||||
br
|
||||
div
|
||||
span.inputtitle Title :
|
||||
input(type="text", name="title", id="editArticleTitle")
|
||||
br
|
||||
div
|
||||
span.inputtitle Description :
|
||||
textarea( name="description", rows=10, cols=16, id="editArticleBody")
|
||||
br
|
||||
#editArticleSubmit
|
||||
input.button(type="submit", value="Save board")
|
||||
24
samples/imageboard/views/newpin.jade
Normal file
24
samples/imageboard/views/newpin.jade
Normal file
@ -0,0 +1,24 @@
|
||||
extends layout
|
||||
|
||||
block mainContent
|
||||
h1 Pin new image to
|
||||
a(href= "/user/"+username)!= username
|
||||
's board
|
||||
a(href= "/user/"+username+"/"+boardid)!= boardid
|
||||
form( method="post")
|
||||
div
|
||||
br
|
||||
div
|
||||
span.inputtitle Image url:
|
||||
input(type="text", name="imageUri")
|
||||
br
|
||||
div
|
||||
span.inputtitle Link :
|
||||
input(type="text", name="link")
|
||||
br
|
||||
div
|
||||
span.inputtitle Caption :
|
||||
textarea( name="caption", rows=10, cols=16)
|
||||
br
|
||||
#editArticleSubmit
|
||||
input.button(type="submit", value="Save pin")
|
||||
13
samples/imageboard/views/user.jade
Normal file
13
samples/imageboard/views/user.jade
Normal file
@ -0,0 +1,13 @@
|
||||
extends layout
|
||||
|
||||
block mainContent
|
||||
h1 #{username}'s ImageBoard
|
||||
#boards
|
||||
- each board in boards
|
||||
div.board
|
||||
br
|
||||
div.title
|
||||
a(href= "/user/"+username+"/"+board.title)!= board.title
|
||||
div.description= board.description
|
||||
br
|
||||
a(href= "/user/"+username+"/newboard") Add a new board...
|
||||
18
samples/interfaces/README.txt
Normal file
18
samples/interfaces/README.txt
Normal file
@ -0,0 +1,18 @@
|
||||
===== TypeScript Sample: Simple =====
|
||||
|
||||
=== Overview ===
|
||||
|
||||
Simple use of classes and inheritance:
|
||||
- Interface: A simple interface that defines the interface for something that can drive.
|
||||
- Class: An implementation of a car.
|
||||
|
||||
=== Keep Playing ===
|
||||
|
||||
Want to experiment? Try adding a second interface: Flyable. Implement it in a Helicopter class, then write a FlyingCar class that implements both Drivable and Flyable!
|
||||
|
||||
interface Flyable { ... }
|
||||
class Helicopter implements Flyable { ... }
|
||||
class FlyingCar implements Drivable, Flyable { ... }
|
||||
|
||||
=== Running ===
|
||||
tsc interfaces.ts
|
||||
52
samples/interfaces/interfaces.ts
Normal file
52
samples/interfaces/interfaces.ts
Normal file
@ -0,0 +1,52 @@
|
||||
interface Drivable {
|
||||
|
||||
// Starts the car's ignition so that it can drive.
|
||||
start(): void;
|
||||
// Attempt to drive a distance. Returns true or false based on whether or not the drive was successful.
|
||||
drive(distance: number): boolean;
|
||||
// Give the distance from the start.
|
||||
getPosition(): number;
|
||||
}
|
||||
|
||||
class Car implements Drivable {
|
||||
private _isRunning: boolean;
|
||||
private _distanceFromStart: number;
|
||||
|
||||
constructor() {
|
||||
this._isRunning = false;
|
||||
this._distanceFromStart = 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Starts the car's ignition so that it can drive.
|
||||
*/
|
||||
public start() {
|
||||
this._isRunning = true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Attempt to drive a distance. Returns true or false based on whether or not the drive was successful.
|
||||
*
|
||||
* @param {number} distance The distance attempting to cover
|
||||
*
|
||||
* @returns {boolean} Whether or not the drive was successful
|
||||
*/
|
||||
public drive(distance: number): boolean {
|
||||
if (this._isRunning) {
|
||||
this._distanceFromStart += distance;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gives the distance from starting position
|
||||
*
|
||||
* @returns {number} Distance from starting position;
|
||||
*/
|
||||
public getPosition(): number {
|
||||
return this._distanceFromStart;
|
||||
}
|
||||
}
|
||||
|
||||
// Want to experiment? Try adding a second interface: Flyable. Implement it in a Helicopter class, then write a FlyingCar class that implements both Drivable and Flyable!
|
||||
13
samples/jquery/README.txt
Normal file
13
samples/jquery/README.txt
Normal file
@ -0,0 +1,13 @@
|
||||
===== TypeScript Sample: JQuery Parallax Starfield =====
|
||||
|
||||
=== Overview ===
|
||||
|
||||
This sample shows a simple jQuery application in TypeScript using a jQuery TypeScript typing.
|
||||
|
||||
=== Usage ===
|
||||
|
||||
For best results, scroll the window using the scrollbar.
|
||||
|
||||
=== Running ===
|
||||
tsc --target ES5 parallax.ts
|
||||
start parallax.html
|
||||
703
samples/jquery/jquery.d.ts
vendored
Normal file
703
samples/jquery/jquery.d.ts
vendored
Normal file
@ -0,0 +1,703 @@
|
||||
/* *****************************************************************************
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||
this file except in compliance with the License. You may obtain a copy of the
|
||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||
|
||||
See the Apache Version 2.0 License for specific language governing permissions
|
||||
and limitations under the License.
|
||||
***************************************************************************** */
|
||||
|
||||
// Typing for the jQuery library, version 1.10
|
||||
|
||||
/*
|
||||
Interface for the AJAX setting that will configure the AJAX request
|
||||
*/
|
||||
interface JQueryAjaxSettings {
|
||||
accepts?: any;
|
||||
async?: boolean;
|
||||
beforeSend? (jqXHR: JQueryXHR, settings: JQueryAjaxSettings): any;
|
||||
cache?: boolean;
|
||||
complete? (jqXHR: JQueryXHR, textStatus: string): any;
|
||||
contents?: { [key: string]: any; };
|
||||
contentType?: any;
|
||||
context?: any;
|
||||
converters?: { [key: string]: any; };
|
||||
crossDomain?: boolean;
|
||||
data?: any;
|
||||
dataFilter? (data: any, ty: any): any;
|
||||
dataType?: string;
|
||||
error? (jqXHR: JQueryXHR, textStatus: string, errorThrow: string): any;
|
||||
global?: boolean;
|
||||
headers?: { [key: string]: any; };
|
||||
ifModified?: boolean;
|
||||
isLocal?: boolean;
|
||||
jsonp?: string;
|
||||
jsonpCallback?: any;
|
||||
mimeType?: string;
|
||||
password?: string;
|
||||
processData?: boolean;
|
||||
scriptCharset?: string;
|
||||
statusCode?: { [key: string]: any; };
|
||||
success? (data: any, textStatus: string, jqXHR: JQueryXHR): any;
|
||||
timeout?: number;
|
||||
traditional?: boolean;
|
||||
type?: string;
|
||||
url?: string;
|
||||
username?: string;
|
||||
xhr?: any;
|
||||
xhrFields?: { [key: string]: any; };
|
||||
}
|
||||
|
||||
/*
|
||||
Interface for the jqXHR object
|
||||
*/
|
||||
interface JQueryXHR extends XMLHttpRequest {
|
||||
overrideMimeType(): any;
|
||||
}
|
||||
|
||||
/*
|
||||
Interface for the JQuery callback
|
||||
*/
|
||||
interface JQueryCallback {
|
||||
add(...callbacks: any[]): any;
|
||||
disable(): any;
|
||||
empty(): any;
|
||||
fire(...arguments: any[]): any;
|
||||
fired(): boolean;
|
||||
fireWith(context: any, ...args: any[]): any;
|
||||
has(callback: any): boolean;
|
||||
lock(): any;
|
||||
locked(): boolean;
|
||||
removed(...callbacks: any[]): any;
|
||||
}
|
||||
|
||||
/*
|
||||
Interface for the JQuery promise, part of callbacks
|
||||
*/
|
||||
interface JQueryPromise {
|
||||
always(...alwaysCallbacks: any[]): JQueryDeferred;
|
||||
done(...doneCallbacks: any[]): JQueryDeferred;
|
||||
fail(...failCallbacks: any[]): JQueryDeferred;
|
||||
pipe(doneFilter?: (x: any) => any, failFilter?: (x: any) => any, progressFilter?: (x: any) => any): JQueryPromise;
|
||||
then(doneCallbacks: any, failCallbacks: any, progressCallbacks?: any): JQueryDeferred;
|
||||
}
|
||||
|
||||
/*
|
||||
Interface for the JQuery deferred, part of callbacks
|
||||
*/
|
||||
interface JQueryDeferred extends JQueryPromise {
|
||||
notify(...args: any[]): JQueryDeferred;
|
||||
notifyWith(context: any, ...args: any[]): JQueryDeferred;
|
||||
|
||||
progress(...progressCallbacks: any[]): JQueryDeferred;
|
||||
reject(...args: any[]): JQueryDeferred;
|
||||
rejectWith(context: any, ...args: any[]): JQueryDeferred;
|
||||
resolve(...args: any[]): JQueryDeferred;
|
||||
resolveWith(context: any, ...args: any[]): JQueryDeferred;
|
||||
state(): string;
|
||||
then(doneCallbacks: any, failCallbacks?: any, progressCallbacks?: any): JQueryDeferred;
|
||||
}
|
||||
|
||||
/*
|
||||
Interface of the JQuery extension of the W3C event object
|
||||
*/
|
||||
interface JQueryEventObject extends Event {
|
||||
data: any;
|
||||
delegateTarget: Element;
|
||||
isDefaultPrevented(): boolean;
|
||||
isImmediatePropogationStopped(): boolean;
|
||||
isPropogationStopped(): boolean;
|
||||
namespace: string;
|
||||
preventDefault(): any;
|
||||
relatedTarget: Element;
|
||||
result: any;
|
||||
stopImmediatePropagation(): void;
|
||||
stopPropagation(): void;
|
||||
pageX: number;
|
||||
pageY: number;
|
||||
which: number;
|
||||
metaKey: any;
|
||||
}
|
||||
|
||||
/*
|
||||
Collection of properties of the current browser
|
||||
*/
|
||||
interface JQueryBrowserInfo {
|
||||
safari: boolean;
|
||||
opera: boolean;
|
||||
msie: boolean;
|
||||
mozilla: boolean;
|
||||
version: string;
|
||||
}
|
||||
|
||||
interface JQuerySupport {
|
||||
ajax?: boolean;
|
||||
boxModel?: boolean;
|
||||
changeBubbles?: boolean;
|
||||
checkClone?: boolean;
|
||||
checkOn?: boolean;
|
||||
cors?: boolean;
|
||||
cssFloat?: boolean;
|
||||
hrefNormalized?: boolean;
|
||||
htmlSerialize?: boolean;
|
||||
leadingWhitespace?: boolean;
|
||||
noCloneChecked?: boolean;
|
||||
noCloneEvent?: boolean;
|
||||
opacity?: boolean;
|
||||
optDisabled?: boolean;
|
||||
optSelected?: boolean;
|
||||
scriptEval? (): boolean;
|
||||
style?: boolean;
|
||||
submitBubbles?: boolean;
|
||||
tbody?: boolean;
|
||||
}
|
||||
|
||||
interface JQueryTransport {
|
||||
send(headers: { [index: string]: string; }, completeCallback: (status: number, statusText: string, responses: { [dataType: string]: any; }, headers: string) => void): void;
|
||||
abort(): void;
|
||||
}
|
||||
|
||||
/*
|
||||
Static members of jQuery (those on $ and jQuery themselves)
|
||||
*/
|
||||
interface JQueryStatic {
|
||||
|
||||
// AJAX
|
||||
ajax(settings: JQueryAjaxSettings): JQueryXHR;
|
||||
ajax(url: string, settings: JQueryAjaxSettings): JQueryXHR;
|
||||
|
||||
ajaxPrefilter(handler: (opts: any, originalOpts: any, jqXHR: JQueryXHR) => any): any;
|
||||
ajaxPrefilter(dataTypes: string, handler: (opts: any, originalOpts: any, jqXHR: JQueryXHR) => any): any;
|
||||
|
||||
ajaxSetup(options: any): void;
|
||||
ajaxTransport(dataType: string, handler: (options: JQueryAjaxSettings, originalOptions: JQueryAjaxSettings, jqXHR: JQueryXHR) => JQueryTransport): void;
|
||||
|
||||
get(url: string, data?: any, success?: any, dataType?: any): JQueryXHR;
|
||||
getJSON(url: string, data?: any, success?: any): JQueryXHR;
|
||||
getScript(url: string, success?: any): JQueryXHR;
|
||||
|
||||
param(obj: any): string;
|
||||
param(obj: any, traditional: boolean): string;
|
||||
|
||||
post(url: string, data?: any, success?: any, dataType?: any): JQueryXHR;
|
||||
|
||||
// Callbacks
|
||||
Callbacks(flags: any): JQueryCallback;
|
||||
|
||||
// Core
|
||||
holdReady(hold: boolean): any;
|
||||
|
||||
(): JQuery;
|
||||
(selector: string, context?: any): JQuery;
|
||||
(element: Element): JQuery;
|
||||
(elementArray: Element[]): JQuery;
|
||||
(object: JQuery): JQuery;
|
||||
(func: Function): JQuery;
|
||||
(object: {}): JQuery;
|
||||
|
||||
noConflict(removeAll?: boolean): Object;
|
||||
|
||||
when(...deferreds: any[]): JQueryPromise;
|
||||
|
||||
// CSS
|
||||
css(e: any, propertyName: string, value?: any): any;
|
||||
css(e: any, propertyName: any, value?: any): any;
|
||||
cssHooks: { [key: string]: any; };
|
||||
|
||||
// Data
|
||||
data(element: Element, key: string, value: any): Object;
|
||||
|
||||
dequeue(element: Element, queueName?: string): any;
|
||||
|
||||
hasData(element: Element): boolean;
|
||||
|
||||
queue(element: Element, queueName?: string): any[];
|
||||
queue(element: Element, queueName: string, newQueueOrCallback: any): JQuery;
|
||||
|
||||
removeData(element: Element, name?: string): JQuery;
|
||||
|
||||
// Deferred
|
||||
Deferred(beforeStart?: (deferred: JQueryDeferred) => any): JQueryDeferred;
|
||||
|
||||
// Effects
|
||||
fx: { tick: () => void; interval: number; stop: () => void; speeds: { slow: number; fast: number; }; off: boolean; step: any; };
|
||||
|
||||
// Events
|
||||
proxy(func: Function, context: any): any;
|
||||
proxy(context: any, name: string): any;
|
||||
|
||||
// Internals
|
||||
error(message: any): void;
|
||||
|
||||
// Miscellaneous
|
||||
expr: any;
|
||||
fn: any; //TODO: Decide how we want to type this
|
||||
isReady: boolean;
|
||||
|
||||
// Properties
|
||||
browser: JQueryBrowserInfo;
|
||||
support: JQuerySupport;
|
||||
|
||||
// Utilities
|
||||
contains(container: Element, contained: Element): boolean;
|
||||
|
||||
each(collection: any, callback: (indexInArray: any, valueOfElement: any) => any): any;
|
||||
|
||||
extend(deep: boolean, target: any, ...objs: any[]): Object;
|
||||
extend(target: any, ...objs: any[]): Object;
|
||||
|
||||
globalEval(code: string): any;
|
||||
|
||||
grep(array: any[], func: any, invert: boolean): any[];
|
||||
|
||||
inArray(value: any, array: any[], fromIndex?: number): number;
|
||||
|
||||
isArray(obj: any): boolean;
|
||||
isEmptyObject(obj: any): boolean;
|
||||
isFunction(obj: any): boolean;
|
||||
isNumeric(value: any): boolean;
|
||||
isPlainObject(obj: any): boolean;
|
||||
isWindow(obj: any): boolean;
|
||||
isXMLDoc(node: Node): boolean;
|
||||
|
||||
makeArray(obj: any): any[];
|
||||
|
||||
map(array: any[], callback: (elementOfArray: any, indexInArray: any) => any): any[];
|
||||
|
||||
merge(first: any[], second: any[]): any[];
|
||||
|
||||
noop(): any;
|
||||
|
||||
now(): number;
|
||||
|
||||
parseHTML(data: string, context?: Element, keepScripts?: boolean): any[];
|
||||
parseJSON(json: string): any;
|
||||
|
||||
//FIXME: This should return an XMLDocument
|
||||
parseXML(data: string): any;
|
||||
|
||||
queue(element: Element, queueName: string, newQueue: any[]): JQuery;
|
||||
|
||||
trim(str: string): string;
|
||||
|
||||
type(obj: any): string;
|
||||
|
||||
unique(arr: any[]): any[];
|
||||
}
|
||||
|
||||
/*
|
||||
The jQuery instance members
|
||||
*/
|
||||
interface JQuery {
|
||||
// AJAX
|
||||
ajaxComplete(handler: any): JQuery;
|
||||
ajaxError(handler: (evt: any, xhr: any, opts: any) => any): JQuery;
|
||||
ajaxSend(handler: (evt: any, xhr: any, opts: any) => any): JQuery;
|
||||
ajaxStart(handler: () => any): JQuery;
|
||||
ajaxStop(handler: () => any): JQuery;
|
||||
ajaxSuccess(handler: (evt: any, xml: any, opts: any) => any): JQuery;
|
||||
|
||||
serialize(): string;
|
||||
serializeArray(): any[];
|
||||
|
||||
// Attributes
|
||||
addClass(classNames: string): JQuery;
|
||||
addClass(func: (index: any, currentClass: any) => JQuery): JQuery;
|
||||
|
||||
attr(attributeName: string): string;
|
||||
attr(attributeName: string, func: (index: any, attr: any) => any): JQuery;
|
||||
attr(attributeName: string, value: any): JQuery;
|
||||
attr(map: { [key: string]: any; }): JQuery;
|
||||
|
||||
hasClass(className: string): boolean;
|
||||
|
||||
html(): string;
|
||||
html(htmlString: string): JQuery;
|
||||
|
||||
prop(propertyName: string): any;
|
||||
prop(propertyName: string, func: (index: any, oldPropertyValue: any) => any): JQuery;
|
||||
prop(propertyName: string, value: any): JQuery;
|
||||
prop(map: any): JQuery;
|
||||
|
||||
removeAttr(attributeName: any): JQuery;
|
||||
|
||||
removeClass(func: (index: any, cls: any) => any): JQuery;
|
||||
removeClass(className?: string): JQuery;
|
||||
|
||||
removeProp(propertyName: any): JQuery;
|
||||
|
||||
toggleClass(func: (index: any, cls: any, swtch: any) => any): JQuery;
|
||||
toggleClass(swtch?: boolean): JQuery;
|
||||
toggleClass(className: any, swtch?: boolean): JQuery;
|
||||
|
||||
val(): any;
|
||||
val(value: string[]): JQuery;
|
||||
val(value: string): JQuery;
|
||||
val(func: (index: any, value: any) => any): JQuery;
|
||||
|
||||
// CSS
|
||||
css(propertyNames: any[]): string;
|
||||
css(propertyName: string): string;
|
||||
css(propertyName: string, value: any): JQuery;
|
||||
css(propertyName: any, value?: any): JQuery;
|
||||
|
||||
height(): number;
|
||||
height(value: number): JQuery;
|
||||
height(func: (index: any, height: any) => any): JQuery;
|
||||
|
||||
innerHeight(): number;
|
||||
innerWidth(): number;
|
||||
|
||||
offset(): { top: number; left: number; };
|
||||
offset(func: (index: any, coords: any) => any): JQuery;
|
||||
offset(coordinates: any): JQuery;
|
||||
|
||||
outerHeight(includeMargin?: boolean): number;
|
||||
outerWidth(includeMargin?: boolean): number;
|
||||
|
||||
position(): { top: number; left: number; };
|
||||
|
||||
scrollLeft(): number;
|
||||
scrollLeft(value: number): JQuery;
|
||||
|
||||
scrollTop(): number;
|
||||
scrollTop(value: number): JQuery;
|
||||
|
||||
width(): number;
|
||||
width(value: number): JQuery;
|
||||
width(func: (index: any, height: any) => any): JQuery;
|
||||
|
||||
// Data
|
||||
clearQueue(queueName?: string): JQuery;
|
||||
|
||||
data(key: string, value: any): JQuery;
|
||||
data(obj: { [key: string]: any; }): JQuery;
|
||||
data(key?: string): any;
|
||||
|
||||
dequeue(queueName?: string): JQuery;
|
||||
|
||||
queue(queueName?: string): any[];
|
||||
queue(queueName: string, newQueueOrCallback: any): JQuery;
|
||||
queue(newQueueOrCallback: any): JQuery;
|
||||
|
||||
removeData(nameOrList?: any): JQuery;
|
||||
|
||||
// Deferred
|
||||
promise(type?: any, target?: any): JQueryPromise;
|
||||
|
||||
// Effects
|
||||
animate(properties: any, options: { duration?: any; easing?: string; complete?: Function; step?: Function; queue?: boolean; specialEasing?: any; }): JQuery;
|
||||
animate(properties: any, duration?: any, easing?: "linear", complete?: Function): JQuery;
|
||||
animate(properties: any, duration?: any, easing?: "swing", complete?: Function): JQuery;
|
||||
animate(properties: any, duration?: any, easing?: string, complete?: Function): JQuery;
|
||||
|
||||
delay(duration: number, queueName?: string): JQuery;
|
||||
|
||||
fadeIn(duration?: any, easing?: "linear", complete?: Function): JQuery;
|
||||
fadeIn(duration?: any, easing?: "swing", complete?: Function): JQuery;
|
||||
fadeIn(duration?: any, easing?: string, complete?: Function): JQuery;
|
||||
fadeIn(duration?: any, complete?: Function): JQuery;
|
||||
|
||||
|
||||
fadeOut(duration?: any, easing?: "linear", complete?: Function): JQuery;
|
||||
fadeOut(duration?: any, easing?: "swing", complete?: Function): JQuery;
|
||||
fadeOut(duration?: any, easing?: string, complete?: Function): JQuery;
|
||||
fadeOut(duration?: any, complete?: any): JQuery;
|
||||
|
||||
fadeTo(duration: any, opacity: number, easing?: "linear", complete?: Function): JQuery;
|
||||
fadeTo(duration: any, opacity: number, easing?: "swing", complete?: Function): JQuery;
|
||||
fadeTo(duration: any, opacity: number, easing?: string, complete?: Function): JQuery;
|
||||
fadeTo(duration: any, opacity: number, complete?: Function): JQuery;
|
||||
|
||||
fadeToggle(duration?: any, easing?: "linear", complete?: Function): JQuery;
|
||||
fadeToggle(duration?: any, easing?: "swing", complete?: Function): JQuery;
|
||||
fadeToggle(duration?: any, easing?: string, complete?: Function): JQuery;
|
||||
|
||||
finish(queue?: string): JQuery;
|
||||
|
||||
hide(duration?: any, easing?: "linear", callback?: Function): JQuery;
|
||||
hide(duration?: any, easing?: "swing", callback?: Function): JQuery;
|
||||
hide(duration?: any, easing?: string, callback?: Function): JQuery;
|
||||
hide(duration?: any, callback?: Function): JQuery;
|
||||
|
||||
show(duration?: any, easing?: "linear", complete?: Function): JQuery;
|
||||
show(duration?: any, easing?: "swing", complete?: Function): JQuery;
|
||||
show(duration?: any, easing?: string, complete?: Function): JQuery;
|
||||
show(duration?: any, complete?: Function): JQuery;
|
||||
|
||||
slideDown(duration?: any, easing?: "linear", complete?: Function): JQuery;
|
||||
slideDown(duration?: any, easing?: "swing", complete?: Function): JQuery;
|
||||
slideDown(duration?: any, easing?: string, complete?: Function): JQuery;
|
||||
slideDown(duration?: any, complete?: Function): JQuery;
|
||||
|
||||
slideToggle(duration?: any, easing?: "linear", complete?: Function): JQuery;
|
||||
slideToggle(duration?: any, easing?: "swing", complete?: Function): JQuery;
|
||||
slideToggle(duration?: any, easing?: string, complete?: Function): JQuery;
|
||||
slideToggle(duration?: any, complete?: Function): JQuery;
|
||||
|
||||
slideUp(duration?: any, easing?: "linear", complete?: Function): JQuery;
|
||||
slideUp(duration?: any, easing?: "swing", complete?: Function): JQuery;
|
||||
slideUp(duration?: any, easing?: string, complete?: Function): JQuery;
|
||||
slideUp(duration?: any, complete?: Function): JQuery;
|
||||
|
||||
stop(clearQueue?: boolean, jumpToEnd?: boolean): JQuery;
|
||||
stop(queue?: any, clearQueue?: boolean, jumpToEnd?: boolean): JQuery;
|
||||
|
||||
toggle(showOrHide: boolean): JQuery;
|
||||
toggle(duration?: any, easing?: "linear", complete?: Function): JQuery;
|
||||
toggle(duration?: any, easing?: "swing", complete?: Function): JQuery;
|
||||
toggle(duration?: any, easing?: string, complete?: Function): JQuery;
|
||||
toggle(duration?: any, complete?: Function): JQuery;
|
||||
|
||||
// Events
|
||||
bind(eventType: string, preventBubble: boolean): JQuery;
|
||||
bind(eventType: string, eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
bind(eventType: string, eventData: any, preventBubble: boolean): JQuery;
|
||||
bind(...events: any[]): JQuery;
|
||||
|
||||
blur(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
blur(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
change(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
change(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
click(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
click(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
dblclick(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
dblclick(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
delegate(selector: any, eventType: string, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
focus(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
focus(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
focusin(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
focusin(eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
focusout(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
focusout(eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
hover(handlerIn: (eventObject: JQueryEventObject) => any, handlerOut: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
hover(handlerInOut: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
keydown(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
keydown(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
keypress(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
keypress(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
keyup(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
keyup(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
mousedown(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
mousedown(eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
mouseevent(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
mouseevent(eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
mouseenter(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
mouseenter(eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
mouseleave(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
mouseleave(eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
mousemove(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
mousemove(eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
mouseout(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
mouseout(eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
mouseover(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
mouseover(eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
mouseup(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
mouseup(eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
off(events?: string, selector?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
off(eventsMap: { [key: string]: any; }, selector?: any): JQuery;
|
||||
|
||||
on(events: string, selector?: any, data?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
on(eventsMap: { [key: string]: any; }, selector?: any, data?: any): JQuery;
|
||||
|
||||
one(events: string, selector?: any, data?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
one(eventsMap: { [key: string]: any; }, selector?: any, data?: any): JQuery;
|
||||
|
||||
ready(handler: any): JQuery;
|
||||
|
||||
resize(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
resize(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
scroll(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
scroll(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
select(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
select(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
submit(handler: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
submit(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
|
||||
trigger(eventType: string, ...extraParameters: any[]): JQuery;
|
||||
trigger(event: JQueryEventObject): JQuery;
|
||||
|
||||
triggerHandler(eventType: string, ...extraParameters: any[]): Object;
|
||||
|
||||
unbind(eventType?: string, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
unbind(eventType: string, fls: boolean): JQuery;
|
||||
unbind(evt: any): JQuery;
|
||||
|
||||
undelegate(): JQuery;
|
||||
undelegate(selector: any, eventType: string, handler?: (eventObject: JQueryEventObject) => any): JQuery;
|
||||
undelegate(selector: any, events: any): JQuery;
|
||||
undelegate(namespace: string): JQuery;
|
||||
|
||||
// Internals
|
||||
context: Element;
|
||||
jquery: string;
|
||||
pushStack(elements: any[]): JQuery;
|
||||
pushStack(elements: any[], name: any, arguments: any): JQuery;
|
||||
|
||||
// Manipulation
|
||||
after(func: (index: any) => any): JQuery;
|
||||
after(...content: any[]): JQuery;
|
||||
|
||||
append(func: (index: any, html: any) => any): JQuery;
|
||||
append(...content: any[]): JQuery;
|
||||
|
||||
appendTo(target: any): JQuery;
|
||||
|
||||
before(func: (index: any) => any): JQuery;
|
||||
before(...content: any[]): JQuery;
|
||||
|
||||
clone(withDataAndEvents?: boolean, deepWithDataAndEvents?: boolean): JQuery;
|
||||
|
||||
detach(selector?: any): JQuery;
|
||||
|
||||
empty(): JQuery;
|
||||
|
||||
insertAfter(target: any): JQuery;
|
||||
insertBefore(target: any): JQuery;
|
||||
|
||||
prepend(func: (index: any, html: any) => any): JQuery;
|
||||
prepend(...content: any[]): JQuery;
|
||||
|
||||
prependTo(target: any): JQuery;
|
||||
|
||||
remove(selector?: any): JQuery;
|
||||
|
||||
replaceAll(target: any): JQuery;
|
||||
|
||||
replaceWith(func: any): JQuery;
|
||||
|
||||
text(textString: string): JQuery;
|
||||
text(): string;
|
||||
|
||||
toArray(): any[];
|
||||
|
||||
unwrap(): JQuery;
|
||||
|
||||
wrap(func: (index: any) => any): JQuery;
|
||||
wrap(wrappingElement: any): JQuery;
|
||||
|
||||
wrapAll(wrappingElement: any): JQuery;
|
||||
|
||||
wrapInner(func: (index: any) => any): JQuery;
|
||||
wrapInner(wrappingElement: any): JQuery;
|
||||
|
||||
// Miscellaneous
|
||||
each(func: (index: any, elem: Element) => any): JQuery;
|
||||
|
||||
get(index?: number): any;
|
||||
|
||||
index(selectorOrElement?: any): number;
|
||||
|
||||
// Properties
|
||||
length: number;
|
||||
[x: number]: HTMLElement;
|
||||
|
||||
// Traversing
|
||||
add(selector: string, context?: any): JQuery;
|
||||
add(html: string): JQuery;
|
||||
add(obj: JQuery): JQuery;
|
||||
add(...elements: any[]): JQuery;
|
||||
|
||||
addBack(selector?: any): JQuery;
|
||||
|
||||
children(selector?: any): JQuery;
|
||||
|
||||
closest(selector: string): JQuery;
|
||||
closest(selector: string, context?: Element): JQuery;
|
||||
closest(obj: JQuery): JQuery;
|
||||
closest(element: any): JQuery;
|
||||
closest(selectors: any, context?: Element): any[];
|
||||
|
||||
contents(): JQuery;
|
||||
|
||||
end(): JQuery;
|
||||
|
||||
eq(index: number): JQuery;
|
||||
|
||||
filter(selector: string): JQuery;
|
||||
filter(func: (index: any) => any): JQuery;
|
||||
filter(obj: JQuery): JQuery;
|
||||
filter(element: any): JQuery;
|
||||
|
||||
find(selector: string): JQuery;
|
||||
find(element: any): JQuery;
|
||||
find(obj: JQuery): JQuery;
|
||||
|
||||
first(): JQuery;
|
||||
|
||||
has(selector: string): JQuery;
|
||||
has(contained: Element): JQuery;
|
||||
|
||||
is(selector: string): boolean;
|
||||
is(func: (index: any) => any): boolean;
|
||||
is(obj: JQuery): boolean;
|
||||
is(element: any): boolean;
|
||||
|
||||
last(): JQuery;
|
||||
|
||||
map(callback: (index: any, domElement: Element) => any): JQuery;
|
||||
|
||||
next(selector?: string): JQuery;
|
||||
|
||||
nextAll(selector?: string): JQuery;
|
||||
|
||||
nextUntil(selector?: string, filter?: string): JQuery;
|
||||
nextUntil(element?: Element, filter?: string): JQuery;
|
||||
|
||||
not(selector: string): JQuery;
|
||||
not(func: (index: any) => any): JQuery;
|
||||
not(obj: JQuery): JQuery;
|
||||
not(element: any): JQuery;
|
||||
|
||||
offsetParent(): JQuery;
|
||||
|
||||
parent(selector?: string): JQuery;
|
||||
|
||||
parents(selector?: string): JQuery;
|
||||
|
||||
parentsUntil(selector?: string, filter?: string): JQuery;
|
||||
parentsUntil(element?: Element, filter?: string): JQuery;
|
||||
|
||||
prev(selector?: string): JQuery;
|
||||
|
||||
prevAll(selector?: string): JQuery;
|
||||
|
||||
prevUntil(selector?: string, filter?: string): JQuery;
|
||||
prevUntil(element?: Element, filter?: string): JQuery;
|
||||
|
||||
siblings(selector?: string): JQuery;
|
||||
|
||||
slice(start: number, end?: number): JQuery;
|
||||
}
|
||||
|
||||
declare var jQuery: JQueryStatic;
|
||||
declare var $: JQueryStatic;
|
||||
98
samples/jquery/parallax.html
Normal file
98
samples/jquery/parallax.html
Normal file
@ -0,0 +1,98 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title></title>
|
||||
<style type="text/css">
|
||||
#plaxHost {
|
||||
height: 2000px;
|
||||
background-color: Black;
|
||||
}
|
||||
|
||||
#plaxHost div {
|
||||
width: 95%;
|
||||
}
|
||||
|
||||
#plax1 {
|
||||
position: fixed;
|
||||
color:White;
|
||||
height: 2000px;
|
||||
background-image: url(starfield2.png);
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
#plax2 {
|
||||
position: fixed;
|
||||
height: 2000px;
|
||||
background-image: url(starfield.png);
|
||||
background-position: 1087px 0;
|
||||
top: 0;
|
||||
|
||||
left: 0;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
#plax3 {
|
||||
position: fixed;
|
||||
height: 2000px;
|
||||
background-position: 577px 0;
|
||||
background-image: url(starfield.png);
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
#plax4 {
|
||||
position: fixed;
|
||||
height: 2000px;
|
||||
background-position: 337px 0;
|
||||
background-image: url(starfield.png);
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 4;
|
||||
}
|
||||
|
||||
#plax5 {
|
||||
position: fixed;
|
||||
height: 2000px;
|
||||
background-position: 145px 0;
|
||||
background-image: url(starfield.png);
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="plaxHost">
|
||||
<div id="plax1">
|
||||
|
||||
</div>
|
||||
<div id="plax2">
|
||||
|
||||
</div>
|
||||
<div id="plax3">
|
||||
|
||||
</div>
|
||||
<div id="plax4">
|
||||
|
||||
</div>
|
||||
<div id="plax5">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.10.1.min.js"></script>
|
||||
<script type="text/javascript" src="parallax.js"></script>
|
||||
<script type="text/javascript">
|
||||
var p = new Parallax.ParallaxContainer(window, 0.7);
|
||||
for (i = 1; i <= 5; ++i) {
|
||||
var star_layer = new Parallax.ParallaxSurface(document.querySelector('#plax' + i));
|
||||
p.addSurface(star_layer);
|
||||
}
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
58
samples/jquery/parallax.ts
Normal file
58
samples/jquery/parallax.ts
Normal file
@ -0,0 +1,58 @@
|
||||
/// <reference path="jquery.d.ts" />
|
||||
|
||||
module Parallax {
|
||||
export class ParallaxContainer {
|
||||
private content: HTMLElement;
|
||||
private perspective: number;
|
||||
private surface: ParallaxSurface[];
|
||||
|
||||
/**
|
||||
* Creates a Container for a Parallax
|
||||
*
|
||||
* @param {HTMLElement} scrollableContent The container that will be parallaxed
|
||||
* @param {perspective} perspective The ratio of how much back content should be scroleld relative to forward content. For example, if this value is 0.5, and there are 2 surfaces,
|
||||
* the front-most surface would be scrolled normally, and the surface behind it would be scrolled half as much.
|
||||
*/
|
||||
constructor(scrollableContent: HTMLElement,
|
||||
perspective: number) {
|
||||
this.perspective = perspective;
|
||||
this.surface = [];
|
||||
this.content = scrollableContent;
|
||||
|
||||
$(scrollableContent).scroll((event: JQueryEventObject) => {
|
||||
this.onContainerScroll(event);
|
||||
});
|
||||
}
|
||||
|
||||
private onContainerScroll(e: JQueryEventObject): void {
|
||||
var currentScrollPos = $(this.content).scrollTop();
|
||||
var currentParallax = 1;
|
||||
for (var i = 0; i < this.surface.length; i++) {
|
||||
var surface = this.surface[i];
|
||||
var offset = -(currentScrollPos * currentParallax);
|
||||
surface.currentY = offset;
|
||||
currentParallax *= this.perspective;
|
||||
}
|
||||
}
|
||||
|
||||
addSurface(surface: ParallaxSurface): void {
|
||||
this.surface.push(surface);
|
||||
}
|
||||
}
|
||||
|
||||
export class ParallaxSurface {
|
||||
private content: HTMLElement;
|
||||
|
||||
constructor(surfaceContents: HTMLElement) {
|
||||
this.content = surfaceContents;
|
||||
}
|
||||
|
||||
get currentY(): number {
|
||||
return -$(this.content).css('margin-top');
|
||||
}
|
||||
|
||||
set currentY(value: number) {
|
||||
$(this.content).css({ marginTop: value });
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
samples/jquery/starfield.png
Normal file
BIN
samples/jquery/starfield.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
72
samples/mankala/Base.ts
Normal file
72
samples/mankala/Base.ts
Normal file
@ -0,0 +1,72 @@
|
||||
///<reference path="Driver.ts"/>
|
||||
|
||||
module Base {
|
||||
export interface IList {
|
||||
isHead: boolean;
|
||||
next: IList;
|
||||
prev: IList;
|
||||
insertAfter(entry: IList): IList;
|
||||
insertBefore(entry: IList): IList;
|
||||
item();
|
||||
empty(): boolean;
|
||||
}
|
||||
|
||||
export class List implements IList {
|
||||
next: IList;
|
||||
prev: IList;
|
||||
|
||||
constructor (public isHead: boolean, public data) { }
|
||||
|
||||
item() {
|
||||
return this.data;
|
||||
}
|
||||
|
||||
empty(): boolean {
|
||||
return this.next == this;
|
||||
}
|
||||
|
||||
insertAfter(entry: IList): IList {
|
||||
entry.next = this.next;
|
||||
entry.prev = this;
|
||||
this.next = entry;
|
||||
entry.next.prev = entry;
|
||||
return (entry);
|
||||
}
|
||||
|
||||
insertBefore(entry: IList): IList {
|
||||
this.prev.next = entry;
|
||||
entry.next = this;
|
||||
entry.prev = this.prev;
|
||||
this.prev = entry;
|
||||
return entry;
|
||||
}
|
||||
}
|
||||
|
||||
export function listMakeEntry(data): IList {
|
||||
var entry: List = new List(false, data);
|
||||
entry.prev = entry;
|
||||
entry.next = entry;
|
||||
return entry;
|
||||
}
|
||||
|
||||
export function listMakeHead(): IList {
|
||||
var entry: List = new List(true, null);
|
||||
entry.prev = entry;
|
||||
entry.next = entry;
|
||||
return entry;
|
||||
}
|
||||
|
||||
export function listRemove(entry: IList): IList {
|
||||
if (entry == null) {
|
||||
return null;
|
||||
}
|
||||
else if (entry.isHead) {
|
||||
return null;
|
||||
}
|
||||
else {
|
||||
entry.next.prev = entry.prev;
|
||||
entry.prev.next = entry.next;
|
||||
}
|
||||
return (entry);
|
||||
}
|
||||
}
|
||||
10
samples/mankala/Driver.ts
Normal file
10
samples/mankala/Driver.ts
Normal file
@ -0,0 +1,10 @@
|
||||
///<reference path='Position.ts'/>
|
||||
///<reference path='Geometry.ts'/>
|
||||
///<reference path='Game.ts'/>
|
||||
///<reference path='Features.ts'/>
|
||||
///<reference path='Base.ts'/>
|
||||
|
||||
if (!this.document) {
|
||||
var game = new Mankala.Game();
|
||||
game.test();
|
||||
}
|
||||
29
samples/mankala/Features.ts
Normal file
29
samples/mankala/Features.ts
Normal file
@ -0,0 +1,29 @@
|
||||
///<reference path="Driver.ts"/>
|
||||
|
||||
module Mankala {
|
||||
export class Features {
|
||||
public turnContinues = false;
|
||||
public seedStoredCount = 0;
|
||||
public capturedCount = 0;
|
||||
public spaceCaptured = NoSpace;
|
||||
|
||||
public clear() {
|
||||
this.turnContinues = false;
|
||||
this.seedStoredCount = 0;
|
||||
this.capturedCount = 0;
|
||||
this.spaceCaptured = NoSpace;
|
||||
}
|
||||
|
||||
public toString() {
|
||||
var stringBuilder = "";
|
||||
if (this.turnContinues) {
|
||||
stringBuilder += " turn continues,";
|
||||
}
|
||||
stringBuilder += " stores " + this.seedStoredCount;
|
||||
if (this.capturedCount > 0) {
|
||||
stringBuilder += " captures " + this.capturedCount + " from space " + this.spaceCaptured;
|
||||
}
|
||||
return stringBuilder;
|
||||
}
|
||||
}
|
||||
}
|
||||
244
samples/mankala/Game.ts
Normal file
244
samples/mankala/Game.ts
Normal file
@ -0,0 +1,244 @@
|
||||
///<reference path="Driver.ts"/>
|
||||
|
||||
module Mankala {
|
||||
export var NoSpace = -1;
|
||||
export var homeSpaces = [[0, 1, 2, 3, 4, 5],
|
||||
[7, 8, 9, 10, 11, 12]];
|
||||
export var firstHomeSpace = [0, 7];
|
||||
export var lastHomeSpace = [5, 12];
|
||||
export var capturedSpaces = [12, 11, 10, 9, 8, 7, NoSpace, 5, 4, 3, 2, 1, 0, NoSpace];
|
||||
export var NoScore = 31;
|
||||
export var NoMove = -1;
|
||||
|
||||
export interface IPositionList extends Base.IList {
|
||||
data: Position;
|
||||
push(pos: Position);
|
||||
pop(): Position;
|
||||
}
|
||||
|
||||
function pushPosition(pos: Position, l: IPositionList) {
|
||||
l.insertAfter(Base.listMakeEntry(pos));
|
||||
}
|
||||
|
||||
function popPosition(l: IPositionList) {
|
||||
var entry: IPositionList = <IPositionList>Base.listRemove(l.next);
|
||||
if (entry != null) {
|
||||
return entry.data;
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
export function testBrowser() {
|
||||
var game = new Game();
|
||||
game.interactive();
|
||||
var bod = document.getElementById("bod");
|
||||
bod.onresize = function() {
|
||||
game.resize();
|
||||
}
|
||||
}
|
||||
|
||||
export class Game {
|
||||
private position = new DisplayPosition([3, 3, 3, 3, 3, 3, 0, 3, 3, 3, 3, 3, 3, 0], NoMove, 0);
|
||||
private prevConfig: SeedCoords[][];
|
||||
private q: IPositionList = null;
|
||||
private scores: number[] = null;
|
||||
private positionCount = 0;
|
||||
private moveCount = 0;
|
||||
private isInteractive = false;
|
||||
|
||||
private features = new Features();
|
||||
private nextSeedCounts: number[] = new Array<number>(14);
|
||||
private bod: Element;
|
||||
private boardElm: Element = null;
|
||||
|
||||
public resize() {
|
||||
if (this.boardElm != null) {
|
||||
this.bod.removeChild(this.boardElm);
|
||||
}
|
||||
this.showMove();
|
||||
}
|
||||
|
||||
private step(): boolean {
|
||||
var move = this.findMove();
|
||||
if (move != NoMove) {
|
||||
this.position.move(move, this.nextSeedCounts, this.features);
|
||||
this.position = new DisplayPosition(this.nextSeedCounts.slice(0), NoMove,
|
||||
this.features.turnContinues ? this.position.turn : 1 - this.position.turn);
|
||||
this.position.config = this.prevConfig;
|
||||
if ((!this.isInteractive) || (this.position.turn == 1)) {
|
||||
this.setStep();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
private setStep() {
|
||||
setTimeout(/*function()*/ () => {
|
||||
if (!this.step()) {
|
||||
this.finish();
|
||||
}
|
||||
this.bod.removeChild(this.boardElm);
|
||||
this.showMove();
|
||||
}, 1000);
|
||||
}
|
||||
|
||||
private finish() {
|
||||
var sum = 0;
|
||||
var otherSpaces = homeSpaces[1 - this.position.turn];
|
||||
for (var k = 0, len = otherSpaces.length; k < len; k++) {
|
||||
sum += this.position.seedCounts[otherSpaces[k]];
|
||||
this.position.seedCounts[otherSpaces[k]] = 0;
|
||||
}
|
||||
this.position.seedCounts[storeHouses[this.position.turn]] += sum;
|
||||
}
|
||||
|
||||
private auto() {
|
||||
// initialize
|
||||
this.bod = document.getElementById("bod");
|
||||
this.showMove();
|
||||
// run with timeout
|
||||
this.setStep();
|
||||
}
|
||||
|
||||
private showMove(): void {
|
||||
var hsc = document.getElementById("humscore");
|
||||
var csc = document.getElementById("compscore");
|
||||
|
||||
var g = this;
|
||||
if (!this.isInteractive) {
|
||||
g = null;
|
||||
}
|
||||
this.boardElm = this.position.toCircleSVG(g);
|
||||
this.prevConfig = this.position.config;
|
||||
hsc.innerText = this.position.seedCounts[storeHouses[0]] +
|
||||
((this.position.turn == 0) ? " <-Turn" : "");
|
||||
csc.innerText = this.position.seedCounts[storeHouses[1]] +
|
||||
((this.position.turn == 1) ? " <-Turn" : "");
|
||||
this.bod.appendChild(this.boardElm);
|
||||
}
|
||||
|
||||
public humanMove(seed: number) {
|
||||
if (this.position.turn == 0) {
|
||||
this.position.move(seed, this.nextSeedCounts, this.features);
|
||||
this.position = new DisplayPosition(this.nextSeedCounts.slice(0), NoMove,
|
||||
this.features.turnContinues ? this.position.turn : 1 - this.position.turn);
|
||||
this.position.config = this.prevConfig;
|
||||
this.bod.removeChild(this.boardElm);
|
||||
this.showMove();
|
||||
if (this.position.turn == 1) {
|
||||
this.setStep();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public interactive() {
|
||||
this.isInteractive = true;
|
||||
this.bod = document.getElementById("bod");
|
||||
this.showMove();
|
||||
}
|
||||
|
||||
private expand(curPos: Position, move: number,
|
||||
startMove: number, nextSeedCounts: number[]) {
|
||||
var features = new Features();
|
||||
if (curPos.move(move, nextSeedCounts, features)) {
|
||||
var pos = new Position(nextSeedCounts.slice(0), startMove, curPos.turn);
|
||||
this.positionCount++;
|
||||
if (!features.turnContinues) {
|
||||
pos.turn = 1 - pos.turn;
|
||||
}
|
||||
var score = pos.score();
|
||||
if (this.scores[startMove] == NoScore) {
|
||||
this.scores[startMove] = score;
|
||||
}
|
||||
else {
|
||||
this.scores[startMove] += score;
|
||||
}
|
||||
pushPosition(pos, this.q);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
private findMove() {
|
||||
var timeStart = new Date().getTime();
|
||||
this.q = <IPositionList>Base.listMakeHead();
|
||||
this.scores = [NoScore, NoScore, NoScore, NoScore, NoScore, NoScore];
|
||||
pushPosition(this.position, this.q);
|
||||
var deltaTime = 0;
|
||||
var moves = homeSpaces[this.position.turn];
|
||||
var nextSeedCounts: number[] = new Array<number>(14);
|
||||
var movePossible = false;
|
||||
while ((!this.q.empty()) && (deltaTime < 500)) {
|
||||
var firstPos = popPosition(this.q);
|
||||
for (var i = 0, len = moves.length; i < len; i++) {
|
||||
var startMove = firstPos.startMove;
|
||||
if (startMove == NoMove) {
|
||||
startMove = i;
|
||||
}
|
||||
if (this.expand(firstPos, moves[i], startMove, nextSeedCounts)) {
|
||||
movePossible = true;
|
||||
}
|
||||
}
|
||||
deltaTime = new Date().getTime() - timeStart;
|
||||
}
|
||||
if (movePossible) {
|
||||
var bestScore = -100;
|
||||
var bestMove = NoMove;
|
||||
for (var j = 0, scoresLen = this.scores.length; j < scoresLen; j++) {
|
||||
if ((this.scores[j] != NoScore) && ((this.scores[j] > bestScore) || (bestMove == NoMove))) {
|
||||
bestScore = this.scores[j];
|
||||
bestMove = j;
|
||||
}
|
||||
}
|
||||
if (bestMove != NoMove) {
|
||||
return moves[bestMove];
|
||||
} else {
|
||||
return NoMove;
|
||||
}
|
||||
}
|
||||
return NoMove;
|
||||
}
|
||||
|
||||
public test() {
|
||||
var features = new Features();
|
||||
var nextSeedCounts: number[] = new Array<number>(14);
|
||||
WScript.Echo("position: ")
|
||||
WScript.Echo(this.position.seedCounts.slice(0, 7));
|
||||
WScript.Echo(this.position.seedCounts.slice(7));
|
||||
do {
|
||||
var move = this.findMove();
|
||||
if (move == NoMove) {
|
||||
// TODO: capture rest of other side
|
||||
} else {
|
||||
this.moveCount++;
|
||||
WScript.Echo(this.position.turn + " moves seeds in space " + move);
|
||||
this.position.move(move, nextSeedCounts, features);
|
||||
WScript.Echo(features.toString());
|
||||
this.position = new DisplayPosition(nextSeedCounts.slice(0), NoMove,
|
||||
features.turnContinues ? this.position.turn : 1 - this.position.turn);
|
||||
WScript.Echo("position: ")
|
||||
WScript.Echo(this.position.seedCounts.slice(0, 7));
|
||||
WScript.Echo(this.position.seedCounts.slice(7));
|
||||
}
|
||||
} while (move != NoMove);
|
||||
var sum = 0;
|
||||
var otherSpaces = homeSpaces[1 - this.position.turn];
|
||||
for (var k = 0, len = otherSpaces.length; k < len; k++) {
|
||||
sum += this.position.seedCounts[otherSpaces[k]];
|
||||
this.position.seedCounts[otherSpaces[k]] = 0;
|
||||
}
|
||||
this.position.seedCounts[storeHouses[this.position.turn]] += sum;
|
||||
WScript.Echo("final position: ")
|
||||
WScript.Echo(this.position.seedCounts.slice(0, 7));
|
||||
WScript.Echo(this.position.seedCounts.slice(7));
|
||||
var player1Count = this.position.seedCounts[storeHouses[0]];
|
||||
var player2Count = this.position.seedCounts[storeHouses[1]];
|
||||
WScript.Echo("storehouse 1 has " + player1Count);
|
||||
WScript.Echo("storehouse 2 has " + player2Count);
|
||||
WScript.Echo("average positions explored per move " +
|
||||
(this.positionCount / this.moveCount).toFixed(2));
|
||||
}
|
||||
}
|
||||
}
|
||||
242
samples/mankala/Position.ts
Normal file
242
samples/mankala/Position.ts
Normal file
@ -0,0 +1,242 @@
|
||||
///<reference path="Driver.ts"/>
|
||||
|
||||
module Mankala {
|
||||
export var storeHouses = [6, 13];
|
||||
var svgNS = "http://www.w3.org/2000/svg";
|
||||
|
||||
function createSVGRect(r: Rectangle) {
|
||||
var rect = document.createElementNS(svgNS, "rect");
|
||||
rect.setAttribute("x", r.x.toString());
|
||||
rect.setAttribute("y", r.y.toString());
|
||||
rect.setAttribute("width", r.width.toString());
|
||||
rect.setAttribute("height", r.height.toString());
|
||||
return rect;
|
||||
}
|
||||
|
||||
function createSVGEllipse(r: Rectangle) {
|
||||
var ell = document.createElementNS(svgNS, "ellipse");
|
||||
ell.setAttribute("rx", (r.width / 2).toString());
|
||||
ell.setAttribute("ry", (r.height / 2).toString());
|
||||
ell.setAttribute("cx", (r.x + r.width / 2).toString());
|
||||
ell.setAttribute("cy", (r.y + r.height / 2).toString());
|
||||
return ell;
|
||||
}
|
||||
|
||||
function createSVGEllipsePolar(angle: number, radius: number, tx: number, ty: number,
|
||||
cxo: number, cyo: number) {
|
||||
var ell = document.createElementNS(svgNS, "ellipse");
|
||||
ell.setAttribute("rx", radius.toString());
|
||||
ell.setAttribute("ry", (radius / 3).toString());
|
||||
ell.setAttribute("cx", cxo.toString());
|
||||
ell.setAttribute("cy", cyo.toString());
|
||||
var dangle = angle * (180 / Math.PI);
|
||||
ell.setAttribute("transform", "rotate(" + dangle + "," + cxo + "," + cyo + ") translate(" + tx +
|
||||
"," + ty + ")");
|
||||
return ell;
|
||||
}
|
||||
|
||||
function createSVGInscribedCircle(sq: Square) {
|
||||
var circle = document.createElementNS(svgNS, "circle");
|
||||
circle.setAttribute("r", (sq.len / 2).toString());
|
||||
circle.setAttribute("cx", (sq.x + (sq.len / 2)).toString());
|
||||
circle.setAttribute("cy", (sq.y + (sq.len / 2)).toString());
|
||||
return circle;
|
||||
}
|
||||
|
||||
export class Position {
|
||||
constructor (public seedCounts: number[], public startMove: number, public turn: number) { }
|
||||
public score() {
|
||||
var baseScore = this.seedCounts[storeHouses[1 - this.turn]] - this.seedCounts[storeHouses[this.turn]];
|
||||
var otherSpaces = homeSpaces[this.turn];
|
||||
var sum = 0;
|
||||
for (var k = 0, len = otherSpaces.length; k < len; k++) {
|
||||
sum += this.seedCounts[otherSpaces[k]];
|
||||
}
|
||||
if (sum == 0) {
|
||||
var mySpaces = homeSpaces[1 - this.turn];
|
||||
var mySum = 0;
|
||||
for (var j = 0, length = mySpaces.length; j < length; j++) {
|
||||
mySum += this.seedCounts[mySpaces[j]];
|
||||
}
|
||||
|
||||
baseScore -= mySum;
|
||||
}
|
||||
return baseScore;
|
||||
}
|
||||
|
||||
public move(space: number, nextSeedCounts: number[], features: Features) {
|
||||
if ((space == storeHouses[0]) || (space == storeHouses[1])) {
|
||||
// can't move seeds in storehouse
|
||||
return false;
|
||||
}
|
||||
if (this.seedCounts[space] > 0) {
|
||||
features.clear();
|
||||
var len = this.seedCounts.length;
|
||||
for (var i = 0; i < len; i++) {
|
||||
nextSeedCounts[i] = this.seedCounts[i];
|
||||
}
|
||||
var seedCount = this.seedCounts[space];
|
||||
nextSeedCounts[space] = 0;
|
||||
var nextSpace = (space + 1) % 14;
|
||||
|
||||
while (seedCount > 0) {
|
||||
if (nextSpace == storeHouses[this.turn]) {
|
||||
features.seedStoredCount++;
|
||||
}
|
||||
if ((nextSpace != storeHouses[1 - this.turn])) {
|
||||
nextSeedCounts[nextSpace]++;
|
||||
seedCount--;
|
||||
}
|
||||
if (seedCount == 0) {
|
||||
if (nextSpace == storeHouses[this.turn]) {
|
||||
features.turnContinues = true;
|
||||
} else if ((nextSeedCounts[nextSpace] == 1) &&
|
||||
(nextSpace >= firstHomeSpace[this.turn]) &&
|
||||
(nextSpace <= lastHomeSpace[this.turn])) {
|
||||
// capture
|
||||
var capturedSpace = capturedSpaces[nextSpace];
|
||||
if (capturedSpace >= 0) {
|
||||
features.spaceCaptured = capturedSpace;
|
||||
features.capturedCount = nextSeedCounts[capturedSpace];
|
||||
nextSeedCounts[capturedSpace] = 0;
|
||||
nextSeedCounts[storeHouses[this.turn]] += features.capturedCount;
|
||||
features.seedStoredCount += nextSeedCounts[capturedSpace];
|
||||
}
|
||||
}
|
||||
}
|
||||
nextSpace = (nextSpace + 1) % 14;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class SeedCoords {
|
||||
constructor(public tx: number, public ty: number, public angle: number) { }
|
||||
}
|
||||
|
||||
export class DisplayPosition extends Position {
|
||||
constructor (seedCounts: number[], startMove: number, turn: number) {
|
||||
super(seedCounts, startMove, turn);
|
||||
|
||||
for (var i = 0; i < seedCounts.length; i++) {
|
||||
this.config[i] = [];
|
||||
}
|
||||
}
|
||||
public config: SeedCoords[][] = [];
|
||||
|
||||
|
||||
private seedCircleRect(rect: Rectangle, seedCount: number, board: Element, seed: number, circleClick: EventListener) {
|
||||
var coords = this.config[seed];
|
||||
var sq = rect.inner(0.95).square();
|
||||
var cxo = (sq.width / 2) + sq.x;
|
||||
var cyo = (sq.height / 2) + sq.y;
|
||||
var seedNumbers = [5, 7, 9, 11];
|
||||
var ringIndex = 0;
|
||||
var ringRem = seedNumbers[ringIndex];
|
||||
var angleDelta = (2 * Math.PI) / ringRem;
|
||||
var angle = angleDelta;
|
||||
var seedLength = sq.width / (seedNumbers.length << 1);
|
||||
var crMax = sq.width / 2 - (seedLength / 2);
|
||||
var pit = createSVGInscribedCircle(sq);
|
||||
if (seed < 7) {
|
||||
pit.setAttribute("fill", "brown");
|
||||
if (circleClick != null) {
|
||||
pit.addEventListener('click', circleClick);
|
||||
}
|
||||
} else {
|
||||
pit.setAttribute("fill", "saddlebrown");
|
||||
}
|
||||
board.appendChild(pit);
|
||||
var seedsSeen = 0;
|
||||
while (seedCount > 0) {
|
||||
if (ringRem == 0) {
|
||||
ringIndex++;
|
||||
ringRem = seedNumbers[ringIndex];
|
||||
angleDelta = (2 * Math.PI) / ringRem;
|
||||
angle = angleDelta;
|
||||
}
|
||||
var tx: number;
|
||||
var ty: number;
|
||||
var tangle = angle;
|
||||
if (coords.length > seedsSeen) {
|
||||
tx = coords[seedsSeen].tx;
|
||||
ty = coords[seedsSeen].ty;
|
||||
tangle = coords[seedsSeen].angle;
|
||||
} else {
|
||||
tx = (Math.random() * crMax) - (crMax / 3);
|
||||
ty = (Math.random() * crMax) - (crMax / 3);
|
||||
coords[seedsSeen] = new SeedCoords(tx, ty, angle);
|
||||
}
|
||||
var ell = createSVGEllipsePolar(tangle, seedLength, tx, ty, cxo, cyo);
|
||||
board.appendChild(ell);
|
||||
angle += angleDelta;
|
||||
ringRem--;
|
||||
seedCount--;
|
||||
seedsSeen++;
|
||||
}
|
||||
}
|
||||
|
||||
public toCircleSVG(game: Game) {
|
||||
var seedDivisions = 14;
|
||||
var bod = document.getElementById("bod");
|
||||
var board = document.createElementNS(svgNS, "svg");
|
||||
var w = window.innerWidth - 40;
|
||||
var h = window.innerHeight - 40;
|
||||
var boardRect = new Rectangle(0, 0, w, h);
|
||||
board.setAttribute("width", w.toString());
|
||||
board.setAttribute("height", h.toString());
|
||||
var whole = createSVGRect(boardRect);
|
||||
whole.setAttribute("fill", "tan");
|
||||
board.appendChild(whole);
|
||||
//var labPlayLab=boardRect.proportionalSplitVert(20,760,20);
|
||||
//var playSurface=labPlayLab[1];
|
||||
var playSurface = boardRect;
|
||||
var storeMainStore = playSurface.proportionalSplitHoriz(8, 48, 8);
|
||||
var mainPair = storeMainStore[1].subDivideVert(2);
|
||||
var playerRects = [mainPair[0].subDivideHoriz(6),
|
||||
mainPair[1].subDivideHoriz(6)];
|
||||
// reverse top layer because storehouse on left
|
||||
for (var k = 0; k < 3; k++) {
|
||||
var temp = playerRects[0][k];
|
||||
playerRects[0][k] = playerRects[0][5 - k];
|
||||
playerRects[0][5 - k] = temp;
|
||||
}
|
||||
var storehouses = [storeMainStore[0], storeMainStore[2]];
|
||||
var playerSeeds = this.seedCounts.length >> 1;
|
||||
for (var i = 0; i < 2; i++) {
|
||||
var player = playerRects[i];
|
||||
var storehouse = storehouses[i];
|
||||
var r: Rectangle;
|
||||
for (var j = 0; j < playerSeeds; j++) {
|
||||
var seed = (i * playerSeeds) + j;
|
||||
var seedCount = this.seedCounts[seed];
|
||||
if (j == (playerSeeds - 1)) {
|
||||
r = storehouse;
|
||||
} else {
|
||||
r = player[j];
|
||||
}
|
||||
if (game != null) {
|
||||
this.seedCircleRect(r, seedCount, board, seed,
|
||||
function(seed: number) {
|
||||
return function(evt: Event) {
|
||||
game.humanMove(seed);
|
||||
}
|
||||
}(seed));
|
||||
}
|
||||
else {
|
||||
this.seedCircleRect(r, seedCount, board, seed, null);
|
||||
}
|
||||
if (seedCount == 0) {
|
||||
// clear
|
||||
this.config[seed] = [];
|
||||
}
|
||||
}
|
||||
}
|
||||
return board;
|
||||
}
|
||||
}
|
||||
}
|
||||
18
samples/mankala/README.txt
Normal file
18
samples/mankala/README.txt
Normal file
@ -0,0 +1,18 @@
|
||||
===== TypeScript Sample: Mankala =====
|
||||
|
||||
=== Overview ===
|
||||
|
||||
This sample implements the game logic for the Mankala board game. The following
|
||||
features of TypeScript are highlighted:
|
||||
- Multi-file compilation: The sample is compiled from several separate files
|
||||
- SVG: Geometry
|
||||
- Class inheritance: Rectangle and Square in geometry.ts
|
||||
- Command line: The game driver can be run as a command-line app using cscript
|
||||
|
||||
|
||||
=== Running ===
|
||||
tsc Driver.ts -out game.js
|
||||
cscript game.js
|
||||
|
||||
For web execution use play.htm.
|
||||
|
||||
140
samples/mankala/geometry.ts
Normal file
140
samples/mankala/geometry.ts
Normal file
@ -0,0 +1,140 @@
|
||||
///<reference path="Driver.ts"/>
|
||||
|
||||
module Mankala {
|
||||
export class Rectangle {
|
||||
|
||||
constructor (public x: number, public y: number,
|
||||
public width: number, public height: number) { }
|
||||
|
||||
public square() {
|
||||
var len = this.width;
|
||||
var adj = 0;
|
||||
if (len > this.height) {
|
||||
len = this.height;
|
||||
adj = (this.width - len) / 2;
|
||||
return new Square(this.x + adj, this.y, len);
|
||||
} else {
|
||||
adj = (this.height - len) / 2;
|
||||
return new Square(this.x, this.y + adj, len);
|
||||
}
|
||||
}
|
||||
|
||||
public inner(factor: number) {
|
||||
var iw = factor * this.width;
|
||||
var ih = factor * this.height;
|
||||
var ix = this.x + ((this.width - iw) / 2);
|
||||
var iy = this.y + ((this.height - ih) / 2);
|
||||
return (new Rectangle(ix, iy, iw, ih));
|
||||
}
|
||||
|
||||
public proportionalSplitHoriz(...proportionalWidths: number[]) {
|
||||
var totalPropWidth = 0;
|
||||
var i:number;
|
||||
|
||||
for (i = 0; i < proportionalWidths.length; i++) {
|
||||
totalPropWidth += proportionalWidths[i];
|
||||
}
|
||||
|
||||
var totalWidth = 0;
|
||||
var widths: number[] = [];
|
||||
for (i = 0; i < proportionalWidths.length; i++) {
|
||||
widths[i] = (proportionalWidths[i] / totalPropWidth) * this.width;
|
||||
totalWidth += widths[i];
|
||||
}
|
||||
|
||||
var extraWidth = this.width - totalWidth;
|
||||
/* Add back round-off error equally to all rectangles */
|
||||
i = 0;
|
||||
while (extraWidth > 0) {
|
||||
widths[i]++;
|
||||
extraWidth--;
|
||||
if ((++i) == widths.length) {
|
||||
i = 0;
|
||||
}
|
||||
}
|
||||
var rects: Rectangle[] = [];
|
||||
var curX = this.x;
|
||||
for (i = 0; i < widths.length; i++) {
|
||||
rects[i] = new Rectangle(curX, this.y, widths[i], this.height);
|
||||
curX += widths[i];
|
||||
}
|
||||
return rects;
|
||||
}
|
||||
|
||||
private proportionalSplitVert(...proportionalHeights: number[]): Rectangle[]{
|
||||
var totalPropHeight = 0;
|
||||
var i: number;
|
||||
|
||||
for (i = 0; i < proportionalHeights.length; i++) {
|
||||
totalPropHeight += proportionalHeights[i];
|
||||
}
|
||||
|
||||
var totalHeight = 0;
|
||||
var heights: number[] = [];
|
||||
for (i = 0; i < proportionalHeights.length; i++) {
|
||||
heights[i] = (proportionalHeights[i] / totalPropHeight) * this.height;
|
||||
totalHeight += heights[i];
|
||||
}
|
||||
|
||||
var extraHeight = this.height - totalHeight;
|
||||
/* Add back round-off error equally to all rectangles */
|
||||
i = 0;
|
||||
while (extraHeight > 0) {
|
||||
heights[i]++;
|
||||
extraHeight--;
|
||||
if ((++i) == heights.length) {
|
||||
i = 0;
|
||||
}
|
||||
}
|
||||
var rects: Rectangle[] = [];
|
||||
var curY = this.y;
|
||||
for (i = 0; i < heights.length; i++) {
|
||||
rects[i] = new Rectangle(this.x, curY, this.width, heights[i]);
|
||||
curY += heights[i];
|
||||
}
|
||||
return rects;
|
||||
}
|
||||
|
||||
public subDivideHoriz(n: number) {
|
||||
var rects: Rectangle[] = [];
|
||||
|
||||
var tileWidth = this.width / n;
|
||||
var rem = this.width % n;
|
||||
var tileX = this.x;
|
||||
for (var i = 0; i < n; i++) {
|
||||
rects[i] = new Rectangle(tileX, this.y, tileWidth, this.height);
|
||||
if (rem > 0) {
|
||||
rects[i].width++;
|
||||
rem--;
|
||||
}
|
||||
tileX += rects[i].width;
|
||||
}
|
||||
return rects;
|
||||
}
|
||||
|
||||
public subDivideVert(n: number) {
|
||||
var rects: Rectangle[] = [];
|
||||
var tileHeight = this.height / n;
|
||||
var rem = this.height % n;
|
||||
var tileY = this.y;
|
||||
for (var i = 0; i < n; i++) {
|
||||
rects[i] = new Rectangle(this.x, tileY, this.width, tileHeight);
|
||||
if (rem > 0) {
|
||||
rects[i].height++;
|
||||
rem--;
|
||||
}
|
||||
tileY += rects[i].height;
|
||||
}
|
||||
return rects;
|
||||
}
|
||||
}
|
||||
|
||||
export class Square extends Rectangle {
|
||||
len: number;
|
||||
|
||||
constructor(x: number, y: number, len: number) {
|
||||
super(x, y, len, len);
|
||||
this.len = len;
|
||||
}
|
||||
}
|
||||
}
|
||||
11
samples/mankala/play.css
Normal file
11
samples/mankala/play.css
Normal file
@ -0,0 +1,11 @@
|
||||
.hscore {
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
color: brown;
|
||||
}
|
||||
|
||||
.cscore {
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
color: saddlebrown;
|
||||
}
|
||||
15
samples/mankala/play.htm
Normal file
15
samples/mankala/play.htm
Normal file
@ -0,0 +1,15 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Mankala</title>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<script type="text/javascript" src="game.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="play.css"/>
|
||||
</head>
|
||||
<body id="bod" onload="Mankala.testBrowser()">
|
||||
<div class="hscore">Human: <span id="humscore">0</span></div>
|
||||
<div class="cscore">Computer: <span id="compscore">0</span></div>
|
||||
</body>
|
||||
</html>
|
||||
9
samples/node/HttpServer.ts
Normal file
9
samples/node/HttpServer.ts
Normal file
@ -0,0 +1,9 @@
|
||||
///<reference path='node.d.ts'/>
|
||||
import http = require("http");
|
||||
|
||||
http.createServer(function (req, res) {
|
||||
res.writeHead(200, {'Content-Type': 'text/plain'});
|
||||
res.end('Hello World\n');
|
||||
}).listen(1337, '127.0.0.1');
|
||||
|
||||
console.log('Server running at http://127.0.0.1:1337/');
|
||||
14
samples/node/README.txt
Normal file
14
samples/node/README.txt
Normal file
@ -0,0 +1,14 @@
|
||||
===== TypeScript Sample: Node.js =====
|
||||
|
||||
=== Overview ===
|
||||
|
||||
This sample implements a very basic node.js application using TypeScript
|
||||
|
||||
=== Running ===
|
||||
For HttpServer
|
||||
tsc --module commonjs HttpServer.ts
|
||||
node HttpServer.js
|
||||
|
||||
For TcpServer
|
||||
tsc --module commonjs TcpServer.ts
|
||||
node TcpServer.js
|
||||
9
samples/node/TcpServer.ts
Normal file
9
samples/node/TcpServer.ts
Normal file
@ -0,0 +1,9 @@
|
||||
///<reference path='node.d.ts'/>
|
||||
import net = require('net');
|
||||
|
||||
var server = net.createServer(function (socket) {
|
||||
socket.write('Echo server\r\n');
|
||||
socket.pipe(socket);
|
||||
});
|
||||
|
||||
server.listen(1337, '127.0.0.1');
|
||||
1079
samples/node/node.d.ts
vendored
Normal file
1079
samples/node/node.d.ts
vendored
Normal file
File diff suppressed because it is too large
Load Diff
9
samples/raytracer/README.txt
Normal file
9
samples/raytracer/README.txt
Normal file
@ -0,0 +1,9 @@
|
||||
===== TypeScript Sample: Raytracer =====
|
||||
|
||||
=== Overview ===
|
||||
|
||||
This sample shows a raytracer implementation in TypeScript.
|
||||
|
||||
=== Running ===
|
||||
tsc raytracer.ts
|
||||
start raytracer.html
|
||||
8
samples/raytracer/raytracer.html
Normal file
8
samples/raytracer/raytracer.html
Normal file
@ -0,0 +1,8 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Raytracer</title>
|
||||
</head>
|
||||
<body >
|
||||
<script src="raytracer.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
277
samples/raytracer/raytracer.ts
Normal file
277
samples/raytracer/raytracer.ts
Normal file
@ -0,0 +1,277 @@
|
||||
|
||||
class Vector {
|
||||
constructor(public x: number,
|
||||
public y: number,
|
||||
public z: number) {
|
||||
}
|
||||
static times(k: number, v: Vector) { return new Vector(k * v.x, k * v.y, k * v.z); }
|
||||
static minus(v1: Vector, v2: Vector) { return new Vector(v1.x - v2.x, v1.y - v2.y, v1.z - v2.z); }
|
||||
static plus(v1: Vector, v2: Vector) { return new Vector(v1.x + v2.x, v1.y + v2.y, v1.z + v2.z); }
|
||||
static dot(v1: Vector, v2: Vector) { return v1.x * v2.x + v1.y * v2.y + v1.z * v2.z; }
|
||||
static mag(v: Vector) { return Math.sqrt(v.x * v.x + v.y * v.y + v.z * v.z); }
|
||||
static norm(v: Vector) {
|
||||
var mag = Vector.mag(v);
|
||||
var div = (mag === 0) ? Infinity : 1.0 / mag;
|
||||
return Vector.times(div, v);
|
||||
}
|
||||
static cross(v1: Vector, v2: Vector) {
|
||||
return new Vector(v1.y * v2.z - v1.z * v2.y,
|
||||
v1.z * v2.x - v1.x * v2.z,
|
||||
v1.x * v2.y - v1.y * v2.x);
|
||||
}
|
||||
}
|
||||
|
||||
class Color {
|
||||
constructor(public r: number,
|
||||
public g: number,
|
||||
public b: number) {
|
||||
}
|
||||
static scale(k: number, v: Color) { return new Color(k * v.r, k * v.g, k * v.b); }
|
||||
static plus(v1: Color, v2: Color) { return new Color(v1.r + v2.r, v1.g + v2.g, v1.b + v2.b); }
|
||||
static times(v1: Color, v2: Color) { return new Color(v1.r * v2.r, v1.g * v2.g, v1.b * v2.b); }
|
||||
static white = new Color(1.0, 1.0, 1.0);
|
||||
static grey = new Color(0.5, 0.5, 0.5);
|
||||
static black = new Color(0.0, 0.0, 0.0);
|
||||
static background = Color.black;
|
||||
static defaultColor = Color.black;
|
||||
static toDrawingColor(c: Color) {
|
||||
var legalize = d => d > 1 ? 1 : d;
|
||||
return {
|
||||
r: Math.floor(legalize(c.r) * 255),
|
||||
g: Math.floor(legalize(c.g) * 255),
|
||||
b: Math.floor(legalize(c.b) * 255)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class Camera {
|
||||
public forward: Vector;
|
||||
public right: Vector;
|
||||
public up: Vector;
|
||||
|
||||
constructor(public pos: Vector, lookAt: Vector) {
|
||||
var down = new Vector(0.0, -1.0, 0.0);
|
||||
this.forward = Vector.norm(Vector.minus(lookAt, this.pos));
|
||||
this.right = Vector.times(1.5, Vector.norm(Vector.cross(this.forward, down)));
|
||||
this.up = Vector.times(1.5, Vector.norm(Vector.cross(this.forward, this.right)));
|
||||
}
|
||||
}
|
||||
|
||||
interface Ray {
|
||||
start: Vector;
|
||||
dir: Vector;
|
||||
}
|
||||
|
||||
interface Intersection {
|
||||
thing: Thing;
|
||||
ray: Ray;
|
||||
dist: number;
|
||||
}
|
||||
|
||||
interface Surface {
|
||||
diffuse: (pos: Vector) => Color;
|
||||
specular: (pos: Vector) => Color;
|
||||
reflect: (pos: Vector) => number;
|
||||
roughness: number;
|
||||
}
|
||||
|
||||
interface Thing {
|
||||
intersect: (ray: Ray) => Intersection;
|
||||
normal: (pos: Vector) => Vector;
|
||||
surface: Surface;
|
||||
}
|
||||
|
||||
interface Light {
|
||||
pos: Vector;
|
||||
color: Color;
|
||||
}
|
||||
|
||||
interface Scene {
|
||||
things: Thing[];
|
||||
lights: Light[];
|
||||
camera: Camera;
|
||||
}
|
||||
|
||||
class Sphere implements Thing {
|
||||
public radius2: number;
|
||||
|
||||
constructor(public center: Vector, radius: number, public surface: Surface) {
|
||||
this.radius2 = radius * radius;
|
||||
}
|
||||
normal(pos: Vector): Vector { return Vector.norm(Vector.minus(pos, this.center)); }
|
||||
intersect(ray: Ray) {
|
||||
var eo = Vector.minus(this.center, ray.start);
|
||||
var v = Vector.dot(eo, ray.dir);
|
||||
var dist = 0;
|
||||
if (v >= 0) {
|
||||
var disc = this.radius2 - (Vector.dot(eo, eo) - v * v);
|
||||
if (disc >= 0) {
|
||||
dist = v - Math.sqrt(disc);
|
||||
}
|
||||
}
|
||||
if (dist === 0) {
|
||||
return null;
|
||||
} else {
|
||||
return { thing: this, ray: ray, dist: dist };
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class Plane implements Thing {
|
||||
public normal: (pos: Vector) =>Vector;
|
||||
public intersect: (ray: Ray) =>Intersection;
|
||||
constructor(norm: Vector, offset: number, public surface: Surface) {
|
||||
this.normal = function(pos: Vector) { return norm; }
|
||||
this.intersect = function(ray: Ray): Intersection {
|
||||
var denom = Vector.dot(norm, ray.dir);
|
||||
if (denom > 0) {
|
||||
return null;
|
||||
} else {
|
||||
var dist = (Vector.dot(norm, ray.start) + offset) / (-denom);
|
||||
return { thing: this, ray: ray, dist: dist };
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
module Surfaces {
|
||||
export var shiny: Surface = {
|
||||
diffuse: function(pos) { return Color.white; },
|
||||
specular: function(pos) { return Color.grey; },
|
||||
reflect: function(pos) { return 0.7; },
|
||||
roughness: 250
|
||||
}
|
||||
export var checkerboard: Surface = {
|
||||
diffuse: function(pos) {
|
||||
if ((Math.floor(pos.z) + Math.floor(pos.x)) % 2 !== 0) {
|
||||
return Color.white;
|
||||
} else {
|
||||
return Color.black;
|
||||
}
|
||||
},
|
||||
specular: function(pos) { return Color.white; },
|
||||
reflect: function(pos) {
|
||||
if ((Math.floor(pos.z) + Math.floor(pos.x)) % 2 !== 0) {
|
||||
return 0.1;
|
||||
} else {
|
||||
return 0.7;
|
||||
}
|
||||
},
|
||||
roughness: 150
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
class RayTracer {
|
||||
private maxDepth = 5;
|
||||
|
||||
private intersections(ray: Ray, scene: Scene) {
|
||||
var closest = +Infinity;
|
||||
var closestInter: Intersection = undefined;
|
||||
for (var i in scene.things) {
|
||||
var inter = scene.things[i].intersect(ray);
|
||||
if (inter != null && inter.dist < closest) {
|
||||
closestInter = inter;
|
||||
closest = inter.dist;
|
||||
}
|
||||
}
|
||||
return closestInter;
|
||||
}
|
||||
|
||||
private testRay(ray: Ray, scene: Scene) {
|
||||
var isect = this.intersections(ray, scene);
|
||||
if (isect != null) {
|
||||
return isect.dist;
|
||||
} else {
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
|
||||
private traceRay(ray: Ray, scene: Scene, depth: number): Color {
|
||||
var isect = this.intersections(ray, scene);
|
||||
if (isect === undefined) {
|
||||
return Color.background;
|
||||
} else {
|
||||
return this.shade(isect, scene, depth);
|
||||
}
|
||||
}
|
||||
|
||||
private shade(isect: Intersection, scene: Scene, depth: number) {
|
||||
var d = isect.ray.dir;
|
||||
var pos = Vector.plus(Vector.times(isect.dist, d), isect.ray.start);
|
||||
var normal = isect.thing.normal(pos);
|
||||
var reflectDir = Vector.minus(d, Vector.times(2, Vector.times(Vector.dot(normal, d), normal)));
|
||||
var naturalColor = Color.plus(Color.background,
|
||||
this.getNaturalColor(isect.thing, pos, normal, reflectDir, scene));
|
||||
var reflectedColor = (depth >= this.maxDepth) ? Color.grey : this.getReflectionColor(isect.thing, pos, normal, reflectDir, scene, depth);
|
||||
return Color.plus(naturalColor, reflectedColor);
|
||||
}
|
||||
|
||||
private getReflectionColor(thing: Thing, pos: Vector, normal: Vector, rd: Vector, scene: Scene, depth: number) {
|
||||
return Color.scale(thing.surface.reflect(pos), this.traceRay({ start: pos, dir: rd }, scene, depth + 1));
|
||||
}
|
||||
|
||||
private getNaturalColor(thing: Thing, pos: Vector, norm: Vector, rd: Vector, scene: Scene) {
|
||||
var addLight = (col, light) => {
|
||||
var ldis = Vector.minus(light.pos, pos);
|
||||
var livec = Vector.norm(ldis);
|
||||
var neatIsect = this.testRay({ start: pos, dir: livec }, scene);
|
||||
var isInShadow = (neatIsect === undefined) ? false : (neatIsect <= Vector.mag(ldis));
|
||||
if (isInShadow) {
|
||||
return col;
|
||||
} else {
|
||||
var illum = Vector.dot(livec, norm);
|
||||
var lcolor = (illum > 0) ? Color.scale(illum, light.color)
|
||||
: Color.defaultColor;
|
||||
var specular = Vector.dot(livec, Vector.norm(rd));
|
||||
var scolor = (specular > 0) ? Color.scale(Math.pow(specular, thing.surface.roughness), light.color)
|
||||
: Color.defaultColor;
|
||||
return Color.plus(col, Color.plus(Color.times(thing.surface.diffuse(pos), lcolor),
|
||||
Color.times(thing.surface.specular(pos), scolor)));
|
||||
}
|
||||
}
|
||||
return scene.lights.reduce(addLight, Color.defaultColor);
|
||||
}
|
||||
|
||||
render(scene, ctx, screenWidth, screenHeight) {
|
||||
var getPoint = (x, y, camera) => {
|
||||
var recenterX = x =>(x - (screenWidth / 2.0)) / 2.0 / screenWidth;
|
||||
var recenterY = y => - (y - (screenHeight / 2.0)) / 2.0 / screenHeight;
|
||||
return Vector.norm(Vector.plus(camera.forward, Vector.plus(Vector.times(recenterX(x), camera.right), Vector.times(recenterY(y), camera.up))));
|
||||
}
|
||||
for (var y = 0; y < screenHeight; y++) {
|
||||
for (var x = 0; x < screenWidth; x++) {
|
||||
var color = this.traceRay({ start: scene.camera.pos, dir: getPoint(x, y, scene.camera) }, scene, 0);
|
||||
var c = Color.toDrawingColor(color);
|
||||
ctx.fillStyle = "rgb(" + String(c.r) + ", " + String(c.g) + ", " + String(c.b) + ")";
|
||||
ctx.fillRect(x, y, x + 1, y + 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function defaultScene(): Scene {
|
||||
return {
|
||||
things: [new Plane(new Vector(0.0, 1.0, 0.0), 0.0, Surfaces.checkerboard),
|
||||
new Sphere(new Vector(0.0, 1.0, -0.25), 1.0, Surfaces.shiny),
|
||||
new Sphere(new Vector(-1.0, 0.5, 1.5), 0.5, Surfaces.shiny)],
|
||||
lights: [{ pos: new Vector(-2.0, 2.5, 0.0), color: new Color(0.49, 0.07, 0.07) },
|
||||
{ pos: new Vector(1.5, 2.5, 1.5), color: new Color(0.07, 0.07, 0.49) },
|
||||
{ pos: new Vector(1.5, 2.5, -1.5), color: new Color(0.07, 0.49, 0.071) },
|
||||
{ pos: new Vector(0.0, 3.5, 0.0), color: new Color(0.21, 0.21, 0.35) }],
|
||||
camera: new Camera(new Vector(3.0, 2.0, 4.0), new Vector(-1.0, 0.5, 0.0))
|
||||
};
|
||||
}
|
||||
|
||||
function exec() {
|
||||
var canv = document.createElement("canvas");
|
||||
canv.width = 256;
|
||||
canv.height = 256;
|
||||
document.body.appendChild(canv);
|
||||
var ctx = canv.getContext("2d");
|
||||
var rayTracer = new RayTracer();
|
||||
return rayTracer.render(defaultScene(), ctx, 256, 256);
|
||||
}
|
||||
|
||||
exec();
|
||||
11
samples/simple/README.txt
Normal file
11
samples/simple/README.txt
Normal file
@ -0,0 +1,11 @@
|
||||
===== TypeScript Sample: Simple =====
|
||||
|
||||
=== Overview ===
|
||||
|
||||
Simple use of classes and inheritance:
|
||||
- Classes: A base class and two subclasses
|
||||
- Super calls: Derived classes make super calls
|
||||
|
||||
|
||||
=== Running ===
|
||||
tsc animals.ts
|
||||
26
samples/simple/animals.ts
Normal file
26
samples/simple/animals.ts
Normal file
@ -0,0 +1,26 @@
|
||||
class Animal {
|
||||
constructor(public name) { }
|
||||
move(meters) {
|
||||
alert(this.name + " moved " + meters + "m.");
|
||||
}
|
||||
}
|
||||
|
||||
class Snake extends Animal {
|
||||
move() {
|
||||
alert("Slithering...");
|
||||
super.move(5);
|
||||
}
|
||||
}
|
||||
|
||||
class Horse extends Animal {
|
||||
move() {
|
||||
alert("Galloping...");
|
||||
super.move(45);
|
||||
}
|
||||
}
|
||||
|
||||
var sam = new Snake("Sammy the Python")
|
||||
var tom: Animal = new Horse("Tommy the Palomino")
|
||||
|
||||
sam.move()
|
||||
tom.move(34)
|
||||
57
samples/todomvc/README.txt
Normal file
57
samples/todomvc/README.txt
Normal file
@ -0,0 +1,57 @@
|
||||
===== TypeScript Sample: Todo MVC =====
|
||||
|
||||
=== Overview ===
|
||||
|
||||
This sample shows an implementation of the Backbone.js TODO sample derived from
|
||||
https://github.com/documentcloud/backbone/tree/master/examples/todos. The following
|
||||
TypeScript integration points are highlighted:
|
||||
- Backbone.js: Using TypeScript classes to create Backbone models and views
|
||||
- jQuery: Using jQuery for all DOM manipulation
|
||||
|
||||
|
||||
=== Running ===
|
||||
tsc js\todos.ts
|
||||
start index.html
|
||||
|
||||
=== Caveats ===
|
||||
|
||||
This sample uses local storage and will not run properly on Internet Explore if run
|
||||
from the local filesystem. Instead, host the sample from a web server (eg. IIS).
|
||||
|
||||
------------------------------------------------------------------------------------------
|
||||
Microsoft grants you the right to use these script files under the Apache 2.0 license.
|
||||
Microsoft reserves all other rights to the files not expressly granted by Microsoft,
|
||||
whether by implication, estoppel or otherwise. The copyright notices and MIT licenses
|
||||
below are for informational purposes only.
|
||||
|
||||
Portions Copyright © Microsoft Corporation
|
||||
Apache 2.0 License
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
|
||||
file except in compliance with the License. You may obtain a copy of the License at
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software distributed under
|
||||
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
||||
ANY KIND, either express or implied.
|
||||
|
||||
See the License for the specific language governing permissions and limitations
|
||||
under the License.
|
||||
------------------------------------------------------------------------------------------
|
||||
Provided for Informational Purposes Only
|
||||
MIT License
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this
|
||||
software and associated documentation files (the "Software"), to deal in the Software
|
||||
without restriction, including without limitation the rights to use, copy, modify, merge,
|
||||
publish, distribute, sublicense, and/or sell copies of the Software, and to permit
|
||||
persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies
|
||||
or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
||||
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
|
||||
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
||||
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
||||
BIN
samples/todomvc/css/destroy.png
Normal file
BIN
samples/todomvc/css/destroy.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 555 B |
574
samples/todomvc/css/todos.css
Normal file
574
samples/todomvc/css/todos.css
Normal file
@ -0,0 +1,574 @@
|
||||
/* ---------------------------------------------------------------------------------------
|
||||
Todos.css
|
||||
Microsoft grants you the right to use these script files under the Apache 2.0 license.
|
||||
Microsoft reserves all other rights to the files not expressly granted by Microsoft,
|
||||
whether by implication, estoppel or otherwise. The copyright notices and MIT licenses
|
||||
below are for informational purposes only.
|
||||
|
||||
Portions Copyright © Microsoft Corporation
|
||||
Apache 2.0 License
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
|
||||
file except in compliance with the License. You may obtain a copy of the License at
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software distributed under
|
||||
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
||||
ANY KIND, either express or implied.
|
||||
|
||||
See the License for the specific language governing permissions and limitations
|
||||
under the License.
|
||||
------------------------------------------------------------------------------------------
|
||||
Provided for Informational Purposes Only
|
||||
MIT License
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this
|
||||
software and associated documentation files (the "Software"), to deal in the Software
|
||||
without restriction, including without limitation the rights to use, copy, modify, merge,
|
||||
publish, distribute, sublicense, and/or sell copies of the Software, and to permit
|
||||
persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies
|
||||
or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
||||
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
|
||||
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
||||
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
||||
---------------------------------------------------------------------------------------
|
||||
todos.css
|
||||
https://github.com/documentcloud/backbone/blob/master/examples/todos/todos.css
|
||||
*/
|
||||
|
||||
html, body, div, span, applet, object, iframe,
|
||||
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
||||
a, abbr, acronym, address, big, cite, code,
|
||||
del, dfn, em, font, img, ins, kbd, q, s, samp,
|
||||
small, strike, strong, sub, sup, tt, var,
|
||||
dl, dt, dd, ol, ul, li,
|
||||
fieldset, form, label, legend,
|
||||
table, caption, tbody, tfoot, thead, tr, th, td {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
outline: 0;
|
||||
font-weight: inherit;
|
||||
font-style: inherit;
|
||||
font-size: 100%;
|
||||
font-family: inherit;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
body {
|
||||
line-height: 1;
|
||||
color: black;
|
||||
background: white;
|
||||
}
|
||||
ol, ul {
|
||||
list-style: none;
|
||||
}
|
||||
a img {
|
||||
border: none;
|
||||
}
|
||||
|
||||
html {
|
||||
background: #eeeeee;
|
||||
}
|
||||
body {
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-size: 14px;
|
||||
line-height: 1.4em;
|
||||
background: #eeeeee;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
#todoapp {
|
||||
width: 480px;
|
||||
margin: 0 auto 40px;
|
||||
background: white;
|
||||
padding: 20px;
|
||||
-moz-box-shadow: rgba(0, 0, 0, 0.2) 0 5px 6px 0;
|
||||
-webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 5px 6px 0;
|
||||
-o-box-shadow: rgba(0, 0, 0, 0.2) 0 5px 6px 0;
|
||||
box-shadow: rgba(0, 0, 0, 0.2) 0 5px 6px 0;
|
||||
}
|
||||
#todoapp h1 {
|
||||
font-size: 36px;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
padding: 20px 0 30px 0;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
#create-todo {
|
||||
position: relative;
|
||||
}
|
||||
#create-todo input {
|
||||
width: 466px;
|
||||
font-size: 24px;
|
||||
font-family: inherit;
|
||||
line-height: 1.4em;
|
||||
border: 0;
|
||||
outline: none;
|
||||
padding: 6px;
|
||||
border: 1px solid #999999;
|
||||
-moz-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
|
||||
-webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
|
||||
-o-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
|
||||
box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
|
||||
}
|
||||
|
||||
#create-todo span {
|
||||
position: absolute;
|
||||
z-index: 999;
|
||||
width: 170px;
|
||||
left: 50%;
|
||||
margin-left: -85px;
|
||||
}
|
||||
|
||||
#todo-list {
|
||||
margin-top: 10px;
|
||||
}
|
||||
#todo-list li {
|
||||
padding: 12px 20px 11px 0;
|
||||
position: relative;
|
||||
font-size: 24px;
|
||||
line-height: 1.1em;
|
||||
border-bottom: 1px solid #cccccc;
|
||||
}
|
||||
#todo-list li:after {
|
||||
content: "\0020";
|
||||
display: block;
|
||||
height: 0;
|
||||
clear: both;
|
||||
overflow: hidden;
|
||||
visibility: hidden;
|
||||
}
|
||||
#todo-list li.editing {
|
||||
padding: 0;
|
||||
border-bottom: 0;
|
||||
}
|
||||
#todo-list .editing .display,
|
||||
#todo-list .edit {
|
||||
display: none;
|
||||
}
|
||||
#todo-list .editing .edit {
|
||||
display: block;
|
||||
}
|
||||
#todo-list .editing input {
|
||||
width: 444px;
|
||||
font-size: 24px;
|
||||
font-family: inherit;
|
||||
margin: 0;
|
||||
line-height: 1.6em;
|
||||
border: 0;
|
||||
outline: none;
|
||||
padding: 10px 7px 0px 27px;
|
||||
border: 1px solid #999999;
|
||||
-moz-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
|
||||
-webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
|
||||
-o-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
|
||||
box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
|
||||
}
|
||||
#todo-list .check {
|
||||
position: relative;
|
||||
top: 9px;
|
||||
margin: 0 10px 0 7px;
|
||||
float: left;
|
||||
}
|
||||
#todo-list .done .todo-content {
|
||||
text-decoration: line-through;
|
||||
color: #777777;
|
||||
}
|
||||
#todo-list .todo-destroy {
|
||||
position: absolute;
|
||||
right: 5px;
|
||||
top: 14px;
|
||||
display: none;
|
||||
cursor: pointer;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background: url(destroy.png) no-repeat 0 0;
|
||||
}
|
||||
#todo-list li:hover .todo-destroy {
|
||||
display: block;
|
||||
}
|
||||
#todo-list .todo-destroy:hover {
|
||||
background-position: 0 -20px;
|
||||
}
|
||||
|
||||
#todo-stats {
|
||||
*zoom: 1;
|
||||
margin-top: 10px;
|
||||
color: #777777;
|
||||
}
|
||||
#todo-stats:after {
|
||||
content: "\0020";
|
||||
display: block;
|
||||
height: 0;
|
||||
clear: both;
|
||||
overflow: hidden;
|
||||
visibility: hidden;
|
||||
}
|
||||
#todo-stats .todo-count {
|
||||
float: left;
|
||||
}
|
||||
#todo-stats .todo-count .number {
|
||||
font-weight: bold;
|
||||
color: #333333;
|
||||
}
|
||||
#todo-stats .todo-clear {
|
||||
float: right;
|
||||
}
|
||||
#todo-stats .todo-clear a {
|
||||
color: #777777;
|
||||
font-size: 12px;
|
||||
}
|
||||
#todo-stats .todo-clear a:visited {
|
||||
color: #777777;
|
||||
}
|
||||
#todo-stats .todo-clear a:hover {
|
||||
color: #336699;
|
||||
}
|
||||
|
||||
#instructions {
|
||||
width: 520px;
|
||||
margin: 10px auto;
|
||||
color: #777777;
|
||||
text-shadow: rgba(255, 255, 255, 0.8) 0 1px 0;
|
||||
text-align: center;
|
||||
}
|
||||
#instructions a {
|
||||
color: #336699;
|
||||
}
|
||||
|
||||
#credits {
|
||||
width: 520px;
|
||||
margin: 30px auto;
|
||||
color: #999;
|
||||
text-shadow: rgba(255, 255, 255, 0.8) 0 1px 0;
|
||||
text-align: center;
|
||||
}
|
||||
#credits a {
|
||||
color: #888;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* François 'cahnory' Germain
|
||||
*/
|
||||
.ui-tooltip, .ui-tooltip-top, .ui-tooltip-right, .ui-tooltip-bottom, .ui-tooltip-left {
|
||||
color:#ffffff;
|
||||
cursor:normal;
|
||||
display:-moz-inline-stack;
|
||||
display:inline-block;
|
||||
font-size:12px;
|
||||
font-family:arial;
|
||||
padding:.5em 1em;
|
||||
position:relative;
|
||||
text-align:center;
|
||||
text-shadow:0 -1px 1px #111111;
|
||||
-webkit-border-top-left-radius:4px ;
|
||||
-webkit-border-top-right-radius:4px ;
|
||||
-webkit-border-bottom-right-radius:4px ;
|
||||
-webkit-border-bottom-left-radius:4px ;
|
||||
-khtml-border-top-left-radius:4px ;
|
||||
-khtml-border-top-right-radius:4px ;
|
||||
-khtml-border-bottom-right-radius:4px ;
|
||||
-khtml-border-bottom-left-radius:4px ;
|
||||
-moz-border-radius-topleft:4px ;
|
||||
-moz-border-radius-topright:4px ;
|
||||
-moz-border-radius-bottomright:4px ;
|
||||
-moz-border-radius-bottomleft:4px ;
|
||||
border-top-left-radius:4px ;
|
||||
border-top-right-radius:4px ;
|
||||
border-bottom-right-radius:4px ;
|
||||
border-bottom-left-radius:4px ;
|
||||
-o-box-shadow:0 1px 2px #000000, inset 0 0 0 1px #222222, inset 0 2px #666666, inset 0 -2px 2px #444444;
|
||||
-moz-box-shadow:0 1px 2px #000000, inset 0 0 0 1px #222222, inset 0 2px #666666, inset 0 -2px 2px #444444;
|
||||
-khtml-box-shadow:0 1px 2px #000000, inset 0 0 0 1px #222222, inset 0 2px #666666, inset 0 -2px 2px #444444;
|
||||
-webkit-box-shadow:0 1px 2px #000000, inset 0 0 0 1px #222222, inset 0 2px #666666, inset 0 -2px 2px #444444;
|
||||
box-shadow:0 1px 2px #000000, inset 0 0 0 1px #222222, inset 0 2px #666666, inset 0 -2px 2px #444444;
|
||||
background-color:#3b3b3b;
|
||||
background-image:-moz-linear-gradient(top,#555555,#222222);
|
||||
background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#555555),color-stop(1,#222222));
|
||||
filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#555555,EndColorStr=#222222);
|
||||
-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#555555,EndColorStr=#222222);
|
||||
}
|
||||
.ui-tooltip:after, .ui-tooltip-top:after, .ui-tooltip-right:after, .ui-tooltip-bottom:after, .ui-tooltip-left:after {
|
||||
content:"\25B8";
|
||||
display:block;
|
||||
font-size:2em;
|
||||
height:0;
|
||||
line-height:0;
|
||||
position:absolute;
|
||||
}
|
||||
.ui-tooltip:after, .ui-tooltip-bottom:after {
|
||||
color:#2a2a2a;
|
||||
bottom:0;
|
||||
left:1px;
|
||||
text-align:center;
|
||||
text-shadow:1px 0 2px #000000;
|
||||
-o-transform:rotate(90deg);
|
||||
-moz-transform:rotate(90deg);
|
||||
-khtml-transform:rotate(90deg);
|
||||
-webkit-transform:rotate(90deg);
|
||||
width:100%;
|
||||
}
|
||||
.ui-tooltip-top:after {
|
||||
bottom:auto;
|
||||
color:#4f4f4f;
|
||||
left:-2px;
|
||||
top:0;
|
||||
text-align:center;
|
||||
text-shadow:none;
|
||||
-o-transform:rotate(-90deg);
|
||||
-moz-transform:rotate(-90deg);
|
||||
-khtml-transform:rotate(-90deg);
|
||||
-webkit-transform:rotate(-90deg);
|
||||
width:100%;
|
||||
}
|
||||
.ui-tooltip-right:after {
|
||||
color:#222222;
|
||||
right:-0.375em;
|
||||
top:50%;
|
||||
margin-top:-.05em;
|
||||
text-shadow:0 1px 2px #000000;
|
||||
-o-transform:rotate(0);
|
||||
-moz-transform:rotate(0);
|
||||
-khtml-transform:rotate(0);
|
||||
-webkit-transform:rotate(0);
|
||||
}
|
||||
.ui-tooltip-left:after {
|
||||
color:#222222;
|
||||
left:-0.375em;
|
||||
top:50%;
|
||||
margin-top:.1em;
|
||||
text-shadow:0 -1px 2px #000000;
|
||||
-o-transform:rotate(180deg);
|
||||
-moz-transform:rotate(180deg);
|
||||
-khtml-transform:rotate(180deg);
|
||||
-webkit-transform:rotate(180deg);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*the following changes require some cleanup and integration with the above.**/
|
||||
|
||||
/* line 9 */
|
||||
|
||||
|
||||
/* line 17 */
|
||||
#todoapp {
|
||||
background: white;
|
||||
-moz-box-shadow: rgba(0, 0, 0, 0.2) 0 2px 6px 0;
|
||||
-webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 2px 6px 0;
|
||||
-o-box-shadow: rgba(0, 0, 0, 0.2) 0 2px 6px 0;
|
||||
box-shadow: rgba(0, 0, 0, 0.2) 0 2px 6px 0;
|
||||
-moz-border-radius-bottomleft: 5px;
|
||||
-webkit-border-bottom-left-radius: 5px;
|
||||
-o-border-bottom-left-radius: 5px;
|
||||
-ms-border-bottom-left-radius: 5px;
|
||||
-khtml-border-bottom-left-radius: 5px;
|
||||
border-bottom-left-radius: 5px;
|
||||
-moz-border-radius-bottomright: 5px;
|
||||
-webkit-border-bottom-right-radius: 5px;
|
||||
-o-border-bottom-right-radius: 5px;
|
||||
-ms-border-bottom-right-radius: 5px;
|
||||
-khtml-border-bottom-right-radius: 5px;
|
||||
border-bottom-right-radius: 5px;
|
||||
}
|
||||
/* line 24 */
|
||||
|
||||
|
||||
/* line 32 */
|
||||
#todoapp .content #create-todo {
|
||||
position: relative;
|
||||
}
|
||||
/* line 34 */
|
||||
#todoapp .content #create-todo input {
|
||||
font-size: 24px;
|
||||
font-family: inherit;
|
||||
line-height: 1.4em;
|
||||
border: 0;
|
||||
outline: none;
|
||||
padding: 6px;
|
||||
border: 1px solid #999999;
|
||||
-moz-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
|
||||
-webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
|
||||
-o-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
|
||||
box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
|
||||
}
|
||||
|
||||
/* line 47 */
|
||||
#todoapp .content #create-todo span {
|
||||
position: absolute;
|
||||
z-index: 999;
|
||||
width: 170px;
|
||||
left: 50%;
|
||||
margin-left: -85px;
|
||||
}
|
||||
/* line 55 */
|
||||
#todoapp .content ul#todo-list {
|
||||
margin-top: 10px;
|
||||
}
|
||||
/* line 57 */
|
||||
#todoapp .content ul#todo-list li {
|
||||
padding: 15px 20px 15px 0;
|
||||
position: relative;
|
||||
font-size: 24px;
|
||||
border-bottom: 1px solid #cccccc;
|
||||
*zoom: 1;
|
||||
cursor: move;
|
||||
}
|
||||
/* line 22, /opt/ree/lib/ruby/gems/1.8/gems/compass-0.10.5/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.scss */
|
||||
#todoapp .content ul#todo-list li:after {
|
||||
content: "\0020";
|
||||
display: block;
|
||||
height: 0;
|
||||
clear: both;
|
||||
overflow: hidden;
|
||||
visibility: hidden;
|
||||
}
|
||||
/* line 64 */
|
||||
#todoapp .content ul#todo-list li.editing {
|
||||
padding: 0;
|
||||
border-bottom: 0;
|
||||
}
|
||||
/* line 67 */
|
||||
#todoapp .content ul#todo-list li.editing .todo-input {
|
||||
display: block;
|
||||
width: 466px;
|
||||
font-size: 24px;
|
||||
font-family: inherit;
|
||||
line-height: 1.4em;
|
||||
border: 0;
|
||||
outline: none;
|
||||
padding: 6px;
|
||||
border: 1px solid #999999;
|
||||
-moz-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
|
||||
-webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
|
||||
-o-box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
|
||||
box-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px 0 inset;
|
||||
}
|
||||
/* line 79 */
|
||||
#todoapp .content ul#todo-list li.editing .todo-content {
|
||||
display: none;
|
||||
}
|
||||
/* line 81 */
|
||||
#todoapp .content ul#todo-list li.editing .todo-check {
|
||||
display: none;
|
||||
}
|
||||
/* line 83 */
|
||||
#todoapp .content ul#todo-list li.editing .todo-destroy {
|
||||
display: none !important;
|
||||
}
|
||||
/* line 85 */
|
||||
#todoapp .content ul#todo-list li .todo-input {
|
||||
display: none;
|
||||
}
|
||||
/* line 87 */
|
||||
#todoapp .content ul#todo-list li .todo-check {
|
||||
position: relative;
|
||||
top: 6px;
|
||||
margin: 0 10px 0 7px;
|
||||
float: left;
|
||||
}
|
||||
/* line 93 */
|
||||
#todoapp .content ul#todo-list li.done .todo-content {
|
||||
text-decoration: line-through;
|
||||
color: #777777;
|
||||
}
|
||||
/* line 96 */
|
||||
#todoapp .content ul#todo-list li .todo-destroy {
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
top: 16px;
|
||||
display: none;
|
||||
cursor: pointer;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
/* line 106 */
|
||||
#todoapp .content ul#todo-list li:hover .todo-destroy {
|
||||
display: block;
|
||||
}
|
||||
/* line 109 */
|
||||
#todoapp #todo-stats {
|
||||
*zoom: 1;
|
||||
margin-top: 10px;
|
||||
color: #555555;
|
||||
-moz-border-radius-bottomleft: 5px;
|
||||
-webkit-border-bottom-left-radius: 5px;
|
||||
-o-border-bottom-left-radius: 5px;
|
||||
-ms-border-bottom-left-radius: 5px;
|
||||
-khtml-border-bottom-left-radius: 5px;
|
||||
border-bottom-left-radius: 5px;
|
||||
-moz-border-radius-bottomright: 5px;
|
||||
-webkit-border-bottom-right-radius: 5px;
|
||||
-o-border-bottom-right-radius: 5px;
|
||||
-ms-border-bottom-right-radius: 5px;
|
||||
-khtml-border-bottom-right-radius: 5px;
|
||||
border-bottom-right-radius: 5px;
|
||||
background: #f4fce8;
|
||||
border-top: 1px solid #ededed;
|
||||
padding: 0 20px;
|
||||
line-height: 36px;
|
||||
}
|
||||
/* line 22, /opt/ree/lib/ruby/gems/1.8/gems/compass-0.10.5/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.scss */
|
||||
#todoapp #todo-stats:after {
|
||||
content: "\0020";
|
||||
display: block;
|
||||
height: 0;
|
||||
clear: both;
|
||||
overflow: hidden;
|
||||
visibility: hidden;
|
||||
}
|
||||
/* line 118 */
|
||||
#todoapp #todo-stats .todo-count {
|
||||
float: left;
|
||||
}
|
||||
/* line 120 */
|
||||
#todoapp #todo-stats .todo-count .number {
|
||||
font-weight: bold;
|
||||
color: #555555;
|
||||
}
|
||||
/* line 123 */
|
||||
#todoapp #todo-stats .todo-clear {
|
||||
float: right;
|
||||
}
|
||||
/* line 125 */
|
||||
#todoapp #todo-stats .todo-clear a {
|
||||
display: block;
|
||||
line-height: 20px;
|
||||
text-decoration: none;
|
||||
-moz-border-radius: 12px;
|
||||
-webkit-border-radius: 12px;
|
||||
-o-border-radius: 12px;
|
||||
-ms-border-radius: 12px;
|
||||
-khtml-border-radius: 12px;
|
||||
border-radius: 12px;
|
||||
background: rgba(0, 0, 0, 0.1);
|
||||
color: #555555;
|
||||
font-size: 11px;
|
||||
margin-top: 8px;
|
||||
padding: 0 10px 1px;
|
||||
-moz-box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 0 0;
|
||||
-webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 0 0;
|
||||
-o-box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 0 0;
|
||||
box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 0 0;
|
||||
}
|
||||
/* line 136 */
|
||||
#todoapp #todo-stats .todo-clear a:hover, #todoapp #todo-stats .todo-clear a:focus {
|
||||
background: rgba(0, 0, 0, 0.15);
|
||||
-moz-box-shadow: rgba(0, 0, 0, 0.3) 0 -1px 0 0;
|
||||
-webkit-box-shadow: rgba(0, 0, 0, 0.3) 0 -1px 0 0;
|
||||
-o-box-shadow: rgba(0, 0, 0, 0.3) 0 -1px 0 0;
|
||||
box-shadow: rgba(0, 0, 0, 0.3) 0 -1px 0 0;
|
||||
}
|
||||
/* line 139 */
|
||||
#todoapp #todo-stats .todo-clear a:active {
|
||||
position: relative;
|
||||
top: 1px;
|
||||
}
|
||||
|
||||
131
samples/todomvc/index.html
Normal file
131
samples/todomvc/index.html
Normal file
@ -0,0 +1,131 @@
|
||||
<!-- ---------------------------------------------------------------------------------------
|
||||
index.html
|
||||
Microsoft grants you the right to use these script files under the Apache 2.0 license.
|
||||
Microsoft reserves all other rights to the files not expressly granted by Microsoft,
|
||||
whether by implication, estoppel or otherwise. The copyright notices and MIT licenses
|
||||
below are for informational purposes only.
|
||||
|
||||
Portions Copyright © Microsoft Corporation
|
||||
Apache 2.0 License
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
|
||||
file except in compliance with the License. You may obtain a copy of the License at
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software distributed under
|
||||
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
||||
ANY KIND, either express or implied.
|
||||
|
||||
See the License for the specific language governing permissions and limitations
|
||||
under the License.
|
||||
------------------------------------------------------------------------------------------
|
||||
Provided for Informational Purposes Only
|
||||
MIT License
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this
|
||||
software and associated documentation files (the "Software"), to deal in the Software
|
||||
without restriction, including without limitation the rights to use, copy, modify, merge,
|
||||
publish, distribute, sublicense, and/or sell copies of the Software, and to permit
|
||||
persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies
|
||||
or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
||||
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
|
||||
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
||||
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
||||
---------------------------------------------------------------------------------------
|
||||
|
||||
index.html
|
||||
https://github.com/documentcloud/backbone/blob/master/examples/todos/index.html
|
||||
-->
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Backbone.js</title>
|
||||
<link href="css/todos.css" media="all" rel="stylesheet" type="text/css"/>
|
||||
<script src="http://cdnjs.cloudflare.com/ajax/libs/json2/20110223/json2.js"></script>
|
||||
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
|
||||
<script src="http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.3.1/underscore-min.js"></script>
|
||||
<script src="http://cdnjs.cloudflare.com/ajax/libs/backbone.js/0.9.2/backbone-min.js"></script>
|
||||
<script src="http://cdnjs.cloudflare.com/ajax/libs/backbone-localstorage.js/1.0/backbone.localStorage-min.js"></script>
|
||||
<script src="js/todos.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<!-- Todo App Interface -->
|
||||
|
||||
<div id="todoapp">
|
||||
|
||||
<div class="title">
|
||||
<h1>Todos</h1>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
|
||||
<div id="create-todo">
|
||||
<input id="new-todo" placeholder="What needs to be done?" type="text" />
|
||||
<span class="ui-tooltip-top" style="display:none;">Press Enter to save this task</span>
|
||||
</div>
|
||||
|
||||
<div id="todos">
|
||||
<input class="check mark-all-done" type="checkbox"/>
|
||||
<label for="check-all">Mark all as complete</label>
|
||||
<ul id="todo-list"></ul>
|
||||
</div>
|
||||
|
||||
<div id="todo-stats"></div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div id="credits">
|
||||
Created by
|
||||
<br />
|
||||
<a href="http://jgn.me/">Jérôme Gravel-Niquet</a>.
|
||||
<br />Cleanup, edits: <a href="http://addyosmani.com">Addy Osmani</a>.
|
||||
<br />TypeScript version by <a href="http://blogs.msdn.com/lukeh">Luke Hoban</a>.
|
||||
</div>
|
||||
|
||||
<!-- Templates -->
|
||||
|
||||
<script type="text/template" id="item-template">
|
||||
<div class="todo <%= done ? 'done' : '' %>">
|
||||
<div class="display">
|
||||
<input class="check" type="checkbox" <%= done ? 'checked="checked"' : '' %> />
|
||||
<label class="todo-content"><%= content %></label>
|
||||
<span class="todo-destroy"></span>
|
||||
</div>
|
||||
<div class="edit">
|
||||
<input class="todo-input" type="text" value="<%= content %>" />
|
||||
</div>
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<script type="text/template" id="stats-template">
|
||||
<% if (total) { %>
|
||||
<span class="todo-count">
|
||||
<span class="number"><%= remaining %></span>
|
||||
<span class="word"><%= remaining == 1 ? 'item' : 'items' %></span> left.
|
||||
</span>
|
||||
<% } %>
|
||||
<% if (done) { %>
|
||||
<span class="todo-clear">
|
||||
<a href="#">
|
||||
Clear <span class="number-done"><%= done %></span>
|
||||
completed <span class="word-done"><%= done == 1 ? 'item' : 'items' %></span>
|
||||
</a>
|
||||
</span>
|
||||
<% } %>
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user