reactjs typescript array of node element type code example Example: typescript array of react elements let array: JSX.Element[] = [];