@typescript-deploys/pr-build 5.6.0-pr-59689-2 → 5.7.0-pr-59688-4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/tsc.js +102 -51
- package/lib/typescript.d.ts +5 -2
- package/lib/typescript.js +601 -299
- package/package.json +1 -1
package/lib/tsc.js
CHANGED
|
@@ -17,8 +17,8 @@ and limitations under the License.
|
|
|
17
17
|
"use strict";
|
|
18
18
|
|
|
19
19
|
// src/compiler/corePublic.ts
|
|
20
|
-
var versionMajorMinor = "5.
|
|
21
|
-
var version = `${versionMajorMinor}.0-insiders.
|
|
20
|
+
var versionMajorMinor = "5.7";
|
|
21
|
+
var version = `${versionMajorMinor}.0-insiders.20240820`;
|
|
22
22
|
|
|
23
23
|
// src/compiler/core.ts
|
|
24
24
|
var emptyArray = [];
|
|
@@ -17134,6 +17134,9 @@ function accessKind(node) {
|
|
|
17134
17134
|
return node === parent.objectAssignmentInitializer ? 0 /* Read */ : accessKind(parent.parent);
|
|
17135
17135
|
case 209 /* ArrayLiteralExpression */:
|
|
17136
17136
|
return accessKind(parent);
|
|
17137
|
+
case 249 /* ForInStatement */:
|
|
17138
|
+
case 250 /* ForOfStatement */:
|
|
17139
|
+
return node === parent.initializer ? 1 /* Write */ : 0 /* Read */;
|
|
17137
17140
|
default:
|
|
17138
17141
|
return 0 /* Read */;
|
|
17139
17142
|
}
|
|
@@ -38244,6 +38247,9 @@ function getErrorForNoInputFiles({ includeSpecs, excludeSpecs }, configFileName)
|
|
|
38244
38247
|
function shouldReportNoInputFiles(fileNames, canJsonReportNoInutFiles, resolutionStack) {
|
|
38245
38248
|
return fileNames.length === 0 && canJsonReportNoInutFiles && (!resolutionStack || resolutionStack.length === 0);
|
|
38246
38249
|
}
|
|
38250
|
+
function isSolutionConfig(config) {
|
|
38251
|
+
return !config.fileNames.length && hasProperty(config.raw, "references");
|
|
38252
|
+
}
|
|
38247
38253
|
function canJsonReportNoInputFiles(raw) {
|
|
38248
38254
|
return !hasProperty(raw, "files") && !hasProperty(raw, "references");
|
|
38249
38255
|
}
|
|
@@ -69774,6 +69780,12 @@ function createTypeChecker(host) {
|
|
|
69774
69780
|
function getControlFlowContainer(node) {
|
|
69775
69781
|
return findAncestor(node.parent, (node2) => isFunctionLike(node2) && !getImmediatelyInvokedFunctionExpression(node2) || node2.kind === 268 /* ModuleBlock */ || node2.kind === 307 /* SourceFile */ || node2.kind === 172 /* PropertyDeclaration */);
|
|
69776
69782
|
}
|
|
69783
|
+
function isSymbolAssignedDefinitely(symbol) {
|
|
69784
|
+
if (symbol.lastAssignmentPos !== void 0) {
|
|
69785
|
+
return symbol.lastAssignmentPos < 0;
|
|
69786
|
+
}
|
|
69787
|
+
return isSymbolAssigned(symbol) && symbol.lastAssignmentPos !== void 0 && symbol.lastAssignmentPos < 0;
|
|
69788
|
+
}
|
|
69777
69789
|
function isSymbolAssigned(symbol) {
|
|
69778
69790
|
return !isPastLastAssignment(
|
|
69779
69791
|
symbol,
|
|
@@ -69793,7 +69805,7 @@ function createTypeChecker(host) {
|
|
|
69793
69805
|
markNodeAssignments(parent);
|
|
69794
69806
|
}
|
|
69795
69807
|
}
|
|
69796
|
-
return !symbol.lastAssignmentPos || location && symbol.lastAssignmentPos < location.pos;
|
|
69808
|
+
return !symbol.lastAssignmentPos || location && Math.abs(symbol.lastAssignmentPos) < location.pos;
|
|
69797
69809
|
}
|
|
69798
69810
|
function isSomeSymbolAssigned(rootDeclaration) {
|
|
69799
69811
|
Debug.assert(isVariableDeclaration(rootDeclaration) || isParameter(rootDeclaration));
|
|
@@ -69814,12 +69826,19 @@ function createTypeChecker(host) {
|
|
|
69814
69826
|
function markNodeAssignments(node) {
|
|
69815
69827
|
switch (node.kind) {
|
|
69816
69828
|
case 80 /* Identifier */:
|
|
69817
|
-
|
|
69829
|
+
const assigmentTarget = getAssignmentTargetKind(node);
|
|
69830
|
+
if (assigmentTarget !== 0 /* None */) {
|
|
69818
69831
|
const symbol = getResolvedSymbol(node);
|
|
69819
|
-
|
|
69820
|
-
|
|
69821
|
-
|
|
69822
|
-
|
|
69832
|
+
const hasDefiniteAssignment = assigmentTarget === 1 /* Definite */ || symbol.lastAssignmentPos !== void 0 && symbol.lastAssignmentPos < 0;
|
|
69833
|
+
if (isParameterOrMutableLocalVariable(symbol)) {
|
|
69834
|
+
if (symbol.lastAssignmentPos === void 0 || Math.abs(symbol.lastAssignmentPos) !== Number.MAX_VALUE) {
|
|
69835
|
+
const referencingFunction = findAncestor(node, isFunctionOrSourceFile);
|
|
69836
|
+
const declaringFunction = findAncestor(symbol.valueDeclaration, isFunctionOrSourceFile);
|
|
69837
|
+
symbol.lastAssignmentPos = referencingFunction === declaringFunction ? extendAssignmentPosition(node, symbol.valueDeclaration) : Number.MAX_VALUE;
|
|
69838
|
+
}
|
|
69839
|
+
if (hasDefiniteAssignment && symbol.lastAssignmentPos > 0) {
|
|
69840
|
+
symbol.lastAssignmentPos *= -1;
|
|
69841
|
+
}
|
|
69823
69842
|
}
|
|
69824
69843
|
}
|
|
69825
69844
|
return;
|
|
@@ -69836,7 +69855,8 @@ function createTypeChecker(host) {
|
|
|
69836
69855
|
true
|
|
69837
69856
|
);
|
|
69838
69857
|
if (symbol && isParameterOrMutableLocalVariable(symbol)) {
|
|
69839
|
-
symbol.lastAssignmentPos
|
|
69858
|
+
const sign = symbol.lastAssignmentPos !== void 0 && symbol.lastAssignmentPos < 0 ? -1 : 1;
|
|
69859
|
+
symbol.lastAssignmentPos = sign * Number.MAX_VALUE;
|
|
69840
69860
|
}
|
|
69841
69861
|
}
|
|
69842
69862
|
return;
|
|
@@ -70420,6 +70440,7 @@ function createTypeChecker(host) {
|
|
|
70420
70440
|
}
|
|
70421
70441
|
const localOrExportSymbol = getExportSymbolOfValueSymbolIfExported(symbol);
|
|
70422
70442
|
let declaration = localOrExportSymbol.valueDeclaration;
|
|
70443
|
+
const immediateDeclaration = declaration;
|
|
70423
70444
|
if (declaration && declaration.kind === 208 /* BindingElement */ && contains(contextualBindingPatterns, declaration.parent) && findAncestor(node, (parent) => parent === declaration.parent)) {
|
|
70424
70445
|
return nonInferrableAnyType;
|
|
70425
70446
|
}
|
|
@@ -70465,7 +70486,8 @@ function createTypeChecker(host) {
|
|
|
70465
70486
|
while (flowContainer !== declarationContainer && (flowContainer.kind === 218 /* FunctionExpression */ || flowContainer.kind === 219 /* ArrowFunction */ || isObjectLiteralOrClassExpressionMethodOrAccessor(flowContainer)) && (isConstantVariable(localOrExportSymbol) && type !== autoArrayType || isParameterOrMutableLocalVariable(localOrExportSymbol) && isPastLastAssignment(localOrExportSymbol, node))) {
|
|
70466
70487
|
flowContainer = getControlFlowContainer(flowContainer);
|
|
70467
70488
|
}
|
|
70468
|
-
const
|
|
70489
|
+
const isNeverInitialized = immediateDeclaration && isVariableDeclaration(immediateDeclaration) && !immediateDeclaration.initializer && !immediateDeclaration.exclamationToken && isMutableLocalVariableDeclaration(immediateDeclaration) && !isSymbolAssignedDefinitely(symbol);
|
|
70490
|
+
const assumeInitialized = isParameter2 || isAlias || isOuterVariable && !isNeverInitialized || isSpreadDestructuringAssignmentTarget || isModuleExports || isSameScopedBindingElement(node, declaration) || type !== autoType && type !== autoArrayType && (!strictNullChecks || (type.flags & (3 /* AnyOrUnknown */ | 16384 /* Void */)) !== 0 || isInTypeQuery(node) || isInAmbientOrTypeNode(node) || node.parent.kind === 281 /* ExportSpecifier */) || node.parent.kind === 235 /* NonNullExpression */ || declaration.kind === 260 /* VariableDeclaration */ && declaration.exclamationToken || declaration.flags & 33554432 /* Ambient */;
|
|
70469
70491
|
const initialType = isAutomaticTypeInNonNull ? undefinedType : assumeInitialized ? isParameter2 ? removeOptionalityFromDeclaredType(type, declaration) : type : typeIsAutomatic ? undefinedType : getOptionalType(type);
|
|
70470
70492
|
const flowType = isAutomaticTypeInNonNull ? getNonNullableType(getFlowTypeOfReference(node, type, initialType, flowContainer)) : getFlowTypeOfReference(node, type, initialType, flowContainer);
|
|
70471
70493
|
if (!isEvolvingArrayOperationTarget(node) && (type === autoType || type === autoArrayType)) {
|
|
@@ -91469,7 +91491,7 @@ function transformTypeScript(context) {
|
|
|
91469
91491
|
let currentNamespaceContainerName;
|
|
91470
91492
|
let currentLexicalScope;
|
|
91471
91493
|
let currentScopeFirstDeclarationsOfName;
|
|
91472
|
-
let enabledSubstitutions
|
|
91494
|
+
let enabledSubstitutions = 0 /* None */;
|
|
91473
91495
|
let applicableSubstitutions;
|
|
91474
91496
|
return transformSourceFileOrBundle;
|
|
91475
91497
|
function transformSourceFileOrBundle(node) {
|
|
@@ -93277,7 +93299,7 @@ function transformClassFields(context) {
|
|
|
93277
93299
|
const previousOnEmitNode = context.onEmitNode;
|
|
93278
93300
|
context.onEmitNode = onEmitNode;
|
|
93279
93301
|
let shouldTransformPrivateStaticElementsInFile = false;
|
|
93280
|
-
let enabledSubstitutions
|
|
93302
|
+
let enabledSubstitutions = 0 /* None */;
|
|
93281
93303
|
let classAliases;
|
|
93282
93304
|
let pendingExpressions;
|
|
93283
93305
|
let pendingStatements;
|
|
@@ -98206,7 +98228,7 @@ function transformES2017(context) {
|
|
|
98206
98228
|
const resolver = context.getEmitResolver();
|
|
98207
98229
|
const compilerOptions = context.getCompilerOptions();
|
|
98208
98230
|
const languageVersion = getEmitScriptTarget(compilerOptions);
|
|
98209
|
-
let enabledSubstitutions
|
|
98231
|
+
let enabledSubstitutions = 0 /* None */;
|
|
98210
98232
|
let enclosingSuperContainerFlags = 0;
|
|
98211
98233
|
let enclosingFunctionParameterNames;
|
|
98212
98234
|
let capturedSuperProperties;
|
|
@@ -99081,7 +99103,7 @@ function transformES2018(context) {
|
|
|
99081
99103
|
const previousOnSubstituteNode = context.onSubstituteNode;
|
|
99082
99104
|
context.onSubstituteNode = onSubstituteNode;
|
|
99083
99105
|
let exportedVariableStatement = false;
|
|
99084
|
-
let enabledSubstitutions
|
|
99106
|
+
let enabledSubstitutions = 0 /* None */;
|
|
99085
99107
|
let enclosingFunctionFlags;
|
|
99086
99108
|
let parametersWithPrecedingObjectRestOrSpread;
|
|
99087
99109
|
let enclosingSuperContainerFlags = 0;
|
|
@@ -102216,7 +102238,7 @@ function transformES2015(context) {
|
|
|
102216
102238
|
);
|
|
102217
102239
|
}
|
|
102218
102240
|
let convertedLoopState;
|
|
102219
|
-
let enabledSubstitutions
|
|
102241
|
+
let enabledSubstitutions = 0 /* None */;
|
|
102220
102242
|
return chainBundle(context, transformSourceFile);
|
|
102221
102243
|
function transformSourceFile(node) {
|
|
102222
102244
|
if (node.isDeclarationFile) {
|
|
@@ -119664,15 +119686,22 @@ function forEachProjectReference(projectReferences, resolvedProjectReferences, c
|
|
|
119664
119686
|
const result = cbRef(projectReferences2, parent);
|
|
119665
119687
|
if (result) return result;
|
|
119666
119688
|
}
|
|
119667
|
-
|
|
119668
|
-
|
|
119669
|
-
|
|
119689
|
+
let skipChildren;
|
|
119690
|
+
return forEach(
|
|
119691
|
+
resolvedProjectReferences2,
|
|
119692
|
+
(resolvedRef, index) => {
|
|
119693
|
+
if (resolvedRef && (seenResolvedRefs == null ? void 0 : seenResolvedRefs.has(resolvedRef.sourceFile.path))) {
|
|
119694
|
+
(skipChildren ?? (skipChildren = /* @__PURE__ */ new Set())).add(resolvedRef);
|
|
119695
|
+
return void 0;
|
|
119696
|
+
}
|
|
119697
|
+
const result = cbResolvedRef(resolvedRef, parent, index);
|
|
119698
|
+
if (result || !resolvedRef) return result;
|
|
119699
|
+
(seenResolvedRefs || (seenResolvedRefs = /* @__PURE__ */ new Set())).add(resolvedRef.sourceFile.path);
|
|
119670
119700
|
}
|
|
119671
|
-
|
|
119672
|
-
|
|
119673
|
-
(
|
|
119674
|
-
|
|
119675
|
-
});
|
|
119701
|
+
) || forEach(
|
|
119702
|
+
resolvedProjectReferences2,
|
|
119703
|
+
(resolvedRef) => resolvedRef && !(skipChildren == null ? void 0 : skipChildren.has(resolvedRef)) ? worker(resolvedRef.commandLine.projectReferences, resolvedRef.references, resolvedRef) : void 0
|
|
119704
|
+
);
|
|
119676
119705
|
}
|
|
119677
119706
|
}
|
|
119678
119707
|
var inferredTypesContainingFile = "__inferred type names__.ts";
|
|
@@ -119770,7 +119799,13 @@ function isProgramUptoDate(program, rootFileNames, newOptions, getSourceVersion,
|
|
|
119770
119799
|
if (oldResolvedRef.commandLine.options.configFile !== newParsedCommandLine.options.configFile) return false;
|
|
119771
119800
|
if (!arrayIsEqualTo(oldResolvedRef.commandLine.fileNames, newParsedCommandLine.fileNames)) return false;
|
|
119772
119801
|
(seenResolvedRefs || (seenResolvedRefs = [])).push(oldResolvedRef);
|
|
119773
|
-
return !forEach(
|
|
119802
|
+
return !forEach(
|
|
119803
|
+
oldResolvedRef.references,
|
|
119804
|
+
(childResolvedRef, index) => !resolvedProjectReferenceUptoDate(
|
|
119805
|
+
childResolvedRef,
|
|
119806
|
+
oldResolvedRef.commandLine.projectReferences[index]
|
|
119807
|
+
)
|
|
119808
|
+
);
|
|
119774
119809
|
}
|
|
119775
119810
|
const refPath = resolveProjectReferencePath(oldRef);
|
|
119776
119811
|
return !getParsedCommandLine(refPath);
|
|
@@ -122702,7 +122737,11 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
|
|
|
122702
122737
|
case 1 /* SourceFromProjectReference */:
|
|
122703
122738
|
case 2 /* OutputFromProjectReference */:
|
|
122704
122739
|
const referencedResolvedRef = Debug.checkDefined(resolvedProjectReferences == null ? void 0 : resolvedProjectReferences[reason.index]);
|
|
122705
|
-
const referenceInfo = forEachProjectReference(
|
|
122740
|
+
const referenceInfo = forEachProjectReference(
|
|
122741
|
+
projectReferences,
|
|
122742
|
+
resolvedProjectReferences,
|
|
122743
|
+
(resolvedRef, parent, index2) => resolvedRef === referencedResolvedRef ? { sourceFile: (parent == null ? void 0 : parent.sourceFile) || options.configFile, index: index2 } : void 0
|
|
122744
|
+
);
|
|
122706
122745
|
if (!referenceInfo) return void 0;
|
|
122707
122746
|
const { sourceFile, index } = referenceInfo;
|
|
122708
122747
|
const referencesSyntax = forEachTsConfigPropArray(sourceFile, "references", (property) => isArrayLiteralExpression(property.initializer) ? property.initializer : void 0);
|
|
@@ -122737,27 +122776,31 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
|
|
|
122737
122776
|
}
|
|
122738
122777
|
function verifyProjectReferences() {
|
|
122739
122778
|
const buildInfoPath = !options.suppressOutputPathCheck ? getTsBuildInfoEmitOutputFilePath(options) : void 0;
|
|
122740
|
-
forEachProjectReference(
|
|
122741
|
-
|
|
122742
|
-
|
|
122743
|
-
|
|
122744
|
-
|
|
122745
|
-
|
|
122746
|
-
|
|
122747
|
-
|
|
122748
|
-
|
|
122749
|
-
|
|
122750
|
-
|
|
122751
|
-
|
|
122752
|
-
|
|
122753
|
-
|
|
122779
|
+
forEachProjectReference(
|
|
122780
|
+
projectReferences,
|
|
122781
|
+
resolvedProjectReferences,
|
|
122782
|
+
(resolvedRef, parent, index) => {
|
|
122783
|
+
const ref = (parent ? parent.commandLine.projectReferences : projectReferences)[index];
|
|
122784
|
+
const parentFile = parent && parent.sourceFile;
|
|
122785
|
+
verifyDeprecatedProjectReference(ref, parentFile, index);
|
|
122786
|
+
if (!resolvedRef) {
|
|
122787
|
+
createDiagnosticForReference(parentFile, index, Diagnostics.File_0_not_found, ref.path);
|
|
122788
|
+
return;
|
|
122789
|
+
}
|
|
122790
|
+
const options2 = resolvedRef.commandLine.options;
|
|
122791
|
+
if (!options2.composite || options2.noEmit) {
|
|
122792
|
+
const inputs = parent ? parent.commandLine.fileNames : rootNames;
|
|
122793
|
+
if (inputs.length) {
|
|
122794
|
+
if (!options2.composite) createDiagnosticForReference(parentFile, index, Diagnostics.Referenced_project_0_must_have_setting_composite_Colon_true, ref.path);
|
|
122795
|
+
if (options2.noEmit) createDiagnosticForReference(parentFile, index, Diagnostics.Referenced_project_0_may_not_disable_emit, ref.path);
|
|
122796
|
+
}
|
|
122797
|
+
}
|
|
122798
|
+
if (!parent && buildInfoPath && buildInfoPath === getTsBuildInfoEmitOutputFilePath(options2)) {
|
|
122799
|
+
createDiagnosticForReference(parentFile, index, Diagnostics.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1, buildInfoPath, ref.path);
|
|
122800
|
+
hasEmitBlockingDiagnostics.set(toPath3(buildInfoPath), true);
|
|
122754
122801
|
}
|
|
122755
122802
|
}
|
|
122756
|
-
|
|
122757
|
-
createDiagnosticForReference(parentFile, index, Diagnostics.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1, buildInfoPath, ref.path);
|
|
122758
|
-
hasEmitBlockingDiagnostics.set(toPath3(buildInfoPath), true);
|
|
122759
|
-
}
|
|
122760
|
-
});
|
|
122803
|
+
);
|
|
122761
122804
|
}
|
|
122762
122805
|
function createDiagnosticForOptionPathKeyValue(key, valueIndex, message, ...args) {
|
|
122763
122806
|
let needCompilerDiagnostic = true;
|
|
@@ -127294,7 +127337,13 @@ function createWatchProgram(host) {
|
|
|
127294
127337
|
Debug.assert(configFileName);
|
|
127295
127338
|
updateLevel = 0 /* Update */;
|
|
127296
127339
|
rootFileNames = getFileNamesFromConfigSpecs(compilerOptions.configFile.configFileSpecs, getNormalizedAbsolutePath(getDirectoryPath(configFileName), currentDirectory), compilerOptions, parseConfigFileHost, extraFileExtensions);
|
|
127297
|
-
if (updateErrorForNoInputFiles(
|
|
127340
|
+
if (updateErrorForNoInputFiles(
|
|
127341
|
+
rootFileNames,
|
|
127342
|
+
getNormalizedAbsolutePath(configFileName, currentDirectory),
|
|
127343
|
+
compilerOptions.configFile.configFileSpecs,
|
|
127344
|
+
configFileParsingDiagnostics,
|
|
127345
|
+
canConfigFileJsonReportNoInputFiles
|
|
127346
|
+
)) {
|
|
127298
127347
|
hasChangedConfigFileParsingErrors = true;
|
|
127299
127348
|
}
|
|
127300
127349
|
synchronizeProgram();
|
|
@@ -128255,7 +128304,13 @@ function getNextInvalidatedProjectCreateInfo(state, buildOrder, reportQueue) {
|
|
|
128255
128304
|
watchPackageJsonFiles(state, project, projectPath, config);
|
|
128256
128305
|
} else if (updateLevel === 1 /* RootNamesAndUpdate */) {
|
|
128257
128306
|
config.fileNames = getFileNamesFromConfigSpecs(config.options.configFile.configFileSpecs, getDirectoryPath(project), config.options, state.parseConfigFileHost);
|
|
128258
|
-
updateErrorForNoInputFiles(
|
|
128307
|
+
updateErrorForNoInputFiles(
|
|
128308
|
+
config.fileNames,
|
|
128309
|
+
project,
|
|
128310
|
+
config.options.configFile.configFileSpecs,
|
|
128311
|
+
config.errors,
|
|
128312
|
+
canJsonReportNoInputFiles(config.raw)
|
|
128313
|
+
);
|
|
128259
128314
|
watchInputFiles(state, project, projectPath, config);
|
|
128260
128315
|
watchPackageJsonFiles(state, project, projectPath, config);
|
|
128261
128316
|
}
|
|
@@ -128436,11 +128491,7 @@ function checkConfigFileUpToDateStatus(state, configFile, oldestOutputFileTime,
|
|
|
128436
128491
|
}
|
|
128437
128492
|
function getUpToDateStatusWorker(state, project, resolvedPath) {
|
|
128438
128493
|
var _a, _b, _c, _d, _e;
|
|
128439
|
-
if (
|
|
128440
|
-
return {
|
|
128441
|
-
type: 16 /* ContainerOnly */
|
|
128442
|
-
};
|
|
128443
|
-
}
|
|
128494
|
+
if (isSolutionConfig(project)) return { type: 16 /* ContainerOnly */ };
|
|
128444
128495
|
let referenceStatuses;
|
|
128445
128496
|
const force = !!state.options.force;
|
|
128446
128497
|
if (project.projectReferences) {
|
package/lib/typescript.d.ts
CHANGED
|
@@ -2828,7 +2828,6 @@ declare namespace ts {
|
|
|
2828
2828
|
private lastReportedFileNames;
|
|
2829
2829
|
private lastReportedVersion;
|
|
2830
2830
|
protected projectErrors: Diagnostic[] | undefined;
|
|
2831
|
-
protected isInitialLoadPending: () => boolean;
|
|
2832
2831
|
private typingsCache;
|
|
2833
2832
|
private typingWatchers;
|
|
2834
2833
|
private readonly cancellationToken;
|
|
@@ -3277,6 +3276,7 @@ declare namespace ts {
|
|
|
3277
3276
|
private deleteScriptInfo;
|
|
3278
3277
|
private configFileExists;
|
|
3279
3278
|
private createConfigFileWatcherForParsedConfig;
|
|
3279
|
+
private ensureConfigFileWatcherForProject;
|
|
3280
3280
|
private forEachConfigFileLocation;
|
|
3281
3281
|
private getConfigFileNameForFileFromCache;
|
|
3282
3282
|
private setConfigFileNameForFileInCache;
|
|
@@ -3290,6 +3290,7 @@ declare namespace ts {
|
|
|
3290
3290
|
private updateNonInferredProjectFiles;
|
|
3291
3291
|
private updateRootAndOptionsOfNonInferredProject;
|
|
3292
3292
|
private reloadFileNamesOfParsedConfig;
|
|
3293
|
+
private setProjectForReload;
|
|
3293
3294
|
private clearSemanticCache;
|
|
3294
3295
|
private getOrCreateInferredProjectForProjectRootPathIfEnabled;
|
|
3295
3296
|
private getOrCreateSingleInferredProjectIfEnabled;
|
|
@@ -3336,6 +3337,8 @@ declare namespace ts {
|
|
|
3336
3337
|
private getOrCreateOpenScriptInfo;
|
|
3337
3338
|
private assignProjectToOpenedScriptInfo;
|
|
3338
3339
|
private tryFindDefaultConfiguredProjectForOpenScriptInfo;
|
|
3340
|
+
private isMatchedByConfig;
|
|
3341
|
+
private tryFindDefaultConfiguredProjectForOpenScriptInfoOrClosedFileInfo;
|
|
3339
3342
|
private tryFindDefaultConfiguredProjectAndLoadAncestorsForOpenScriptInfo;
|
|
3340
3343
|
private ensureProjectChildren;
|
|
3341
3344
|
private cleanupConfiguredProjects;
|
|
@@ -3595,7 +3598,7 @@ declare namespace ts {
|
|
|
3595
3598
|
readDirectory(rootDir: string, extensions: readonly string[], excludes: readonly string[] | undefined, includes: readonly string[] | undefined, depth?: number): string[];
|
|
3596
3599
|
}
|
|
3597
3600
|
}
|
|
3598
|
-
const versionMajorMinor = "5.
|
|
3601
|
+
const versionMajorMinor = "5.7";
|
|
3599
3602
|
/** The version of the TypeScript compiler release */
|
|
3600
3603
|
const version: string;
|
|
3601
3604
|
/**
|