2 ms·
Happy to say that this also works well with TypeScript with minimal explicit types required. My main goal is to maximize the use of type inference. The document
by aenero 5y ago
Happy to say that this also works well with TypeScript with minimal explicit types required. My main goal is to maximize the use of type inference. The documentation provides TypeScript version of each example (outside of the TL;DR cheat sheet), except in cases where TS version is the same as the JS due to type inference. Even where there is TS version, the difference from JS is minimal.