TypeScript KO

TypeScript

#typescript

1

1: TypeScript

2

2

2

Examples

3

3

3

3

3

Visual Studio

3

WebStorm

3

IntelliJ IDEA

3

Atom atom-typescript

3

3

3

Node.js

3

npm

4

npm .

4

4

TypeScript

4

tsconfig.json

4

4

5

5

6

6

Node.js TypeScript REPL

6

ts-node TypeScript

6

2: AngularJS TypeScript

8

8

8

Examples

8

8

9

9

3: React (JS ) Typescript

11

Examples

11

Typescript ReactJS

11

Typescript & react & webpack

12

4: RequireJS Typescript

14

14

Examples

14

TypeScript requireJS CDN HTML .

14

tsconfig.json requireJS .

14

5: SystemJS TypeScript

15

Examples

15

SystemJS Hello World

15

6: tsconfig.json

18

18

18

18

tsconfig.json

18

18

18

Examples

18

tsconfig.json TypeScript

18

compileOnSave

20

20

21

preserveConstEnums

21

7: TSLint -

23

23

Examples

23

tslint.json

23

23

24

24

TSLint

24

8: Typescript

26

26

Examples

26

extends super 1

26

2 -

26

9: TypeScript

28

Examples

28

npm

28

10: TypeScript

29

29

Examples

29

29

29

29

29

29

30

30

30

.

30

.

31

31

35

const

35

11: typescript typescript .

37

37

Examples

37

Typescript

37

12: Typescript-installing-typescript-and-running-the-typescript-compiler-tsc

39

39

Examples

39

.

39

Typescript typescript

39

13: TypeScript Webpack

41

Examples

41

webpack.config.js

41

14:

43

43

Examples

43

43

43

43

Union

45

15:

46

Examples

46

46

46

47

(ts-jest)

48

49

16:

51

51

Examples

51

Visual Studio SourceMaps JavaScript

51

WebStorm SourceMaps JavaScript

51

Visual Studio ts-node TypeScript

52

WebStorm ts-node TypeScript

53

17: -

55

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

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

Google Online Preview   Download