chore(facade): make normalizeBlank less nonsensical
This commit is contained in:
parent
7531b48d02
commit
b4cde697b5
|
@ -202,9 +202,8 @@ dynamic getMapKey(value) {
|
|||
return value.isNaN ? _NAN_KEY : value;
|
||||
}
|
||||
|
||||
dynamic normalizeBlank(obj) {
|
||||
return isBlank(obj) ? null : obj;
|
||||
}
|
||||
// TODO: remove with https://github.com/angular/angular/issues/3055
|
||||
dynamic normalizeBlank(obj) => obj;
|
||||
|
||||
bool normalizeBool(bool obj) {
|
||||
return isBlank(obj) ? false : obj;
|
||||
|
|
Loading…
Reference in New Issue