WebStorm中的TypeScript无法查看typings文件夹中的类
WebStorm中的TypeScript无法查看typings文件夹中的类 当我做WebStorm中的TypeScript无法查看typings文件夹中的类,typescript,webstorm,Typescript,Webstorm,WebStorm中的TypeScript无法查看typings文件夹中的类 当我做import Engine=BABYLON.Engine时WebStorm说“未解析的变量或类型” 启用设置中的选项“使用tsconfig.json解析对象” 文件夹结构: ├── angular-cli-build.js ├── angular-cli.json ├── config ├── dist ├── e2e ├── node_modules ├── package.json ├── public ├──
import Engine=BABYLON.Engine时代码>WebStorm说“未解析的变量或类型”
启用设置中的选项“使用tsconfig.json解析对象”
文件夹结构:
├── angular-cli-build.js
├── angular-cli.json
├── config
├── dist
├── e2e
├── node_modules
├── package.json
├── public
├── src
├── tmp
├── tslint.json
├── typings
└── typings.json
尝试使用var引擎=巴比伦引擎;typings.json和tsconfig.json看起来像什么?我无法通过typings安装babylonjs-似乎相应的模块不在注册表中要使用BABYLON,我在typings.json中添加了{…“ambientDependencies”:{…“babylonjs”:“github:babylonjs/BABYLON.js/dist/BABYLON.2.3.d.ts”}}代码>没有帮助。尝试使用var Engine=BABYLON.Engine;typings.json和tsconfig.json看起来像什么?我无法通过typings安装babylonjs-似乎相应的模块不在注册表中要使用BABYLON,我在typings.json中添加了{…“ambientDependencies”:{…“babylonjs”:“github:babylonjs/BABYLON.js/dist/BABYLON.2.3.d.ts”}}代码>没有帮助。