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
Was able to reproduce and created a quick reproduction here. going to route to e2e team and since it should be simple I should have some time to work on it
Current behavior
When trying to override the
type
method in typescript, I got errors from typescript linter. It's 1:1 copy and paste from docs .I get 3 errors.
$el
; it's only acceptingJQuery<HTMLElement>
... whereelement
from docs isstring
type.message
; it's only acceptingstring
type, but thetext
isPartial<Cypress.TypeOptions>
type.originalFn
; it's accepting 1-2 arguments, but docs says to pass options as 3rd argumentDesired behavior
Docs tips should match the actual code typing
Test code to reproduce
Cypress Version
10.10.0
Node version
v16.13.2
Operating System
MacOS 12.6
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: