-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Types not exported in .d.ts #7309
Comments
I also see this and it is causing issues. Version: Cypress 4.5.0 Trying to record results via the Module API and running into this: cypress.run({ env })
.then((results: Cypress.CypressRunResults) => {
logger.info(results.totalTests);
logger.info(results.totalFailed);
}); Results in: error - Namespace 'Cypress' has no exported member 'CypressRunResults'. |
Version: Cypress 4.10.0 Can we get an update on this? It's been already few minor versions since... |
We're open to PRs to implement this. Check out our contributing doc. |
The code for this is done in cypress-io/cypress#8096, but has yet to be released. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Current behavior:
The types declared in cypress-npm-api.d.ts cannot be used by calling code since they are not being exported.
Desired behavior:
The types should be exported in order to be usable.
Test code to reproduce
N/A
Versions
Cypress 4.5.0
The text was updated successfully, but these errors were encountered: