DEV Community

Discussion on: Mindblowing 🤯 TypeScript tricks

Collapse
 
tbhaxor profile image
Gurkirat Singh

Just to let everyone know readonly != immutable

I had this discussion with typescript team here

So for only a particular type readonly has meaning

Collapse
 
puruvj profile image
PuruVJ

Good point Gurkirat! 👍