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
The code for this is done in cypress-io/cypress#4170, but has yet to be released.
We'll update this issue and reference the changelog when it's released.
Current behavior:
cy,isCy
is exposed physically at runtime but it's not documented and it does not appear is the typescript type definitions.Desired behavior:
cy.isCy
should be exposed in the docs and in TS typings so we know it's officially public and safe to use.I found that cypress-pipe is using it and perhaps others as well...
Typescript signature should be something like this:
This will allow typescript to infer
TSubject
when possible while allowing nonChainable
types to passthrough without complaints.The text was updated successfully, but these errors were encountered: