Comment Comment by aj0strow 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. parent aj0strow 10 years ago