TypeScript

TypeScript

#typescript

1

1: TypeScript

2

2

2

Examples

3

3

3

3

3

Visual Studio

3

WebStorm

3

IntelliJ IDEA

3

3

3

3

Node.js.

3

npm

3

npm

4

4

TypeScript

4

tsconfig.json

4

4

5

5

5

6

Node.jsTypeScript REPL

6

tsTypeScript

6

2: tsconfig.json

8

8

8

8

tsconfig.json

8

8

8

Examples

8

tsconfig.jsonTypeScript

8

compileOnSave

10

10

11

preserveConstEnums

11

3: TSLint -

13

13

Examples

13

tslint.json

13

13

14

14

TSLint

14

4: TypeScript

16

16

Examples

16

16

16

16 16 16

16

17

17

17

17

18

21

const Enum

22

5: TypeScriptSystemJS

24

Examples

24

SystemJSHello World

24

6: AngularJSTypeScript

27

27

27

Examples

27

27

28

28

7: ReactTypescriptJS

30

Examples

30

ReactJSTypescript

30

31

8: RequireJSTypescript

33

33

Examples

33

requireJS CDNHTMLTypeScript

33

tsconfig.jsonrequireJS

33

9:

34

34

Examples

34

34

34

34

36

10:

37

Examples

37

37

chai-immutable

37

38

ts-jest

39

40

11:

42

Examples

42

42

42

12: javascript

44

44

Examples

44

44

44

44

13: TypeScriptwebpack

46

Examples

46

webpack.config.js

46

14:

48

48

48

Examples

48

npm

48

49

49

typescript 2.x

50

15: -TSC

51

51

Examples

51

51

Typescripttypescript

51

16:

53

53

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

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

Google Online Preview   Download