mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
e2ab99b95e
With strict template type checking, a null/undefined value will raise an error. However the implementation is completely fine with it, and it would be pointless to "fix" it at the callsite and convert to e.g. an empty string. Allow all of the "supported types" to be passed in directly to ngClass. Fixes #39280 PR Close #46906