TypeScript 4.3 compat

TypeScript 4.3.2 was released today. When I upgraded to it, tsc failed to build types with babylonjs or @babylonjs/core as a dependency.

Cannot find name 'WebGLObject'.

I spent a few hours trying to work around this and was unable to.
Is anyone else experiencing this?

same issue here

It seems that “WebGlObject” has been removed. It was an empty interface anyway.
Here you can see how they fixed the webgl2 types in the DefinitelyTyped repository:

I will update the repo today and fix it :slight_smile:


It works, finally i can enable the noImplicitOverride compiler flag in my projects :grinning:

1 Like