diff --git a/modules/@angular/core/src/error_handler.ts b/modules/@angular/core/src/error_handler.ts index 0d5ae4877b..e723065445 100644 --- a/modules/@angular/core/src/error_handler.ts +++ b/modules/@angular/core/src/error_handler.ts @@ -38,7 +38,12 @@ export class ErrorHandler { */ _console: Console = console; - constructor(private rethrowError: boolean = true) {} + /** + * @internal + */ + rethrowError: boolean; + + constructor(rethrowError: boolean = true) { this.rethrowError = rethrowError; } handleError(error: any): void { var originalError = this._findOriginalError(error);