3 ms·
Still. Generics. `extends` with ternaries. `infer` within conditional types. Type narrowing. Lots of the language quirks.
by azangru 5y ago
Still. Generics. `extends` with ternaries. `infer` within conditional types. Type narrowing. Lots of the language quirks.
- pietrovismara 5y agoThis is correct. I feel there are 2 distinct levels of knowledge with Typescript: the application level and the library level. The application level is fairly easy, but if you want to write libraries with good types you're going to have to dive in the more complex features of Typescript. Still not rocket science, but it takes way more than 3 hours, even if one studies it intensively.