(key: string)
| 198 | } |
| 199 | |
| 200 | export function getOptionsForSetting(key: string): string[] | undefined { |
| 201 | const config = SUPPORTED_SETTINGS[key] |
| 202 | if (!config) return undefined |
| 203 | if (config.options) return [...config.options] |
| 204 | if (config.getOptions) return config.getOptions() |
| 205 | return undefined |
| 206 | } |
| 207 | |
| 208 | export function getPath(key: string): string[] { |
| 209 | const config = SUPPORTED_SETTINGS[key] |
no outgoing calls
no test coverage detected