(obj: Record<string, any>)
| 1151 | } |
| 1152 | |
| 1153 | const transformObject = (obj: Record<string, any>): any => { |
| 1154 | const newObj: Record<string, any> = {} |
| 1155 | for (const key of Object.keys(obj)) { |
| 1156 | InternalRecord.assignProperty(newObj, transformer(key), transformValue(obj[key])) |
| 1157 | } |
| 1158 | return newObj |
| 1159 | } |
| 1160 | |
| 1161 | const transformArrayNested = <A extends object>( |
| 1162 | rows: ReadonlyArray<A> |
no test coverage detected