(path, ...opts)
| 62 | } |
| 63 | |
| 64 | export const stringifyPath: StringifyPathFn = (path, ...opts) => |
| 65 | path.reduce<string>( |
| 66 | (s, k) => appendStringifiedKey(s, k, ...(opts as any)), |
| 67 | "" |
| 68 | ) |
| 69 | |
| 70 | export class ReadonlyPath extends ReadonlyArray<PropertyKey> { |
| 71 | // alternate strategy for caching since the base object is frozen |
no test coverage detected
searching dependent graphs…