From what I understood
@types/react-dom are currently within
babylonjs-inspector package, since this issue came out : Inspector @types dependencies · Issue #6357 · BabylonJS/Babylon.js · GitHub.
However when importing
babylonjs-inspector into a typescript project, like so :
await import(/* webpackChunkName: "babylonjs-inspector" */ "babylonjs-inspector");
I’m getting type errors :
TS2688: Cannot find type definition file for 'react'.
Which are solved by putting back
Any ideas on what should be the correct place for these dependencies ?