Pete Bacon Darwin
1579df243d
fix(core): ensure the type T
of EventEmitter<T>
can be inferred ( #40644 )
...
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
2021-02-03 09:07:29 -08:00
..
2021-01-26 15:44:42 -08:00
2021-01-14 13:55:02 -08:00
2020-11-18 09:15:29 -08:00
2021-01-28 14:35:03 -08:00
2020-05-26 14:26:58 -04:00
2020-08-20 09:30:17 -07:00
2021-01-25 14:55:56 -08:00
2021-01-14 13:55:02 -08:00
2020-08-17 10:55:40 -07:00
2020-11-18 09:15:29 -08:00
2021-01-28 15:56:40 -08:00
2021-01-06 10:32:24 -08:00
2020-05-26 14:26:58 -04:00
2021-01-26 09:32:27 -08:00
2021-01-28 14:35:03 -08:00
2021-01-29 15:09:37 -08:00
2020-11-18 09:14:41 -08:00
2020-08-10 15:07:42 -07:00
2021-01-05 13:55:14 -08:00
2020-06-30 12:11:15 -07:00
2020-09-02 16:45:19 -07:00
2020-05-26 14:26:58 -04:00
2020-05-26 14:26:58 -04:00
2020-11-23 08:28:11 -08:00
2021-01-14 13:55:02 -08:00
2020-05-26 14:26:58 -04:00
2020-10-27 10:45:18 -07:00
2020-05-26 14:26:58 -04:00
2020-05-26 14:26:58 -04:00
2020-09-18 11:20:08 -07:00
2021-02-03 09:07:29 -08:00
2020-05-26 14:26:58 -04:00
2020-05-26 14:26:58 -04:00
2020-11-19 12:19:42 -08:00
2020-05-26 14:26:58 -04:00
2020-11-16 09:12:46 -08:00
2020-11-18 09:15:29 -08:00
2020-05-26 14:26:58 -04:00
2020-05-26 14:26:58 -04:00