extensions/typescript-language-features/src/utils/languageIds.ts/isSupportedLanguageMode
export function isSupportedLanguageMode(doc: vscode.TextDocument) {
	return vscode.languages.match([typescript, typescriptreact, javascript, javascriptreact], doc) > 0;
}