Type Alias HyperScript

HyperScript: {
    (element: unknown, props: ElementProps, children: Child): View;
    (element: unknown, props: ElementProps): View;
    (element: unknown, children: Child): View;
    (element: unknown): View;
    <T, K>(element: Component<T & {
        children: K;
    }>, props: T, children: K): View;
    <T>(element: Component<T>, props: T): View;
    <K>(element: Component<{
        children: K;
    }>, children: K): View;
    (element: Component<undefined>): View;
}