Skip to content

Commit f4fa2eb

Browse files
authored
undefined instead of null
1 parent 02b8160 commit f4fa2eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/preProcess.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace ts {
1313
const importedFiles: FileReference[] = [];
1414
let ambientExternalModules: { ref: FileReference, depth: number }[];
1515
let braceNesting = 0;
16-
let lastToken: SyntaxKind = null;
16+
let lastToken: SyntaxKind;
1717
// assume that text represent an external module if it contains at least one top level import/export
1818
// ambient modules that are found inside external modules are interpreted as module augmentations
1919
let externalModule = false;

0 commit comments

Comments
 (0)