From 8e17dc02784964e78bbee5665e234300f030c221 Mon Sep 17 00:00:00 2001 From: JiaLiPassion Date: Wed, 1 Jul 2020 07:22:50 +0900 Subject: [PATCH] fix(core): remove deprecated wtfZoneSpec from NgZone (#37864) Since `WTF` is deprecated and removed in v9 in this PR #33949, so in this PR, `WtfZoneSpec` is also removed from `NgZone`. PR Close #37864 --- packages/core/src/zone/ng_zone.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/core/src/zone/ng_zone.ts b/packages/core/src/zone/ng_zone.ts index a8d5bb9d36..04b1420007 100644 --- a/packages/core/src/zone/ng_zone.ts +++ b/packages/core/src/zone/ng_zone.ts @@ -130,10 +130,6 @@ export class NgZone { self._outer = self._inner = Zone.current; - if ((Zone as any)['wtfZoneSpec']) { - self._inner = self._inner.fork((Zone as any)['wtfZoneSpec']); - } - if ((Zone as any)['TaskTrackingZoneSpec']) { self._inner = self._inner.fork(new ((Zone as any)['TaskTrackingZoneSpec'] as any)); }