mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
undefined instead of null
This commit is contained in:
1 parent
02b8160b41
commit
f4fa2eb28e
1 file changed
+1
-1
@@ -13,7 +13,7 @@ namespace ts {
|
||||
const importedFiles: FileReference[] = [];
|
||||
let ambientExternalModules: { ref: FileReference, depth: number }[];
|
||||
let braceNesting = 0;
|
||||
let lastToken: SyntaxKind = null;
|
||||
let lastToken: SyntaxKind;
|
||||
// assume that text represent an external module if it contains at least one top level import/export
|
||||
// ambient modules that are found inside external modules are interpreted as module augmentations
|
||||
let externalModule = false;
|
||||
|
||||
Reference in new issue
Block a user