extensions/html-language-features/server/src/modes/javascriptSemanticTokens.ts/getTokenTypeFromClassification
function getTokenTypeFromClassification(tsClassification: number): number | undefined {
	if (tsClassification > TokenEncodingConsts.modifierMask) {
		return (tsClassification >> TokenEncodingConsts.typeOffset) - 1;
	}
	return undefined;
}