Skip to content
This repository was archived by the owner on Jan 31, 2023. It is now read-only.

Commit 01a994b

Browse files
authored
fix: include definitions for the module exports in index.d.ts (#143)
1 parent 03d3b97 commit 01a994b

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

index.d.ts

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ declare namespace Cypress {
2424
})
2525
```
2626
*/
27-
skipOn(nameOrFlag: string|boolean, cb?: () => void): Chainable<Subject>
27+
skipOn(nameOrFlag: string | boolean, cb?: () => void): Chainable<Subject>
2828

2929
/**
3030
* Only runs the current test if the current browser or platform matches the given name
@@ -44,6 +44,16 @@ declare namespace Cypress {
4444
})
4545
```
4646
*/
47-
onlyOn(nameOrFlag: string|boolean, cb?: () => void): Chainable<Subject>
47+
onlyOn(nameOrFlag: string | boolean, cb?: () => void): Chainable<Subject>
4848
}
4949
}
50+
51+
export const skipOn: (
52+
nameOrFlag: string | boolean,
53+
cb?: () => void
54+
) => Cypress.Chainable<any>
55+
export const onlyOn: (
56+
nameOrFlag: string | boolean,
57+
cb?: () => void
58+
) => Cypress.Chainable<any>
59+
export const isOn: (name: string) => boolean

0 commit comments

Comments
 (0)