Babylon.inspector.module.d.ts 4.2 throws error

Upgraded to inspector 4.2 from 4.1
During compilation, compiler throws a bunch of following error
do I need to additional dependencies to use inspector?

node_modules/babylonjs-inspector/babylon.inspector.module.d.ts:4983:25 - error TS1005: ‘{’ expected.

4983 export class BABYLON.GUI.ColorPicker extends React.Component<IColorPickerProps, IColorPickerState> {
~

node_modules/babylonjs-inspector/babylon.inspector.module.d.ts:4983:42 - error TS1005: ‘;’ expected.

4983 export class BABYLON.GUI.ColorPicker extends React.Component<IColorPickerProps, IColorPickerState> {
~~~~~~~

node_modules/babylonjs-inspector/babylon.inspector.module.d.ts:4984:31 - error TS1005: ‘,’ expected.

4984 private _saturationRef;
~

node_modules/babylonjs-inspector/babylon.inspector.module.d.ts:4985:24 - error TS1005: ‘,’ expected.

4985 private _hueRef;
~

node_modules/babylonjs-inspector/babylon.inspector.module.d.ts:4986:41 - error TS1005: ‘,’ expected.

4986 private _isSaturationPointerDown;

Adding @sebavan, I’m not sure there’s any difference when it comes to compile the inspector for 4.1 or 4.2…

I will try and create a simple project to recreate this issue. In the meantime if some body has any insight let me know

1 Like

Have you upgraded both packages to the same version? are all babylon-related packages the same version?

could be related to the typescript version in use ?