mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
The `listener` instruction currently always assumes RxJS subscribables, and verifies this via `isSubscribable`. The type narrowing is not ignored and the type remains `any` given the `ngDevMode` check. This commit improves type safety, and actually switches to a dedicated interface for "output subscribable" values. This is needed because `Subscribable` from `RxJS` is typed to expect an observer in object literal form- which is not correct and doesn't apply to `EventEmitter` and matches the form of `.subscribe` we are using in the `listener` instruction. PR Close #54217 |
||
|---|---|---|
| .. | ||
| global | ||
| primitives/signals | ||
| reference-manifests | ||
| rxjs-interop | ||
| schematics | ||
| src | ||
| test | ||
| testing | ||
| BUILD.bazel | ||
| index.ts | ||
| package.json | ||
| PACKAGE.md | ||
| public_api.ts | ||