Skip to content

Commit 4f27ec6

Browse files
committed
fix: typo
1 parent 6389039 commit 4f27ec6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

active-rfcs/0000-infer-attrs.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
- Implementation PR: [vuejs/core#7444](https://github.com/vuejs/core/pull/7444)
55

66
# Summary
7-
Allow to infer `attrs` when passing type on the second param of`defineComponent`. And In the `setup-script`, passing generic type on the `useAttrs<T>` make `attrs` inferred.
7+
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.
89

910
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.
1011

0 commit comments

Comments
 (0)