angular-cn/packages/common/test
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
..
directives feat(core): update reference and doc to change `async` to `waitAsync`. (#37583) 2020-08-03 12:54:13 -07:00
i18n fix(common): parse `YYYY` strings as UTC dates (#40629) 2021-01-29 11:14:05 -08:00
location test(common): prefer TestBed.inject over inject (#37459) 2020-06-09 08:26:34 -07:00
pipes fix(core): ensure the type `T` of `EventEmitter<T>` can be inferred (#40644) 2021-02-03 09:07:29 -08:00
BUILD.bazel feat(common): allow any Subscribable in async pipe (#39627) 2020-11-23 08:28:11 -08:00
cookie_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
spies.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
viewport_scroller_spec.ts test(router): update scroller tests to use real objects (#40241) 2021-01-05 09:48:48 -08:00