Skip to content

Commit c1d5384

Browse files
committed
remove displayLazyShapeCompilation option
1 parent 2165ffd commit c1d5384

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
@@ -5841,7 +5841,6 @@ namespace ts {
58415841
declarationDir?: string;
58425842
/* @internal */ diagnostics?: boolean;
58435843
/* @internal */ extendedDiagnostics?: boolean;
5844-
/* @internal */ disableLazyShapeComputation?: boolean;
58455844
disableSizeLimit?: boolean;
58465845
disableSourceOfProjectReferenceRedirect?: boolean;
58475846
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
@@ -9170,7 +9170,6 @@ declare namespace ts.server.protocol {
91709170
checkJs?: boolean;
91719171
declaration?: boolean;
91729172
declarationDir?: string;
9173-
disableLazyShapeComputation?: boolean;
91749173
disableSizeLimit?: boolean;
91759174
downlevelIteration?: boolean;
91769175
emitBOM?: boolean;

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

-5
This file was deleted.

0 commit comments

Comments
 (0)