Skip to content

Commit

Permalink
refactor: remove debugger
Browse files Browse the repository at this point in the history
  • Loading branch information
arturovt committed Mar 1, 2024
1 parent b2fead6 commit 4070abc
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions libs/until-destroy/src/lib/until-destroy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,6 @@ function decoratePipe<T>(type: PipeType<T>, 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 {
Expand Down

0 comments on commit 4070abc

Please sign in to comment.