8000 docs: Update refs-type-extension.md (#470) · vuejs/vue-class-component@4b8f25a · GitHub
[go: up one dir, main page]

Skip to content

Commit 4b8f25a

Browse files
authored
docs: Update refs-type-extension.md (#470)
1 parent a094dff commit 4b8f25a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/refs-type-extension.md

Lines changed: 1 addition & 1 deletion
+
`$refs` type of a component is declared as the broadest type to handle all possible type of ref. While it is theoretically correct, in most cases, each ref only has a specific element or a component in practice.
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# `$refs` Type Extension
22

3-
`$refs` type of a component is declared as the broadest type to handle all possible type of ref. While it is theoretically collect, in most cases, each ref only has a specific element or a component in practice.
3
44

55
You can specify a specific ref type by overriding `$refs` type in a class component:
66

0 commit comments

Comments
 (0)
0