If a Object type has a value attribute, after I use toRefs(xxx), the typescripte type will incorrect.
eg:
interface IObjectWithValueAttr {
name: string
value: string
}
interface IA {
b: IObjectWithValueAttr
}
const a: IA = {
b: {
name: 'Jon',
value: 'test'
}
}
const refsA = toRefs(a)
// there will is a error, because refsA.b will be infer to type `Ref<string>`
refsA.b.name = 'Tony'
Is it because the Ref interface only define the value key ?