I'm starting writing AngularJS app using TypeScript. I have this simple module command:
(() => {
angular
.module('app', []);
})();
When I run tsc app.ts
, I got this: app.ts(2,5): error TS2304: Cannot find name 'angular'.
Do I need to include something to app.ts
to make tsc
understand the angular
?
Regards,
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…