|
|
|
|
|
by janekk
4701 days ago
|
|
Yes, ~38,000 lines of TypeScript for my app (https://www.datacracker.com/). The benefits of inferred typing is great. Mostly you just need to explicitly declare the types of your class properties, and then code that uses the properties or modifies them (like .map() or .forEach) doesn't need explicit types defined - so it still looks like JavaScript. Refactoring is no longer a search and replace in files (and pray tests pass) affair. Dealing with other programmer's code is no longer as mentally taxing. |
|