I do consume it as an NPM, yes:
package.json
"dependencies": {
"@babylonjs/core": "^5.0.0-beta.4",
"@babylonjs/loaders": "^5.0.0-beta.4",
Thanks for the advice. I’ve removed those tsconfig lines in previous attempts, but still the same problem persists. Removing again:
tsconfig.json
"types": [
"node",
"webpack-env",
"jest",
],
"outDir": "appOutDir"
},
"include": [
"src",
"node_modules/@types/jest/index.d.ts"
],
Still no joy with Bab 5 typings. Yes I even restarted the IDE.
Testing reversion to Bab 4 again:
$ npm i --save @babylonjs/core@4 @babylonjs/loaders@4
… Bab typings restored, complete with a correct error message about BoundingInfo::encapsulateBoundingInfo() not existing (a 5.x feature). All good with 4.x still.
Re-installing Bab 5:
$ npm i --save @babylonjs/core@preview @babylonjs/loaders@preview
package.json reflects:
"@babylonjs/core": "^5.0.0-beta.4",
"@babylonjs/loaders": "^5.0.0-beta.4",
tsconfig.json still as you recommend, no Bab references in “types” nor “include”:
"types": [
"node",
"webpack-env",
"jest"
],
"outDir": "appOutDir"
},
"include": [
"src",
"node_modules/@types/jest/index.d.ts"
],
Typings in Webstorm… busted again, no joy with 5.x What’s different about 5.x that breaks Webstorm’s Intellisense functionality (autocomplete, etc) ? Im at a loss.