Tag Archives: Dataclasses

Closest thing to structs / dataclasses / records in typescript with default values – Learn from Tutorial

Closest thing to structs / dataclasses / records in typescript with default values Data-only classes are easy to understand; you can add ‘methods’ (functions taking them) to them when you import them; there is no worries of using this wrong and it’s usually easier to figure out if they are modified (partly because you can…

Read More