(userConfig: Record<string, any>)
| 155 | } |
| 156 | |
| 157 | export function getInvalidConfigKeys(userConfig: Record<string, any>): string[] { |
| 158 | const userKeys = getConfigKeyPaths(userConfig) |
| 159 | return userKeys.filter((key) => !VALID_CONFIG_KEYS.has(key)) |
| 160 | } |
| 161 | |
| 162 | interface ValidationError { |
| 163 | key: string |
no test coverage detected