chore: fix telemetry types (#26793)

This commit is contained in:
Matt Henkes
2023-05-18 09:15:41 -05:00
committed by GitHub
parent 0db0387a48
commit 4a15e836c0

View File

@@ -6,6 +6,7 @@
declare namespace Cypress {
interface Cypress {
runner: any
state: State
}
interface Actions {
@@ -17,6 +18,7 @@ declare namespace Cypress {
(action: 'viewport:changed', fn?: (viewport: { viewportWidth: string, viewportHeight: string }, callback: () => void) => void)
(action: 'before:screenshot', fn: (config: {}, fn: () => void) => void)
(action: 'after:screenshot', config: {})
(action: 'command:failed', fn: (command: CommandQueue, error: Error) => void): Cypress
}
interface Backend {