From 0a241dddc8989dc3021934d8776f9ee118de7194 Mon Sep 17 00:00:00 2001 From: David Burke Date: Sat, 13 Oct 2018 14:25:37 -0400 Subject: [PATCH] Remove global-shims that instascan needed --- src/global-shims.ts | 3 --- src/tsconfig.spec.json | 3 +-- tsconfig.json | 6 +----- 3 files changed, 2 insertions(+), 10 deletions(-) delete mode 100644 src/global-shims.ts diff --git a/src/global-shims.ts b/src/global-shims.ts deleted file mode 100644 index 9ec2914f..00000000 --- a/src/global-shims.ts +++ /dev/null @@ -1,3 +0,0 @@ -(window as any).global = window; - -export const NOOP = 0; diff --git a/src/tsconfig.spec.json b/src/tsconfig.spec.json index a13c72a0..5d4cbe65 100644 --- a/src/tsconfig.spec.json +++ b/src/tsconfig.spec.json @@ -18,7 +18,6 @@ ], "include": [ "**/*.spec.ts", - "**/*.d.ts", - "global-shims.ts" + "**/*.d.ts" ] } diff --git a/tsconfig.json b/tsconfig.json index ff27ac27..771c60e5 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -22,11 +22,7 @@ "lib": [ "es2016", "dom" - ], - "paths": { - "fs": [ "./global-shims" ], - "crypto": [ "./global-shims" ] - } + ] }, "angularCompilerOptions": { "preserveWhitespaces": false -- 2.22.2