diff --git a/packages/core/src/error_handler.ts b/packages/core/src/error_handler.ts index decb71692a78e..c1266d1c57ca7 100644 --- a/packages/core/src/error_handler.ts +++ b/packages/core/src/error_handler.ts @@ -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); diff --git a/tools/public_api_guard/core/core.d.ts b/tools/public_api_guard/core/core.d.ts index a4547474cec8c..7363e596d30e6 100644 --- a/tools/public_api_guard/core/core.d.ts +++ b/tools/public_api_guard/core/core.d.ts @@ -381,8 +381,6 @@ export declare function enableProdMode(): void; /** @stable */ export declare class ErrorHandler { - constructor( - deprecatedParameter?: boolean); handleError(error: any): void; }