angular-cn/packages/common/test
JoostK d783519835 fix(common): let `KeyValuePipe` accept type unions with `null` (#36093)
`KeyValuePipe` currently accepts `null` values as well as `Map`s and a
few others. However, due to the way in which TS overloads work, a type
of `T|null` will not be accepted by `KeyValuePipe`'s signatures, even
though both `T` and `null` individually would be.

To make this work, each signature that accepts some type `T` has been
duplicated with a second one below it that accepts a `T|null` and
includes `null` in its return type.

Fixes #35743

PR Close #36093
2020-03-24 14:41:41 -07:00
..
directives test(common): Add test for NgForOfContext.count (#36046) 2020-03-24 10:15:11 -07:00
i18n feat: add direction property to locale files (#33556) 2019-12-03 15:58:09 -08:00
location feat(common): provide replacement for AngularJS $location service (#30055) 2019-04-24 13:49:29 -07:00
pipes fix(common): let `KeyValuePipe` accept type unions with `null` (#36093) 2020-03-24 14:41:41 -07:00
BUILD.bazel test: setup circular dependency tests for all entry points (#34774) 2020-01-23 11:36:40 -08:00
cookie_spec.ts build: remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
spies.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
viewport_scroller_spec.ts fix(common): escape query selector used when anchor scrolling (#29577) 2019-03-29 10:39:38 -07:00