WebStorm中的TypeScript无法查看typings文件夹中的类

时间:2016-05-23 23:13:23

标签: typescript webstorm

WebStorm中的TypeScript无法查看typings文件夹中的类。

当我做import Engine = BABYLON.Engine; WebStorm说"未解决的变量或类型BABYLON"。

选项"使用tsconfig.json解析对象"在启用的设置中。

文件夹结构:

├── angular-cli-build.js
├── angular-cli.json
├── config
├── dist
├── e2e
├── node_modules
├── package.json
├── public
├── src
├── tmp
├── tslint.json
├── typings
└── typings.json

0 个答案:

没有答案