Hi, I have been trying to implement rxjs-prefer-angular-takeuntil by using an alias like this one "untilDestroyed", but if the param is a reference with the keyword "this" it doesn't work.
Sample
let otroObservable = of('a');
const sub: Observable = new Observable();
sub.pipe(untilDestroyed(this)).subscribe(() => {
console.log('demo');
});
Hi, I have been trying to implement rxjs-prefer-angular-takeuntil by using an alias like this one "untilDestroyed", but if the param is a reference with the keyword "this" it doesn't work.
Sample let otroObservable = of('a'); const sub: Observable = new Observable();
sub.pipe(untilDestroyed(this)).subscribe(() => {
console.log('demo');
});
Is there a way of making this work?