Skip to content

Commit 97018f7

Browse files
authored
Merge pull request #1248 from asger-semmle/ts-full-default
Approved by xiemaisi
2 parents 7af4baf + b6ea121 commit 97018f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
* </ul>
137137
*
138138
* <p>Additionally, if the environment variable <code>LGTM_INDEX_TYPESCRIPT</code> is set to "basic"
139-
* (default) or "full", files with one of the extensions supported by {@link FileType#TYPESCRIPT}
139+
* or "full" (default), files with one of the extensions supported by {@link FileType#TYPESCRIPT}
140140
* (currently ".ts" and ".tsx") are also included. In case of "full", type information from the
141141
* TypeScript compiler is extracted as well.
142142
*
@@ -190,7 +190,7 @@ public AutoBuild() {
190190
this.outputConfig = new ExtractorOutputConfig(LegacyLanguage.JAVASCRIPT);
191191
this.trapCache = mkTrapCache();
192192
this.typeScriptMode =
193-
getEnumFromEnvVar("LGTM_INDEX_TYPESCRIPT", TypeScriptMode.class, TypeScriptMode.BASIC);
193+
getEnumFromEnvVar("LGTM_INDEX_TYPESCRIPT", TypeScriptMode.class, TypeScriptMode.FULL);
194194
this.defaultEncoding = getEnvVar("LGTM_INDEX_DEFAULT_ENCODING");
195195
setupFileTypes();
196196
setupMatchers();

0 commit comments

Comments
 (0)