Latest 4.4.0 version to fix error TS2687


#1

I’m using Typescript 3.2.2 and BabylonJS 3.3.0 from NPM.

I’m getting these errors:"

node_modules/babylonjs/babylon.d.ts(250,5): error TS2687: All declarations of 'fullscreen' must have identical modifiers.
node_modules/babylonjs/babylon.d.ts(293,5): error TS2687: All declarations of 'orientation' must have identical modifiers.

I’ve read that this is fixed in V4.0, I was trying to install the latest version through NPM but it can’t find the latest version with this command:

npm i -S babylonjs@4.4.0-alpha.15

Could you please indicate me how to get the latest version 4 from NPM where the error TS2687 is fixed.

Thanks in advance


#2

It is 4.0.0:) and not 4.4.0


#3

Thank you :slight_smile: I installed alpha 16 and now it complies :slight_smile: . It is safe to use V4 for a production application?

Kind regards

Rafael


#4

Sure no worry it is safe


#5

Great!