|
|
|
|
|
by zdragnar
1751 days ago
|
|
There are a few patterns that TS simply cannot or is too painful to handle. I still have no idea how to define a class the old way with prototypes in Typescript, which I really only discovered when I ran into some edge cases around how static members and methods in the new class syntax were typed. You also lose the "type out code really quickly without thinking too hard about it" and the thrill of wondering if it'll work when you load the page. |
|