Skip to content

cazlu8/get-type-of-properties-object

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

set the type on the keys of object.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published