mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Update LKG.
This commit is contained in:
+1
-1
@@ -32466,7 +32466,7 @@ var ts;
|
||||
ts.ioReadTime = 0;
|
||||
ts.ioWriteTime = 0;
|
||||
var emptyArray = [];
|
||||
ts.version = "1.8.5";
|
||||
ts.version = "1.8.7";
|
||||
function findConfigFile(searchPath, fileExists) {
|
||||
var fileName = "tsconfig.json";
|
||||
while (true) {
|
||||
|
||||
+1
-1
@@ -33034,7 +33034,7 @@ var ts;
|
||||
ts.ioReadTime = 0;
|
||||
ts.ioWriteTime = 0;
|
||||
var emptyArray = [];
|
||||
ts.version = "1.8.5";
|
||||
ts.version = "1.8.7";
|
||||
function findConfigFile(searchPath, fileExists) {
|
||||
var fileName = "tsconfig.json";
|
||||
while (true) {
|
||||
|
||||
+6
-6
@@ -39261,7 +39261,7 @@ var ts;
|
||||
/* @internal */ ts.ioWriteTime = 0;
|
||||
/** The version of the TypeScript compiler release */
|
||||
var emptyArray = [];
|
||||
ts.version = "1.8.5";
|
||||
ts.version = "1.8.7";
|
||||
function findConfigFile(searchPath, fileExists) {
|
||||
var fileName = "tsconfig.json";
|
||||
while (true) {
|
||||
@@ -39347,7 +39347,7 @@ var ts;
|
||||
jsonContent = jsonText ? JSON.parse(jsonText) : { typings: undefined };
|
||||
}
|
||||
catch (e) {
|
||||
// gracefully handle if readFile fails or returns not JSON
|
||||
// gracefully handle if readFile fails or returns not JSON
|
||||
jsonContent = { typings: undefined };
|
||||
}
|
||||
if (typeof jsonContent.typings === "string") {
|
||||
@@ -39409,7 +39409,7 @@ var ts;
|
||||
searchName = ts.normalizePath(ts.combinePaths(searchPath, moduleName));
|
||||
referencedSourceFile = ts.forEach(supportedExtensions, function (extension) {
|
||||
if (extension === ".tsx" && !compilerOptions.jsx) {
|
||||
// resolve .tsx files only if jsx support is enabled
|
||||
// resolve .tsx files only if jsx support is enabled
|
||||
// 'logical not' handles both undefined and None cases
|
||||
return undefined;
|
||||
}
|
||||
@@ -39583,7 +39583,7 @@ var ts;
|
||||
});
|
||||
var filesByName = ts.createFileMap();
|
||||
// stores 'filename -> file association' ignoring case
|
||||
// used to track cases when two file names differ only in casing
|
||||
// used to track cases when two file names differ only in casing
|
||||
var filesByNameIgnoreCase = host.useCaseSensitiveFileNames() ? ts.createFileMap(function (fileName) { return fileName.toLowerCase(); }) : undefined;
|
||||
if (oldProgram) {
|
||||
// check properties that can affect structure of the program or module resolution strategy
|
||||
@@ -40095,7 +40095,7 @@ var ts;
|
||||
break;
|
||||
}
|
||||
// TypeScript 1.0 spec (April 2014): 12.1.6
|
||||
// An ExternalImportDeclaration in an AmbientExternalModuleDeclaration may reference other external modules
|
||||
// An ExternalImportDeclaration in an AmbientExternalModuleDeclaration may reference other external modules
|
||||
// only through top - level external module names. Relative external module names are not permitted.
|
||||
if (!inAmbientModule || !ts.isExternalModuleNameRelative(moduleNameExpr.text)) {
|
||||
(imports || (imports = [])).push(moduleNameExpr);
|
||||
@@ -40113,7 +40113,7 @@ var ts;
|
||||
(moduleAugmentations || (moduleAugmentations = [])).push(moduleName);
|
||||
}
|
||||
else if (!inAmbientModule) {
|
||||
// An AmbientExternalModuleDeclaration declares an external module.
|
||||
// An AmbientExternalModuleDeclaration declares an external module.
|
||||
// This type of declaration is permitted only in the global module.
|
||||
// The StringLiteral must specify a top - level external module name.
|
||||
// Relative external module names are not permitted
|
||||
|
||||
@@ -39261,7 +39261,7 @@ var ts;
|
||||
/* @internal */ ts.ioWriteTime = 0;
|
||||
/** The version of the TypeScript compiler release */
|
||||
var emptyArray = [];
|
||||
ts.version = "1.8.5";
|
||||
ts.version = "1.8.7";
|
||||
function findConfigFile(searchPath, fileExists) {
|
||||
var fileName = "tsconfig.json";
|
||||
while (true) {
|
||||
@@ -39347,7 +39347,7 @@ var ts;
|
||||
jsonContent = jsonText ? JSON.parse(jsonText) : { typings: undefined };
|
||||
}
|
||||
catch (e) {
|
||||
// gracefully handle if readFile fails or returns not JSON
|
||||
// gracefully handle if readFile fails or returns not JSON
|
||||
jsonContent = { typings: undefined };
|
||||
}
|
||||
if (typeof jsonContent.typings === "string") {
|
||||
@@ -39409,7 +39409,7 @@ var ts;
|
||||
searchName = ts.normalizePath(ts.combinePaths(searchPath, moduleName));
|
||||
referencedSourceFile = ts.forEach(supportedExtensions, function (extension) {
|
||||
if (extension === ".tsx" && !compilerOptions.jsx) {
|
||||
// resolve .tsx files only if jsx support is enabled
|
||||
// resolve .tsx files only if jsx support is enabled
|
||||
// 'logical not' handles both undefined and None cases
|
||||
return undefined;
|
||||
}
|
||||
@@ -39583,7 +39583,7 @@ var ts;
|
||||
});
|
||||
var filesByName = ts.createFileMap();
|
||||
// stores 'filename -> file association' ignoring case
|
||||
// used to track cases when two file names differ only in casing
|
||||
// used to track cases when two file names differ only in casing
|
||||
var filesByNameIgnoreCase = host.useCaseSensitiveFileNames() ? ts.createFileMap(function (fileName) { return fileName.toLowerCase(); }) : undefined;
|
||||
if (oldProgram) {
|
||||
// check properties that can affect structure of the program or module resolution strategy
|
||||
@@ -40095,7 +40095,7 @@ var ts;
|
||||
break;
|
||||
}
|
||||
// TypeScript 1.0 spec (April 2014): 12.1.6
|
||||
// An ExternalImportDeclaration in an AmbientExternalModuleDeclaration may reference other external modules
|
||||
// An ExternalImportDeclaration in an AmbientExternalModuleDeclaration may reference other external modules
|
||||
// only through top - level external module names. Relative external module names are not permitted.
|
||||
if (!inAmbientModule || !ts.isExternalModuleNameRelative(moduleNameExpr.text)) {
|
||||
(imports || (imports = [])).push(moduleNameExpr);
|
||||
@@ -40113,7 +40113,7 @@ var ts;
|
||||
(moduleAugmentations || (moduleAugmentations = [])).push(moduleName);
|
||||
}
|
||||
else if (!inAmbientModule) {
|
||||
// An AmbientExternalModuleDeclaration declares an external module.
|
||||
// An AmbientExternalModuleDeclaration declares an external module.
|
||||
// This type of declaration is permitted only in the global module.
|
||||
// The StringLiteral must specify a top - level external module name.
|
||||
// Relative external module names are not permitted
|
||||
|
||||
Reference in New Issue
Block a user