diff --git a/Makefile b/Makefile
index 0e9e3a5f73..e7103039ed 100644
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,7 @@ TS_FILES = \
msg.pb.js \
os.ts \
runtime.ts \
+ text-encoding.d.ts \
timers.ts \
tsconfig.json \
types.ts \
diff --git a/globals.ts b/globals.ts
index 184f25163b..e82afd75b9 100644
--- a/globals.ts
+++ b/globals.ts
@@ -1,3 +1,4 @@
+///
import * as timer from "./timers";
// If you use the eval function indirectly, by invoking it via a reference
diff --git a/text-encoding.d.ts b/text-encoding.d.ts
index d86ee007fb..b2ec9bc8f4 100644
--- a/text-encoding.d.ts
+++ b/text-encoding.d.ts
@@ -1,3 +1,4 @@
+
// Type definitions for text-encoding
// Project: https://github.com/inexorabletash/text-encoding
// Definitions by: MIZUNE Pine
@@ -49,10 +50,16 @@ declare namespace TextEncoding {
}
}
-declare var TextDecoder: TextEncoding.TextDecoderStatic;
-
-declare var TextEncoder: TextEncoding.TextEncoderStatic;
+/* Removed following lines to workaround this bug:
+ text-encoding.d.ts:52:13 - error TS2403: Subsequent variable declarations
+ must have the same type. Variable 'TextDecoder' must be of type '{ new
+ (label?: string, options?: TextDecoderOptions): TextDecoder; prototype:
+ TextDecoder; }', but here has type 'TextDecoderStatic'.
+ 52 declare var TextDecoder: TextEncoding.TextDecoderStatic;
+ */
+// declare var TextDecoder: TextEncoding.TextDecoderStatic;
+// declare var TextEncoder: TextEncoding.TextEncoderStatic;
declare var TextEncoding: TextEncoding.TextEncodingStatic;
declare module "text-encoding" {