(k: PropertyKey)
| 10 | * elements are, so an index signature's error on one is at the same path |
| 11 | */ |
| 12 | export const arrayPathKeyOf = (k: PropertyKey): PropertyKey => |
| 13 | typeof k === "string" && arrayIndexMatcher.test(k) && +k < maxArrayLength ? |
| 14 | +k |
| 15 | : k |
no test coverage detected