mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
The `AsyncPipe.transform<T>(emitter)` method must infer the `T` type from the `emitter` parameter. Since we changed the `AsyncPipe` to expect a `Subscribable<T>` rather than `Observable<T>` the `EventEmitter.subscribe()` method needs to have a tighter signature. Otherwise TypeScript struggles to infer the type and ends up making it `unknown`. Fixes #40637 PR Close #40644 |
||
|---|---|---|
| .. | ||
| async_pipe_spec.ts | ||
| case_conversion_pipes_spec.ts | ||
| date_pipe_spec.ts | ||
| i18n_plural_pipe_spec.ts | ||
| i18n_select_pipe_spec.ts | ||
| json_pipe_spec.ts | ||
| keyvalue_pipe_spec.ts | ||
| number_pipe_spec.ts | ||
| slice_pipe_spec.ts | ||