TypeScript Professional — Hard
Key points
- `as const` narrows down the types of properties
- Makes properties readonly
- Ensures immutability of the object
Ready to go further?
Related questions
TypeScript Professional — Hard
Key points
Ready to go further?
Related questions