Get the latest tech news
How is [my new] Type Predicate Generator different?
Type safe predicate generator for TypeScript. Contribute to peter-leonov/type-predicate-generator development by creating an account on GitHub.
Such a quick fix would be trivial to review in a tiny PR and remain local to the predicate in question, allowing the team to unblock without any sync dependencies on the Generator's development process. Such a bug can rarely happen within a code like that Generator produces, but it's still possible, e.g. when a Proxy object throws on property access or a getter returns an unexpected null, or a library misuses . Most other checkers form full or partial nested property access expressions that take some time for the JS engine to identify and optimize as it's just more bytecode to analyze:
Or read this on Hacker News