When importing @babylonjs\inspector to my project via npm install @babylonjs\inspector it imports everything correctly. However, when I go to import via import "@babylonjs/inspector" at the top of my .ts file…i get an error:
Error: node_modules/@babylonjs/inspector/dist/babylon.inspector.module.d.ts:4970:170 - error TS2307: Cannot find module './types' or its corresponding type declarations.
4970 export const getPosInLayout: (layout: Layout, column: number, row?: number | undefined) => import("@babylonjs/inspector/components/layout/types").LayoutTabsRow | import("./types").LayoutColumn;
I can simply fix this by changing: import("./types").LayoutColumn to import("@babylonjs/inspector/components/layout/types").LayoutColumn.
But obviously its not good to modifiy stuff in /node_modules as it will be overwritten via any npm install etc