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
+1-1
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,7 @@ type InferPropType<T> = T extends null
80
80
: Textends{type: null|true}
81
81
? any// As TS issue https://github.com/Microsoft/TypeScript/issues/14829 // somehow `ObjectConstructor` when inferred from { (): T } becomes `any` // `BooleanConstructor` when inferred from PropConstructor(with PropMethod) becomes `Boolean`
0 commit comments