angular-cn/goldens/public-api/common
Andrea Canciani 5f815c0565 fix(common): correct and simplify typing of AsyncPipe (#37447)
`AsyncPipe.transform` will never return `undefined`, even when passed
`undefined` in input, in contrast with what was declared in the
overloads.

Additionally the "actual" method signature can be updated to match the
most generic case, since the implementation does not rely on wrappers
anymore.

BREAKING CHANGE:
The async pipe no longer claims to return `undefined` for an input that
was typed as `undefined`. Note that the code actually returned `null` on
`undefined` inputs. In the unlikely case you were relying on this,
please fix the typing of the consumers of the pipe output.

PR Close #37447
2020-09-28 12:23:32 -04:00
..
http fix(common): add `params` and `reportProgress` options to `HttpClient.put()` overload (#37873) 2020-09-16 15:28:21 -07:00
testing ci: move public-api goldens to goldens directory (#35768) 2020-03-10 20:58:39 -04:00
upgrade ci: move public-api goldens to goldens directory (#35768) 2020-03-10 20:58:39 -04:00
common.d.ts fix(common): correct and simplify typing of AsyncPipe (#37447) 2020-09-28 12:23:32 -04:00