@@ -27,7 +27,7 @@ export type PolymorphicPropsWithRef<P, T extends React.ElementType> = Merge<
27
27
28
28
type PolymorphicExoticComponent <
29
29
P = { } ,
30
- T extends React . ElementType = React . ElementType
30
+ T extends React . ElementType = React . ElementType ,
31
31
> = Merge <
32
32
React . ExoticComponent < P & { [ key : string ] : unknown } > ,
33
33
{
@@ -42,23 +42,23 @@ type PolymorphicExoticComponent<
42
42
43
43
export type PolymorphicForwardRefExoticComponent <
44
44
P ,
45
- T extends React . ElementType
45
+ T extends React . ElementType ,
46
46
> = Merge <
47
47
React . ForwardRefExoticComponent < P & { [ key : string ] : unknown } > ,
48
48
PolymorphicExoticComponent < P , T >
49
49
> ;
50
50
51
51
export type PolymorphicMemoExoticComponent <
52
52
P ,
53
- T extends React . ElementType
53
+ T extends React . ElementType ,
54
54
> = Merge <
55
55
React . MemoExoticComponent < React . ComponentType < any > > ,
56
56
PolymorphicExoticComponent < P , T >
57
57
> ;
58
58
59
59
export type PolymorphicLazyExoticComponent <
60
60
P ,
61
- T extends React . ElementType
61
+ T extends React . ElementType ,
62
62
> = Merge <
63
63
React . LazyExoticComponent < React . ComponentType < any > > ,
64
64
PolymorphicExoticComponent < P , T >
0 commit comments