22  createElement , 
33  ReactElement , 
44  ReactNode , 
5-   ReactType , 
5+   ElementType , 
66  ReactHTML , 
77  Attributes , 
88}  from  'react' ; 
@@ -18,7 +18,7 @@ type PropsLike<P> = P & PropsExtensions & Attributes;
1818type  Children  =  string  |  Array < ReactNode > ; 
1919
2020function  createElementSpreading < P  =  any > ( 
21-   type : ReactType < P >  |  keyof  ReactHTML , 
21+   type : ElementType < P >  |  keyof  ReactHTML , 
2222  props : PropsLike < P >  |  null , 
2323  children : Children , 
2424) : ReactElement < P >  { 
@@ -30,7 +30,7 @@ function createElementSpreading<P = any>(
3030} 
3131
3232function  hyperscriptProps < P  =  any > ( 
33-   type : ReactType < P >  |  keyof  ReactHTML , 
33+   type : ElementType < P >  |  keyof  ReactHTML , 
3434  props : PropsLike < P > , 
3535) : ReactElement < P >  { 
3636  if  ( ! props . sel  &&  ! hasModuleProps ( props ) )  { 
@@ -41,14 +41,14 @@ function hyperscriptProps<P = any>(
4141} 
4242
4343function  hyperscriptChildren < P  =  any > ( 
44-   type : ReactType < P >  |  keyof  ReactHTML , 
44+   type : ElementType < P >  |  keyof  ReactHTML , 
4545  children : Children , 
4646) : ReactElement < P >  { 
4747  return  createElementSpreading ( type ,  null ,  children ) ; 
4848} 
4949
5050function  hyperscriptPropsChildren < P  =  any > ( 
51-   type : ReactType < P >  |  keyof  ReactHTML , 
51+   type : ElementType < P >  |  keyof  ReactHTML , 
5252  props : PropsLike < P > , 
5353  children : Children , 
5454) : ReactElement < P >  { 
@@ -60,7 +60,7 @@ function hyperscriptPropsChildren<P = any>(
6060} 
6161
6262export  function  h < P  =  any > ( 
63-   type : ReactType < P >  |  keyof  ReactHTML , 
63+   type : ElementType < P >  |  keyof  ReactHTML , 
6464  a ?: PropsLike < P >  |  Children , 
6565  b ?: Children , 
6666) : ReactElement < P >  { 
0 commit comments