4. TypeScript Advanced Types
4.1 class class
There are two ways of class inheritance: 1 extends (inherit parent class) 2 implements (implement interface).
Class member visibility: You can use TS to control whether a method or property of a class is visible to code outside the class.
public
protected
private
readonly
4.2 Type Compatibility
4.3 Cross Types
4.4 Generics
4.5 Index signature type
4.6 Mapping Types
5. TypeScript type declaration file
5.1 Two file types in TS
5.2 Instructions for use of type declaration files
6. Using TypeScript with React
6.1 Create a TS-enabled project using CRA
6.2 TS configuration file tsconfig.json
6.3 Common types in React