refactor(core): remove prolyfill from error message (#20121)
PR Close #20121
This commit is contained in:
parent
d8db0f12a2
commit
b55c2ba342
@ -118,7 +118,7 @@ export class NgZone {
|
|||||||
|
|
||||||
constructor({enableLongStackTrace = false}) {
|
constructor({enableLongStackTrace = false}) {
|
||||||
if (typeof Zone == 'undefined') {
|
if (typeof Zone == 'undefined') {
|
||||||
throw new Error('Angular requires Zone.js prolyfill.');
|
throw new Error(`In this configuration Angular requires Zone.js`);
|
||||||
}
|
}
|
||||||
|
|
||||||
Zone.assertZonePatched();
|
Zone.assertZonePatched();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user