TypeScript Professional — Hard
Key points
- Const inference in TypeScript 5.0 results in readonly properties
- Narrow literal types are inferred to maintain specific values
- The 'const' keyword restricts modifications to the inferred type
Ready to go further?
Related questions
