I\'m starting writing AngularJS app using TypeScript. I have this simple module command:
(() => {
angular
.module(\'app\', []);
})();
<
ATOM
In tsconfig.json
file ensure your "fileGlobs"
points to both:-
tsd
&src .ts files
"filesGlob": [
"./typings/**/*.ts",
"./src/client/**/*.ts"
]
This will ensure you have tooling for the libraries you have installed (with tsd
) without having to declare
any variables. For example, if you tsd install angularjs --save
, you can work angular
in your src/../*.ts files
with all the goody tooling.
Hope this helps. Good Luck.