fuzzy-search
fuzzy-search copied to clipboard
TS4.1
Hi, with typescript 4.1 we can now type path from objects. i.e. generate a string union of path from an object structure.
This would be really helpful to type the array of keypath.
Here is a post on stackoverflow for the same use:
https://stackoverflow.com/questions/64046160/ts4-1-is-there-a-way-to-define-this-property-path-type-that-isnt-excessively-d
enjoy
