( experimental: ExperimentalConfig, _rawExperimental: unknown, )
| 671 | } |
| 672 | |
| 673 | function experimentalToToml( |
| 674 | experimental: ExperimentalConfig, |
| 675 | _rawExperimental: unknown, |
| 676 | ): Record<string, unknown> { |
| 677 | const out: Record<string, unknown> = {}; |
| 678 | for (const [key, value] of Object.entries(experimental)) { |
| 679 | setDefined(out, key, value); |
| 680 | } |
| 681 | return out; |
| 682 | } |
| 683 | |
| 684 | function setHooks(out: Record<string, unknown>, hooks: readonly HookDefConfig[] | undefined): void { |
| 685 | if (hooks === undefined) { |
nothing calls this directly
no test coverage detected