UNPKG

@cookbook/dot-notation

Version:

Object readings and complex transformations using dot notation syntax.

3 lines (2 loc) 96 B
declare const shallowCopy: <T>(value: T) => T extends [] ? T[] : T; export default shallowCopy;