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;
|
return value.isNaN ? _NAN_KEY : value;
|
||||||
}
|
}
|
||||||
|
|
||||||
dynamic normalizeBlank(obj) {
|
// TODO: remove with https://github.com/angular/angular/issues/3055
|
||||||
return isBlank(obj) ? null : obj;
|
dynamic normalizeBlank(obj) => obj;
|
||||||
}
|
|
||||||
|
|
||||||
bool normalizeBool(bool obj) {
|
bool normalizeBool(bool obj) {
|
||||||
return isBlank(obj) ? false : obj;
|
return isBlank(obj) ? false : obj;
|
||||||
|
|
Loading…
Reference in New Issue