Skip to content

Commit 7a813cf

Browse files
committed
TS: disable type expansion by default
1 parent be3191a commit 7a813cf

File tree

1 file changed

+1
-1
lines changed
  • javascript/extractor/lib/typescript/src

1 file changed

+1
-1
lines changed

javascript/extractor/lib/typescript/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ function handlePrepareFilesCommand(command: PrepareFilesCommand) {
409409

410410
function reset() {
411411
state = new State();
412-
state.typeTable.restrictedExpansion = getEnvironmentVariable("SEMMLE_TYPESCRIPT_NO_EXPANSION", Boolean, false);
412+
state.typeTable.restrictedExpansion = getEnvironmentVariable("SEMMLE_TYPESCRIPT_NO_EXPANSION", Boolean, true);
413413
}
414414

415415
function getEnvironmentVariable<T>(name: string, parse: (x: string) => T, defaultValue: T) {

0 commit comments

Comments
 (0)