author | handle | source | date |
---|---|---|---|
Matt Pocock |
@mattpocockuk |
2022-06-29 09:35:06 UTC |
Matt Pocock
🔥 TypeScript Tip 🔥
Tired of 'as const'? You can use Object.freeze to ensure your objects are readonly at the type level AND the runtime level. pic.twitter.com/5yGa0AiG7v