In the <template> section, the keyword type should not be used as a keyword for parsing, as it can cause code styling issues in the vscode editor.
like this
A minimal reproduction:
<script setup lang="ts">
import { ref } from 'vue'
const types = ref(['a', 'b', 'c'])
</script>
<template>
<div>
<select>
<option v-for="type in types" :key="type" :value="type">
{{ type }}
</option>
</select>
</div>
</template>