Skip to content

Use better type comparison in tests #198

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

Closed
vlad-iakovlev opened this issue Jul 18, 2022 · 2 comments
Closed

Use better type comparison in tests #198

vlad-iakovlev opened this issue Jul 18, 2022 · 2 comments
Labels
typing Something type related

Comments

@vlad-iakovlev
Copy link
Contributor

https://github.com/JoshuaKGoldberg/eslint-plugin-expect-type

@vlad-iakovlev vlad-iakovlev changed the title Use eslint-plugin-expect-type for check types in tests Use better type comparison in tests Jul 18, 2022
@vlad-iakovlev
Copy link
Contributor Author

We also should closer look to DefinitelyTyped/DefinitelyTyped#41179

@TkDodo TkDodo added enhancement typing Something type related labels Jul 28, 2022
@eranhirsch
Copy link
Member

I'm not sure I fully understand the issue here, is this what vitest's expectTypeOf solved? If I misunderstood the issue feel free to re-open it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
typing Something type related
Projects
None yet
Development

No branches or pull requests

3 participants