(location: LocationIndex[], obj: any)
| 34 | } |
| 35 | |
| 36 | function getLocationPath(location: LocationIndex[], obj: any) { |
| 37 | const current = []; |
| 38 | |
| 39 | for (let i = 0; i < location.length; i++) { |
| 40 | const value = getLocationIndex(location[i], path(current, obj)); |
| 41 | current.push(value); |
| 42 | } |
| 43 | |
| 44 | return current; |
| 45 | } |
| 46 | |
| 47 | export class PatchBuilder { |
| 48 | private operations: PatchOperation[] = []; |
no test coverage detected
searching dependent graphs…