Struggling to follow the guidelines provided at: https://github.com/BabylonJS/Babylon.js. When attempting to compile a simple one-line "main.ts" script that includes
import * as BABYLON from 'babylonjs';
using tsc within npm, I encounter the following errors:
../../../../../../node_modules/babylonjs/babylon.module.d.ts(24692,31): error TS2304: Cannot find name 'MouseWheelEvent'.
../../../../../../node_modules/babylonjs/babylon.module.d.ts(24706,31): error TS2304: Cannot find name 'MouseWheelEvent'.
...
[...]
...
../../../../../../node_modules/babylonjs/babylon.module.d.ts(159189,42): error TS2304: Cannot find name 'WebGLObject'.
The configuration in tsconfig.json is as follows:
{
"files": ["main.ts"],
"compilerOptions": {
"noImplicitAny": true,
"declaration": true,
"types": ["babylonjs"],
"target": "es2015"
}
}