Hi,

I’ve tried to upgrade from 4.0.0-alpha.18 to 4.0.0-alpha.25 and I’ve got a lot of errors like these (among others):

TS2345: Argument of type ‘import(“babylonjs/scene”).Scene’ is not assignable to parameter of type ‘BABYLON.Scene’

TS2345: Argument of type ‘Matrix’ is not assignable to parameter of type ‘DeepImmutableObject’.

Types of property ‘invert’ are incompatible.

Type ‘() => import(“babylonjs/Maths/math”).Matrix’ is not assignable to type ‘() => BABYLON.Matrix’.

Type ‘import(“babylonjs/Maths/math”).Matrix’ is not assignable to type ‘BABYLON.Matrix’

I’m using the version from npm, and the import statement " import * as BABYLON from “babylonjs”;" in one global class. This has worked until alpha18.

I’ve found a similar Topic Argument of type 'import("babylonjs/Meshes/abstractMesh").AbstractMesh' Error, but there it doesn’t really say what fixed the errors.

What do I need to change for this to work? If you need more info, let me know.

Thanks