(mod: object)
| 507 | } |
| 508 | |
| 509 | const scopeOfModule = (mod: object): BaseScope | undefined => { |
| 510 | for (const value of Object.values(mod)) { |
| 511 | if (hasArkKind(value, "root")) return value.$ |
| 512 | if (hasArkKind(value, "module")) { |
| 513 | const nested = scopeOfModule(value) |
| 514 | if (nested) return nested |
| 515 | } |
| 516 | } |
| 517 | } |
| 518 | |
| 519 | const recordObjectContainerDrops = ( |
| 520 | container: Record<PropertyKey, unknown>, |
no test coverage detected