You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inside test-types directory add new file expect.test.ts file (this one is for expect package, because it is not possible to make similar import from globals, right?). Include the copyright lines and this:
The export ensures that defined but never used is silenced. expect-error is silencing the expected error. The line with type N will fail before your patch and will pass after.
Might be you found these already, adding just for completeness. Use yarn test-types to run the test. And keep in mind that you have to build the library to see any change in tests.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
Version
27.3.0
Steps to reproduce
Expected behavior
no typing issues
Actual behavior
Additional context
It worked before. Seems like a regression introduced in #11949. Before that it was working.
Environment
The text was updated successfully, but these errors were encountered: