Skip to content

Commit 853e7d2

Browse files
authored
A wrong method name in annotation (#367)
A wrong method name in annotation
1 parent c168446 commit 853e7d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/typescript-support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ const Component = defineComponent({
204204
setup() {
205205
const year = ref(2020)
206206

207-
const result = year.value.split('') // => Property 'filter' does not exist on type 'number'
207+
const result = year.value.split('') // => Property 'split' does not exist on type 'number'
208208
}
209209
})
210210
```

0 commit comments

Comments
 (0)