jed_fox1’s Twitter Archive
— № 1,000
⇤ Newest
Tweet
⇠ Newer
Tweet
Older
Tweet
⇢
…in reply to @kentcdodds
@
kentcdodds
@
giovannibenussi
@
typescript
My guess is that using const to declare a property in TypeScript tells the type checker to make it read-only, but switching to var or let makes it read-write.
On twitter.com
❤️ 1
Favorite
2021 Jul 3
Mood
0