type Items = string[]
const list = ref<Items>([])
const items = computed({
get: () => list.value,
set: (items: Items) => {
list.value = items
},
})
This is my computed property with a setter. My question is: Why am I returned a Ref<readonly string[]>
when I provide a setter? I would expect items to have type Ref<string[]>