Typescript
Definition files
E.G. angular.d.ts -> Use such file, then we can use angularJS in Typescript & get its language Intellisense
d.ts files (Type Definitions for external JS libs, aka Typings),
see also https://github.com/Microsoft/TypeScript/issues/2262
xxx.js.map
Debug typescript
tsd files
default : tsd.d.ts ('tsd' can be changed)
http://www.johnpapa.net/intellisense-witha-visual-studio-code/
https://github.com/DefinitelyTyped/tsd/issues/116
import / from or import / require or /// <reference
keyword : module loader - RequireJS / SystemJS / Webpack / Browserify,
https://github.com/Microsoft/TypeScript/issues/2242
http://stackoverflow.com/questions/32151141/webstormtypescript-how-to-use-without-reference-path
tsconfig.json
The presence of a tsconfig.json file in a directory indicates that the directory is the root of a TypeScript project.
By invoking tsc with no input files and a -project (or just -p) command line option that specifies the path of a directory containing a tsconfig.json file.
es6 to es5
Use typescript can do such things
.d.ts
to compile .ts, we need .d.ts
https://blog.othree.net/log/2014/12/04/typescript-definition/
http://blog.miniasp.com/post/2015/06/08/Using-Visual-Studio-Code-with-AngularJS.aspx
https://en.wikipedia.org/wiki/TypeScript
http://www.typescriptlang.org/Handbook#writing-dts-files
http://stackoverflow.com/questions/33989459/typescript-use-lib-core-es6-d-ts