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
This commit is contained in:
JiaLiPassion 2020-07-01 07:22:50 +09:00 committed by atscott
parent c8ed497211
commit 8e17dc0278
1 changed files with 0 additions and 4 deletions

View File

@ -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));
}