Skip to content

Commit 0169cde

Browse files
committed
docs: update
1 parent 4f27ec6 commit 0169cde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

active-rfcs/0000-infer-attrs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# Summary
77
Allow to infer `attrs` when passing type on the second param of `defineComponent` and `defineCustomElement`.
8-
And in the `setup-script`, passing generic type on the `useAttrs<T>` make `attrs` inferred.
8+
And in the `setup-script`, passing generic type on the `useAttrs<T>` will infer `attrs` to `T`.
99

1010
I already published an npm package named [vue-ts-utils](https://github.com/rudy-xhd/vue-ts-utils), so that you can use `defineComponent` to infer attrs in advance.
1111

0 commit comments

Comments
 (0)