(value: unknown)
| 119 | } |
| 120 | |
| 121 | function exportOptions(value: unknown): Record<string, unknown> | undefined { |
| 122 | if (!isRecord(value)) return |
| 123 | const config = value.config |
| 124 | if (!isRecord(config)) return |
| 125 | return config |
| 126 | } |
| 127 | |
| 128 | function exportTarget(pkg: Record<string, unknown>, kind: Kind) { |
| 129 | const exports = pkg.exports |
no test coverage detected