We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37b0f01 commit f13103bCopy full SHA for f13103b
packages/casl-angular/src/pipes.ts
@@ -23,7 +23,7 @@ export class AblePurePipe<T extends AnyAbility> implements PipeTransform {
23
this._ability = ability;
24
}
25
26
- // TODO: `Observable` can be removed after https://github.com/angular/angular/issues/15041
+ // TODO: use computed signals https://github.com/angular/angular/issues/47553
27
transform(...args: Parameters<T['can']>): Observable<boolean> {
28
return new Observable((s) => {
29
const emit = () => s.next(this._ability.can(...args));
0 commit comments