Getting Error - Cannot find name 'angular'

前端 未结 7 1529
野的像风
野的像风 2020-12-15 17:20

I\'m starting writing AngularJS app using TypeScript. I have this simple module command:

(() => {
    angular
        .module(\'app\', []);
})();
<         


        
相关标签:
7条回答
  • 2020-12-15 17:53

    Make sure that in the tsconfig.json the filesGlob points and exposed the typings file:

    "filesGlob": ["typings.d.ts" ]
    
    0 讨论(0)
提交回复
热议问题