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
This definitely looks like an oversight in regards to our types. #14584 updated the type for Cypress.config() (no arguments), but when you pass in a key, it's accepting a returning a different type than Cypress.config().
Current behavior
When using typescript with Cypress, if I do something like:
Then vsCode is complaining that "No overload matches this call" because "Type '"isInteractive"' has no properties in common with type 'ConfigOptions'"
Supposedly this was addressed in issue #14392 (pull req #14584) - but this seems to still be an issue.
Desired behavior
Cypress should provide support for runtime properties in the developer's IDE of choice.
Test code to reproduce
See above.
Cypress Version
9.0.0
Other
No response
The text was updated successfully, but these errors were encountered: