Bug: running `diagrams-demo-project` error `TS2345: Argument of type 'Element' is not assignable to parameter of type 'ReactNode'. Property 'children' is missing in type 'Element' but required in type 'ReactPortal'.` #1032
react-diagrams/diagrams-demo-project/src/main.tsx(43,14)
TS2345: Argument of type 'Element' is not assignable to parameter of type 'ReactNode'.
Property 'children' is missing in type 'Element' but required in type 'ReactPortal'.
and browser opens.
Same error; close error panel (x), then functioning demo project appears
I'm a yarn/npm/pnpm/react noob, but I've been able to get other flowchart react programs to run.
Following:
then receive error (Which is similar https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/66754)
and browser opens. Same error; close error panel (x), then functioning demo project appears
I'm a yarn/npm/pnpm/react noob, but I've been able to get other flowchart react programs to run.