extensions/html-language-features/server/src/modes/semanticTokens.ts/applyTypesMapping
function applyTypesMapping(tokens: SemanticTokenData[], typesMapping: number[] | undefined): void {
	if (typesMapping) {
		for (let token of tokens) {
			token.typeIdx = typesMapping[token.typeIdx];
		}
	}
}