types-first-ui
types-first-ui copied to clipboard
An opinionated framework for building long-lived, maintainable UI codebases
Define a selector: ``` // TS yells at you for incorrect return type const MySelector: Selector = selector(SOME_PATH, () => 'a') ``` ``` // TS no longer recognizes the incorrect...
Simply put--we need a better testing story. Although testing is theoretically possible, it is an enormous PITA and does not lend itself to a nice unit testing experience. To test...
TS 3.0 introduced a [breaking change](https://blogs.msdn.microsoft.com/typescript/2018/07/30/announcing-typescript-3-0/#intersecting-with-nullundefined) that changed the behavior of how null & undefined resolve with intersection types. This breaking change hit us particularly hard because of use of...