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