refactor(core): remove deprecated parameter for `ErrorHandler` (#18759)

BREAKING CHANGE: `ErrorHandler` no longer takes a parameter as it was not used and deprecated since v4.

PR Close #18759
This commit is contained in:
Olivier Combe 2017-08-17 15:34:52 +02:00 committed by Miško Hevery
parent 2a62d9f056
commit 8f413268cf
2 changed files with 0 additions and 9 deletions

View File

@ -42,13 +42,6 @@ export class ErrorHandler {
*/
_console: Console = console;
constructor(
/**
* @deprecated since v4.0 parameter no longer has an effect, as ErrorHandler will never
* rethrow.
*/
deprecatedParameter?: boolean) {}
handleError(error: any): void {
const originalError = this._findOriginalError(error);
const context = this._findContext(error);

View File

@ -381,8 +381,6 @@ export declare function enableProdMode(): void;
/** @stable */
export declare class ErrorHandler {
constructor(
deprecatedParameter?: boolean);
handleError(error: any): void;
}