Hi,
I’ve updated to babylonjs 6.44.0 and now I’m getting the following typescript error:
Interface 'XRHand' cannot simultaneously extend types 'Map<string, XRJointSpace>' and 'Map<XRHandJoint, XRJointSpace>'.
Named property 'set' of types 'Map<string, XRJointSpace>' and 'Map<XRHandJoint, XRJointSpace>' are not identical.
FILE node_modules/@babylonjs/core/Engines/engine.d.ts:2917:11
2915 | abstract class XRJointPose implements XRJointPose {}
2916 |
> 2917 | interface XRHand extends Map<XRHandJoint, XRJointSpace> {
| ^^^^^^
2918 | readonly WRIST: number;
2919 |
2920 | readonly THUMB_METACARPAL: number;
This error is shown 8 times.
I’m using the es6 npm packages:
“@babylonjs/core”: “6.44.0”,
“@babylonjs/gui”: “6.44.0”,
“@babylonjs/inspector”: “6.44.0”,
“@babylonjs/materials”: “6.44.0”,
I’ve deleted the node_modules folder to make sure it’s not a cache issue, and reverting back to 6.43.0 removes the errors.
Thanks.