( background: BackgroundConfig, rawBackground: unknown, )
| 660 | } |
| 661 | |
| 662 | function backgroundToToml( |
| 663 | background: BackgroundConfig, |
| 664 | rawBackground: unknown, |
| 665 | ): Record<string, unknown> { |
| 666 | const out = cloneRecord(rawBackground); |
| 667 | for (const [key, value] of Object.entries(background)) { |
| 668 | setDefined(out, camelToSnake(key), value); |
| 669 | } |
| 670 | return out; |
| 671 | } |
| 672 | |
| 673 | function experimentalToToml( |
| 674 | experimental: ExperimentalConfig, |
nothing calls this directly
no test coverage detected