My short TypeScript wish list: - Only allowing `Error` instances to be thrown - Enforcing that interpolated values in template literals are strings
-
-
Yeah this should really be added to typescript-eslint...
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Or when it's in node_modules yeah. That bit me many times
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
100% this. It can be enforced by additional rules sets for linters (ex. TypeStrict handles it) but! I would totally use a tsc drop in replacement that would find even more problems in compile-time. Another example: floating-promises
-
Ah, gotcha—good point.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 