Pure Ts Tour Review
// Special types let notSure: any = 42; // escape type checking (use sparingly) let noValue: void = undefined; let missing: null = null;
interface Dog bark(): void;
// Union type type Result = "success" | "error" | "loading"; let state: Result = "loading"; // Intersection type type Person = name: string ; type Employee = id: number ; type Worker = Person & Employee; pure ts tour
"compilerOptions": "target": "ES2020", "module": "NodeNext", "moduleResolution": "NodeNext", "outDir": "./dist", "rootDir": "./src", "strict": true, "esModuleInterop": true, "skipLibCheck": true // Special types let notSure: any = 42;