diff --git a/packages/core/src/util/assert.ts b/packages/core/src/util/assert.ts index 6c2cf2eefe..80d28f0ef8 100644 --- a/packages/core/src/util/assert.ts +++ b/packages/core/src/util/assert.ts @@ -93,8 +93,6 @@ export function assertDefined(actual: T, msg: string) { export function throwError(msg: string): never; export function throwError(msg: string, actual: any, expected: any, comparison: string): never; export function throwError(msg: string, actual?: any, expected?: any, comparison?: string): never { - // tslint:disable-next-line - debugger; // Left intentionally for better debugger experience. throw new Error( `ASSERTION ERROR: ${msg}` + (comparison == null ? '' : ` [Expected=> ${expected} ${comparison} ${actual} <=Actual]`));