extensions/typescript-language-features/src/languageFeatures/fileConfigurationManager.ts/getInlayParameterNameHintsPreference
function getInlayParameterNameHintsPreference(config: vscode.WorkspaceConfiguration) {
	switch (config.get<string>('inlayHints.parameterNames.enabled')) {
		case 'none': return 'none';
		case 'literals': return 'literals';
		case 'all': return 'all';
		default: return undefined;
	}
}