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: packages/runtime-core/src/componentProps.ts
+2-1
Original file line number
Diff line number
Diff line change
@@ -109,7 +109,8 @@ type InferPropType<T> = [T] extends [null]
109
109
: T
110
110
111
111
exporttypeExtractPropTypes<O>=Oextendsobject
112
-
? {[KinRequiredKeys<O>]: InferPropType<O[K]>}&
112
+
? {[KinkeyofO]?: unknown}&// This is needed to keep the relation between the option prop and the props, allowing to use ctrl+click to navigate to the prop options. see: #3656
0 commit comments