UNPKG

ngx-until-on-destroy

Version:

Allow you unsubscribe subscriptions when component was destroying. Can be used with Angular 5-10

9 lines (8 loc) 270 B
import { Type } from '@angular/core'; import { TypeWithSubscription } from './class-with-subscription.interface'; export interface WrapParams<T> { target: Type<T>; hookName: string; oldName: symbol; wrappingFn: (this: TypeWithSubscription<T>) => void; }