Skip to content

Commit 443945b

Browse files
committed
fix(runtime): correct props type for h
1 parent 0c2d470 commit 443945b

File tree

1 file changed

+1
-1
lines changed
  • packages/runtime/src

1 file changed

+1
-1
lines changed

packages/runtime/src/h.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ type IfAny<T, Y, N> = 0 extends 1 & T ? Y : N
3636

3737
type RawProps = Record<string, any>
3838

39-
type ResolveProps<T> = T extends null | undefined ? T : () => T | T
39+
type ResolveProps<T> = T extends null | undefined ? T : (() => T) | T
4040

4141
// The following is a series of overloads for providing props validation of
4242
// manually written render functions.

0 commit comments

Comments
 (0)