Skip to content

Commit e02bea8

Browse files
JiaLiPassionatscott
authored andcommitted
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
1 parent 5fae8b3 commit e02bea8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/core/src/zone/ng_zone.ts

-4
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,6 @@ export class NgZone {
130130

131131
self._outer = self._inner = Zone.current;
132132

133-
if ((Zone as any)['wtfZoneSpec']) {
134-
self._inner = self._inner.fork((Zone as any)['wtfZoneSpec']);
135-
}
136-
137133
if ((Zone as any)['TaskTrackingZoneSpec']) {
138134
self._inner = self._inner.fork(new ((Zone as any)['TaskTrackingZoneSpec'] as any));
139135
}

0 commit comments

Comments
 (0)