Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/sxzz/vue-ref-issue.
Something went wrong. Try again.
vue-ref-issue main.ts
12345678910import { ref } from '@vue/reactivity'// comment out the above import to make the issue disappearimport 'vue' // This import is necessary to reproduce the issue
const r = ref(100)// ^? Ref<any>
// @ts-expect-error should be an errorr.value = 'error'