extensions/typescript-language-features/src/languageFeatures/fileConfigurationManager.ts/getImportModuleSpecifierEndingPreference
function getImportModuleSpecifierEndingPreference(config: vscode.WorkspaceConfiguration) {
	switch (config.get<string>('importModuleSpecifierEnding')) {
		case 'minimal': return 'minimal';
		case 'index': return 'index';
		case 'js': return 'js';
		default: return 'auto';
	}
}