(
obj: Record<string, any>,
prefix: Array<string>,
guards: Array<ConditionalSelectGuard>,
)
| 1571 | const resultPaths: Array<ProjectedSourceIncludePath> = [] |
| 1572 | |
| 1573 | const visitSelectObject = ( |
| 1574 | obj: Record<string, any>, |
| 1575 | prefix: Array<string>, |
| 1576 | guards: Array<ConditionalSelectGuard>, |
| 1577 | ) => { |
| 1578 | for (const [key, value] of Object.entries(obj)) { |
| 1579 | if (key.startsWith(`__SPREAD_SENTINEL__`)) { |
| 1580 | visitSpreadSentinel(key, value, prefix, guards) |
| 1581 | continue |
| 1582 | } |
| 1583 | visitSelectValue(value, [...prefix, key], guards) |
| 1584 | } |
| 1585 | } |
| 1586 | |
| 1587 | const visitSpreadSentinel = ( |
| 1588 | key: string, |
no test coverage detected