From d447edd99718386bd6fafe9483d631385400a7b5 Mon Sep 17 00:00:00 2001 From: Mihails Akimenko Date: Sat, 8 Feb 2020 14:52:33 +0200 Subject: [PATCH] #161 remove temporary workarounds in polyfils --- projects/atft/src/test.ts | 7 ------- src/polyfills.ts | 5 ----- 2 files changed, 12 deletions(-) diff --git a/projects/atft/src/test.ts b/projects/atft/src/test.ts index 25e4b803..7b3098b5 100644 --- a/projects/atft/src/test.ts +++ b/projects/atft/src/test.ts @@ -8,13 +8,6 @@ import {BrowserDynamicTestingModule, platformBrowserDynamicTesting} from '@angul declare const require: any; -// TODO: Remove when Angular will support typescript 3.7+ -// @ts-ignore -window.__importDefault = function(mod) { - return mod && mod.__esModule ? mod : { default: mod }; -}; - - // First, initialize the Angular testing environment. getTestBed().initTestEnvironment( BrowserDynamicTestingModule, diff --git a/src/polyfills.ts b/src/polyfills.ts index 496055ec..ed3be429 100644 --- a/src/polyfills.ts +++ b/src/polyfills.ts @@ -33,11 +33,6 @@ import 'zone.js/dist/zone'; // Included with Angular CLI. * APPLICATION IMPORTS */ -// TODO: Remove when Angular will support typescript 3.7+ -// @ts-ignore -window.__importDefault = function(mod) { - return mod && mod.__esModule ? mod : { default: mod }; -}; // zone.js hooks onto requestAnimateFrame, and runs angular’s change detection on each tick: (window as any).__Zone_disable_requestAnimationFrame = true;