export const extensionId = 'javascriptBooster' ; export type LanguageId = 'javascript' | 'javascriptreact' | 'typescript' | 'typescriptreact' ; export const supportedLanguages = [ 'javascript' , 'javascriptreact' , 'typescript' , 'typescriptreact' , ] ; export function isSupportedLanguage ( languageId ) { return supportedLanguages . indexOf ( languageId as any ) !== - 1 ; } export const commandIds = { _executeCodeAction : `${ extensionId }.executeCodeAction` , executeCodeMod : `${ extensionId }.executeCodeMod` , extendSelection : `${ extensionId }.extendSelection` , shrinkSelection : `${ extensionId }.shrinkSelection` , reloadCodeMods : `${ extensionId }.reloadCodeMods` , } ; export const configIds = { smartExtendFallbackCommand : 'smartExtendFallbackCommand' , smartShrinkFallbackCommand : 'smartShrinkFallbackCommand' , } ;