Y
Hacker News
new
|
ask
|
show
|
jobs
by
aj0strow
3471 days ago
Yeah but assigning doesn't really work for nested classes.
class Post { id: string; user: User; // <- should be typeof User }
I was hoping for something like Golang json.Unmarshal.