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

Make expectError support TS2820 error introduced in TypeScript 4.5 #139

Merged
merged 1 commit into from Dec 29, 2021

Conversation

aqrln
Copy link
Contributor

@aqrln aqrln commented Dec 28, 2021

Support Type '{0}' is not assignable to type '{1}'. Did you mean '{2}'? (TS2820) error for string literal unions.

Fixes: #138

Support `Type '{0}' is not assignable to type '{1}'. Did you mean '{2}'?`
(TS2820) error for string literal unions.

Fixes: tsdjs#138
@sindresorhus sindresorhus merged commit b231b70 into tsdjs:main Dec 29, 2021
@aqrln aqrln deleted the gh-138 branch December 29, 2021 13:01
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.

expectError doesn't recognize TypeScript errors that end with "Did you mean ..."?
3 participants