BabylonJS 6 engine initialization on typescript

I’m trying to initiate new BJS application in typescript using bellow dependency.

    "@babylonjs/core": "^6.0.0",
    "typescript": "^5.0.4",

import { Engine } from "@babylonjs/core/Engines/engine";
After initialization new Engine(canvas, true, {}) getting compilation error >>

node_modules/@babylonjs/core/Engines/engine.d.ts:3371:14 - error TS2717: Subsequent property declarations must have the same type. Property 'FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR' must be of type 'number', but here has type '38448'

Is I missing something else?

cc @RaananW

There is an open PR to fix this.
In the meantime you can add skipLibCheck: true to your tsconfig, which will allow you to compile.