parent
a91fc0fc65
commit
13b4cabaf8
4 changed files with 4 additions and 0 deletions
@ -1,6 +1,7 @@ |
|||||||
const MAP_TO_VALUE_CONVERTER: MapToValueConverter = { |
const MAP_TO_VALUE_CONVERTER: MapToValueConverter = { |
||||||
number: (value) => parseInt(String(value), 10) || 0, |
number: (value) => parseInt(String(value), 10) || 0, |
||||||
string: (value) => String(value), |
string: (value) => String(value), |
||||||
|
undefined: () => undefined, |
||||||
}; |
}; |
||||||
|
|
||||||
export default MAP_TO_VALUE_CONVERTER; |
export default MAP_TO_VALUE_CONVERTER; |
||||||
|
Loading…
Reference in new issue