This is the code sample repo for TypeScript Tutorial which is design for React developer starter.
-
Chatpter1: TypeScript Basic Concept
- 1.1 quick-start
- 1.2 basic-types
- 1.3 operators
- 1.4 advanced-types
- 1.5 assertions
- 1.6 type guard
-
Chatpter2: Generic Type Tutorial
- 2.1 quick-start
- 2.2 generic-interface-and-type
- 2.3 generic-class
- 2.4 react-class-component
- 2.5 react-function-component
- 2.6 type-inference
- 2.7 type-inference-with-limiting-scope
- 2.8 conditional-type
- 2.9 infer
- 2.10 co-variant
- 2.11 contra-variant
- 2.12 generic-tools
- 2.13 camelize
-
Chatpter3: Actual Situations
- 3.1 request
- 3.2 use-async
- 3.3 request-ui
- 3.4 antd-form-sample
- 3.5 custom-form
- 3.6 custom-use-form
-
Chatpter4: Practical Tips
- 4.1 anti-anyscript
- 4.2 react-element-types
- 4.3 custom-antd-component
- 4.4 reuse-types
- 4.5 readonly
- 4.6 implicit-reference