|
|
|
|
|
by Chabsff
1393 days ago
|
|
In strongly-typed programming languages, which includes Typescript, figuring out the types *of the interface* is not something that's done after the fact. `@types/*` is an exceptional project meant to back-port JS libraries to TypeScript, but that's the exception, not the rule. If you write a library in TypeScript, determining what types are present as part of the interface is one of the very first thing that should be done. |
|
Too broad a statement. There's loads of value in having a compiler figure out types for you after/when you write the code.