mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
c93b510f9b
This commit introduces an overload for `input` to accept `undefined` as initial value if only options are needed to be provided, inferring an input of type `T|undefined`. Prior to this change, the type argument as specified needed to include `|undefined` explicitly even though that isn't necessary when passing options isn't needed. Relates to #53909 PR Close #57621