(it: T)
| 34 | }; |
| 35 | |
| 36 | export const copy = <T>(it: T): T => { |
| 37 | return JSON.parse(JSON.stringify(it)); |
| 38 | }; |
| 39 | |
| 40 | export const objectValues = <T extends object>(obj: T): Array<T[keyof T]> => { |
| 41 | return Object.values(obj); |
no outgoing calls
no test coverage detected