Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix abstract-class test to not needlessly use expectAssignable #574

Merged
merged 1 commit into from
Mar 23, 2023

Conversation

trevorade
Copy link
Contributor

Just noticed this test was using expectAssignable without an explicit type parameter making the call meaningless.

The check here is verified with the call to functionRecevingAbsClass compiling, not it being wrapped in expectAssignable

Just noticed this test was using `expectAssignable` without an explicit type parameter making the call meaningless.

The check here is verified with the call to `functionRecevingAbsClass` compiling, not it being wrapped in `expectAssignable`
@sindresorhus sindresorhus merged commit 7a76a6f into sindresorhus:main Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants