refactor(chore): remove deprecated NgZoneError (#10822)

BREAKING CHANGE: previously deprecated NgZoneError has been removed
This commit is contained in:
Igor Minar
2016-08-15 16:10:30 -07:00
committed by vikerman
parent 48751cceae
commit 3f5331be9d
7 changed files with 15 additions and 34 deletions

View File

@ -6,7 +6,7 @@
* found in the LICENSE file at https://angular.io/license
*/
import {AnimationEntryMetadata, ChangeDetectorRef, ComponentFactory, ComponentRef, ComponentResolver, DebugElement, ElementRef, Injectable, Injector, NgZone, NgZoneError, OpaqueToken, ViewMetadata, getDebugNode} from '../index';
import {ChangeDetectorRef, ComponentRef, DebugElement, ElementRef, NgZone, getDebugNode} from '../index';
import {BaseException} from '../src/facade/exceptions';
import {scheduleMicroTask} from '../src/facade/lang';
@ -108,7 +108,7 @@ export class ComponentFixture<T> {
});
this._onErrorSubscription =
ngZone.onError.subscribe({next: (error: NgZoneError) => { throw error.error; }});
ngZone.onError.subscribe({next: (error: any) => { throw error; }});
}
}