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

Add decorator-related diagnostic codes to expectError #207

Merged
merged 2 commits into from Jan 17, 2024

Conversation

tbroyer
Copy link
Contributor

@tbroyer tbroyer commented Jan 16, 2024

Because diagnostic codes are < 2000 (and therefore deemed "syntactical errors"), the ignore logic needs to be adapted.

Fixes #206

…errors

There are a few diagnostic codes that are < 2000 but
aren't really syntactical errors. They can thus be listed
in expectErrorDiagnosticCodesToIgnore to be "expected"
by expecteError.
@sindresorhus sindresorhus merged commit 8eeab3d into tsdjs:main Jan 17, 2024
4 checks passed
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.

Unable to expectError on decorator applicability
2 participants