Vue version
Any version available on Playground
Link to minimal reproduction
https://play.vuejs.org
Steps to reproduce
- Open a fresh Vue SFC Playground.
- Modify the starter code of
App.vue as follows:
- <script setup>
+ <script setup lang="ts">
import { ref } from 'vue'
const msg = ref('Hello World!')
+ '' satisfies number
</script>
What is expected?
Type error to be reported on line '' satisfies number.
What is actually happening?
Type error does not get reported, until refreshing the playground.
System Info
Any additional comments?
The issue seems to specifically affect App.vue, as it is not reproducible with the same steps but on a newly created component (or a .ts file).