Current behavior:

Desired behavior:
cy.removeListener and cy.removeAllListeners should be typed, since they are usable as referenced here:
https://docs.cypress.io/api/events/catalog-of-events.html#Binding-to-Events
Steps to reproduce:
- Create any cypress project using TypeScript as documented here:
https://docs.cypress.io/guides/tooling/typescript-support.html
- In an
it() block in a *.ts spec file, type cy.removeListener()
- TS will show an error
Versions
cypress@3.4.1
Current behavior:
Desired behavior:
cy.removeListenerandcy.removeAllListenersshould be typed, since they are usable as referenced here:https://docs.cypress.io/api/events/catalog-of-events.html#Binding-to-Events
Steps to reproduce:
https://docs.cypress.io/guides/tooling/typescript-support.html
it()block in a*.tsspec file, typecy.removeListener()Versions
cypress@3.4.1