|
|
|
|
|
by eropple
2559 days ago
|
|
TypeScript doesn't encourage returning classes. Writing classes just as data handlers is still verbose and clumsy. You can have a team that's writing Java in TypeScript and see that, but that's not conventional at all. Instead, TypeScript encourages returning structurally typed interfaces. Which are just data. |
|