JohnnyDevNull Posted October 9, 2018 Share Posted October 9, 2018 Dear Developers, i have the following Error after updating from 3.2.0 BayblonJS to 3.3.0: ERROR in node_modules/babylonjs/babylon.d.ts(8665,5): error TS2717: Subsequent property declarations must have the same type. Property 'leftBounds' must be of type 'number[]', but here has type 'Float32Array | number[]'. node_modules/babylonjs/babylon.d.ts(8666,5): error TS2717: Subsequent property declarations must have the same type. Property 'rightBounds' must be of type 'number[]', but here has type 'Float32Array | number[]'. I have no idea to fix that, seems it is a error in the type definition? Link to the project: https://github.com/JohnnyDevNull/ng-babylon-template EDIT: Ok downgrade to 3.2.0 also doesn't work... don't know how this compiled before... Quote Link to comment Share on other sites More sharing options...
Guest Posted October 9, 2018 Share Posted October 9, 2018 Hey Johnny you may need to use Typescript 3.0 Quote Link to comment Share on other sites More sharing options...
JohnnyDevNull Posted October 9, 2018 Author Share Posted October 9, 2018 Is not possible with Angular 6.x, but ok then i have to downgrade to a stable babylonjs version for TS 2.9.2 and wait until angular 7 is released. There is typescript 3.x supported... Quote Link to comment Share on other sites More sharing options...
JohnnyDevNull Posted October 9, 2018 Author Share Posted October 9, 2018 Ah ok i found the problem, my package.json version scope did install 3.3.0. In 3.2.0 everything is fine. Fixed that until angular 7 arrives... Quote Link to comment Share on other sites More sharing options...
Guest Posted October 9, 2018 Share Posted October 9, 2018 Ok excellent! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.