Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace one last expect-error with an
as
In this case the 'as' is asserting "I know better than the compiler" and it is both true and more accurate than saying "I expect typescript to error out here." As an added benefit, `as` does more type checking than 'expect error', so you get just a small bit more type safety.
- Loading branch information