Why Nostr? What is Njump?
2024-09-18 20:27:07

TechPostsFromX on Nostr: TypeScript's 'readonly' property kind of sucks. It's extremely easy to break - just ...

TypeScript's 'readonly' property kind of sucks.

It's extremely easy to break - just pass a readonly property to a function that expects a mutable one, and mutate it.

Fortunately, they're planning to fix this with a flag in the next version.


Source: x.com/mattpocockuk/status/1836478870301675670
Author Public Key
npub12tg3narznz500vypswuk6nn6k4xkmuy9xvp66j3u89qsyregvy5sh8u9ad