From 4070abc60e711dd2dd14ff346b253f5335c26198 Mon Sep 17 00:00:00 2001 From: arturovt Date: Fri, 1 Mar 2024 11:05:26 +0200 Subject: [PATCH] refactor: remove `debugger` --- libs/until-destroy/src/lib/until-destroy.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/libs/until-destroy/src/lib/until-destroy.ts b/libs/until-destroy/src/lib/until-destroy.ts index a0b4957..b4f4aba 100644 --- a/libs/until-destroy/src/lib/until-destroy.ts +++ b/libs/until-destroy/src/lib/until-destroy.ts @@ -68,15 +68,6 @@ function decoratePipe(type: PipeType, options: UntilDestroyOptions): void export function UntilDestroy(options: UntilDestroyOptions = {}): TypeDecorator { return (type: any) => { - if (type['ɵfac']) { - const original = type['ɵfac']; - type.ɵfac = function (...args: any[]) { - const instance = original.apply(this, args); - debugger; - return instance; - }; - } - if (isPipe(type)) { decoratePipe(type, options); } else {