summaryrefslogtreecommitdiff
path: root/tools/ts_library_builder/build_library.ts
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2019-06-02 01:13:36 +1000
committerRyan Dahl <ry@tinyclouds.org>2019-06-01 11:13:36 -0400
commitd438a6d259f79d1dd98d50ada01debbe24ca5a29 (patch)
tree04484b78fa46915c25d23547b7beb9f544091a2e /tools/ts_library_builder/build_library.ts
parent79f770b178da2d74f10eaa5668b3c3521ab6bb59 (diff)
Upgrade TypeScript to 3.5.1 (#2437)
Diffstat (limited to 'tools/ts_library_builder/build_library.ts')
-rw-r--r--tools/ts_library_builder/build_library.ts10
1 files changed, 0 insertions, 10 deletions
diff --git a/tools/ts_library_builder/build_library.ts b/tools/ts_library_builder/build_library.ts
index 22268f1dc..678a603ae 100644
--- a/tools/ts_library_builder/build_library.ts
+++ b/tools/ts_library_builder/build_library.ts
@@ -210,16 +210,6 @@ export function prepareFileForMerge({
true
);
- // `globalThis` accesses the global scope and is defined here:
- // https://github.com/tc39/proposal-global
- addVariableDeclaration(
- targetSourceFile,
- "globalThis",
- interfaceName,
- true,
- true
- );
-
// Add self reference to the global variable
addInterfaceProperty(interfaceDeclaration, globalVarName, interfaceName);