score:1

actually an even better type is react.reactnode, that is:

type reactnode = reactchild | reactfragment | reactportal | boolean | null | undefined;

(react.reactelement is part of reactchild). 

basically react.reactnode is anything that can be rendered inside jsx:

const testapp: react.functioncomponent<{ elements: array<react.reactnode> }> = props => {
    return <>{...props.elements}</>;
};

you should also look at reacts child props. that can be used to compose elements like writing plain html:

<test>
  <component1 />
  <component1 />
</test>

and your test component would be:

const testapp: react.functioncomponent = props => {
    return <>{...props.children}</>;
};

Related Query

More Query from same tag