mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
daf8b7f100
Make typing of DatePipe stricter to catch some misuses (such as passing an Observable or an array) at compile time. BREAKING CHANGE: The signature of the `date` pipe now explicitly states which types are accepted. This should only cause issues in corner cases, as any other values would result in runtime exceptions. PR Close #37447
17 KiB
17 KiB