Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The newest typescript catches a real proble. This type wasn't correct. You can only use a type predicate if your implementation returns a boolean, but this implementation very deliberately returns its argument if that argument passes a check.
- Loading branch information