so far, my favorite thing about typescript is that everyone has a different idea of what goes into an HTML element, and they all disagree.

Follow

@kirch I'm torn between not accepting subclasses in template generics (i.e. a Java-style MouseEvent<? extends HTMLElement> isn't a thing), and not being able to infer that properties of imported JSON match unions of string literal types (which sucks for testing).

· · Web · 0 · 0 · 1
Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!