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
Copy file name to clipboardexpand all lines: active-rfcs/0000-infer-attrs.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,7 @@ At last i chosen the second way that pass `attrs` type to the second params of `
102
102
The following below is the design details.
103
103
-`attrs` is inferred to `{ class: unknown; style: unknown }` when the value of the second param is `undefined`
104
104
-`attrs` is lower priority than `props`.
105
-
-[see for more detail cases](https://github.com/vuejs/core/pull/7444/files)
105
+
-[see for more detail cases](https://github.com/vuejs/core/pull/7444/files#diff-241bba82b0b4ebadd7a9c19ed82eed97283874b6d15ed32d62c05184e29ecb91R1195-R1306)
106
106
107
107
## `useAttrs<T>`
108
108
In the `setup-script`, the generic type of `useAttrs` will compile to the second param of `defineComponent`.
0 commit comments