TypeScript

TypeScript

#typescript

1

1: TypeScript

2

2

2

Examples

3

3

3

3

Visual Studio

3

Visual Studio

4

WebStorm

4

IntelliJ IDEA

4

Atom atom-typescript

4

4

4

Node.js

4

npm

4

npm

5

5

5

tsconfig.json

5

,

6

6

6

7

8

TypeScript REPL Node.js

8

TypeScript ts-

8

2: tsconfig.json

10

10

10

10

tsconfig.json

10

10

11

Examples

11

TypeScript tsconfig.json

11

compileOnSave

13

13

14

preserveConstEnums

14

3: TSLint -

16

16

Examples

16

tslint.json

16

16

17

18

TSLint

18

4: TypeScript AngularJS

19

19

19

Examples

19

19

20 21

5: TypeScript SystemJS

23

Examples

23

Hello World SystemJS

23

6:

26

26

26

Examples

26

26

26

27

27

27

Generics

28

28

:

29

29

7:

31

31

31

Examples

32

npm

32

32

33

2.x

34

8:

35

35

Examples

35

webpack +

35

Browserify

35

35

35

API

36

36

36

Gruntfile.js

36

36

36

gulpfile.js

37

gulpfile.js tsconfig.json

37

Webpack

37

37

webpack.config.js

37

webpack 2.x, 3.x

37

webpack 1.x

38

MSBuild

38

NuGet

39

9:

40

40

40

40

40

41

Examples

41

41

41

42

42

43

43

44

45 46

10: TypeScript webpack

48

Examples

48

webpack.config.js

48

11: RequireJS

50

50

Examples

50

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download