TypeScript KO - riptutorial.com

[Pages:109]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

Examples

55

Hello world

55

/

55

56

18:

58

58

58

58

Examples

58

58

19:

60

Examples

60

60

find ()

60

20:

61

61

Examples

61

webpack + loaders

61

61

61

61

API

61

62

62

Gruntfile.js

62

62

62

gulpfile.js

62

tsconfig.json gulpfile.js

62

63

63

webpack.config.js

63

webpack 2.x, 3.x

63

webpack 1.x

63

MSBuild

64

NuGet

64

21:

66

66

66

Examples

66

instanceof

66

typeof

66

67

22:

69

69

Examples

69

69

69

69

70

71

Monkey .

72

72

TypeScript

72

72

73

23: null

74

Examples

74

null

74

null

74

24:

76

Examples

76

enum

76

76

enum : enum .

77

enum enums

78

25: TypeScript ?

79

79

79

Examples

79

79

79

80

26:

81

81

81

Examples

81

npm

81

82

83

typescript 2.x

83

27:

84

84

84

84

Type Aliases

84

84

Examples

84

84

84

85

85

86

86

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

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

Google Online Preview   Download