Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

test: remove @ts-expect-errors for this being mocha #4250

Merged
merged 4 commits into from
Nov 17, 2022

Conversation

achingbrain
Copy link
Member

If we specify the return type of the getIt util, tsc will know what type this is in the test context so we can remove the error overrides.

If we specify the return type of the `getIt` util, tsc will know what
type `this` is in the test context so we can remove the error overrides.
@achingbrain achingbrain merged commit 419aae1 into master Nov 17, 2022
@achingbrain achingbrain deleted the chore/remove-tsc-overrides-for-mocha branch November 17, 2022 16:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant