You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
8
9
9
10
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.
0 commit comments