(
setting: string,
action: (newValue: T | undefined) => void,
options?: onSettingChangeOptions,
)
| 411 | // Because we actually do use the constraint in the callback |
| 412 | // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters |
| 413 | export function onPowerShellSettingChange<T>( |
| 414 | setting: string, |
| 415 | action: (newValue: T | undefined) => void, |
| 416 | options?: onSettingChangeOptions, |
| 417 | ): vscode.Disposable { |
| 418 | const section = "powershell"; |
| 419 | return onSettingChange(section, setting, action, options); |
| 420 | } |
nothing calls this directly
no test coverage detected