UNPKG

@cookbook/dot-notation

Version:

Object readings and complex transformations using dot notation syntax.

3 lines (2 loc) 110 B
declare const parseKey: <T>(path: string, value: unknown) => T extends [] ? T[] : T; export default parseKey;