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

We need to provide types for resolved config object #14392

Closed
bahmutov opened this issue Jan 4, 2021 · 2 comments · Fixed by #14584
Closed

We need to provide types for resolved config object #14392

bahmutov opened this issue Jan 4, 2021 · 2 comments · Fixed by #14584
Labels
type: typings Issue related to Cypress types (for TypeScript)

Comments

@bahmutov
Copy link
Contributor

bahmutov commented Jan 4, 2021

Cypress v6.2.0

If you look at all properties in the object returned by Cypress.config() call, there are several run-time properties beyond the current typescript interface. For example, the isInteractive property is missing from the typescript interface, but present at run-time.

https://docs.cypress.io/guides/references/configuration.html#isInteractive

We should create an extended ConfigAtRuntime typescript interface with these additional properties

@bahmutov bahmutov added the type: typings Issue related to Cypress types (for TypeScript) label Jan 4, 2021
@jennifer-shehane jennifer-shehane added the stage: ready for work The issue is reproducible and in scope label Jan 6, 2021
@cypress-bot cypress-bot bot added stage: work in progress and removed stage: ready for work The issue is reproducible and in scope labels Jan 15, 2021
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Jan 20, 2021

The code for this is done in cypress-io/cypress#14584, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Feb 1, 2021

Released in 6.4.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v6.4.0, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Feb 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: typings Issue related to Cypress types (for TypeScript)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants