Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Even though control.parent is checked for having a value, it is still flagged as potentially null. Fixed by capturing the variable separately so TS detects it as having a value within the closure.
- Loading branch information