diff --git a/active-rfcs/0000-infer-attrs.md b/active-rfcs/0000-infer-attrs.md index cbc602f4..765e1716 100644 --- a/active-rfcs/0000-infer-attrs.md +++ b/active-rfcs/0000-infer-attrs.md @@ -5,7 +5,7 @@ # Summary Allow to infer `attrs` when passing type on the second param of `defineComponent` and `defineCustomElement`. -And in the `setup-script`, passing generic type on the `useAttrs` make `attrs` inferred. +And in the `setup-script`, passing generic type on the `useAttrs` will infer `attrs` to `T`. 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.