1.3.0 • Published 4 years ago
get-object-properties-types v1.3.0
get-type-of-properties-object
map the keys of object to the type of values.
example:
const object = { foo: 'bar', bar: 55}
convertToType(object) // { foo: 'string', bar: 'number' }
OBS: supports nested objects.