Skip to content

Commit 9fc3260

Browse files
committed
remove displayLazyShapeCompilation option
1 parent 7f98071 commit 9fc3260

File tree

6 files changed

+1
-15
lines changed

6 files changed

+1
-15
lines changed

src/compiler/builderState.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ namespace ts {
341341
}
342342
}
343343
else {
344-
if ((prevSignature === undefined && avoidInitializingSignature) && !programOfThisState.getCompilerOptions().disableLazyShapeComputation) {
344+
if (prevSignature === undefined && avoidInitializingSignature) {
345345
if (exportedModulesMapCache) {
346346
const references = state.referencedMap ? state.referencedMap.get(sourceFile.resolvedPath) : undefined;
347347
exportedModulesMapCache.set(sourceFile.resolvedPath, references || false);

src/compiler/commandLineParser.ts

-6
Original file line numberDiff line numberDiff line change
@@ -941,12 +941,6 @@ namespace ts {
941941
category: Diagnostics.Advanced_Options,
942942
description: Diagnostics.Do_not_emit_declarations_for_code_that_has_an_internal_annotation,
943943
},
944-
{
945-
name: "disableLazyShapeComputation",
946-
type: "boolean",
947-
category: Diagnostics.Advanced_Options,
948-
description: Diagnostics.Disable_lazy_computation_of_module_shapes
949-
},
950944
{
951945
name: "disableSizeLimit",
952946
type: "boolean",

src/compiler/types.ts

-1
Original file line numberDiff line numberDiff line change
@@ -5840,7 +5840,6 @@ namespace ts {
58405840
declarationDir?: string;
58415841
/* @internal */ diagnostics?: boolean;
58425842
/* @internal */ extendedDiagnostics?: boolean;
5843-
/* @internal */ disableLazyShapeComputation?: boolean;
58445843
disableSizeLimit?: boolean;
58455844
disableSourceOfProjectReferenceRedirect?: boolean;
58465845
disableSolutionSearching?: boolean;

src/server/protocol.ts

-1
Original file line numberDiff line numberDiff line change
@@ -3315,7 +3315,6 @@ namespace ts.server.protocol {
33153315
checkJs?: boolean;
33163316
declaration?: boolean;
33173317
declarationDir?: string;
3318-
disableLazyShapeComputation?: boolean;
33193318
disableSizeLimit?: boolean;
33203319
downlevelIteration?: boolean;
33213320
emitBOM?: boolean;

tests/baselines/reference/api/tsserverlibrary.d.ts

-1
Original file line numberDiff line numberDiff line change
@@ -9157,7 +9157,6 @@ declare namespace ts.server.protocol {
91579157
checkJs?: boolean;
91589158
declaration?: boolean;
91599159
declarationDir?: string;
9160-
disableLazyShapeComputation?: boolean;
91619160
disableSizeLimit?: boolean;
91629161
downlevelIteration?: boolean;
91639162
emitBOM?: boolean;

tests/baselines/reference/showConfig/Shows tsconfig for single option/disableLazyShapeComputation/tsconfig.json

-5
This file was deleted.

0 commit comments

Comments
 (0)