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