typescript react children Как указать тип

Можно так:

import React from "react";

type ModalWindowPropsType = {
    children: React.ReactNode,
}

export default function ModalWindow(props: ModalWindowPropsType) {

    return (
        <>
            {props.children}
        </>
    );
}

Key Words for FKN + antitotal forum (CS VSU):