Tour [hot] | Pure Ts

// Arrow function with explicit return type const add = (a: number, b: number): number => a + b;

const worker: Worker = name: "Eve", id: 42 ; pure ts tour

"compilerOptions": "target": "ES2020", "module": "NodeNext", "moduleResolution": "NodeNext", "outDir": "./dist", "rootDir": "./src", "strict": true, "esModuleInterop": true, "skipLibCheck": true // Arrow function with explicit return type const

console.log(state, worker); src/features/6-generics.ts b: number): number =&gt