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