cypress 6.7.0 → 6.9.1
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/types/cypress.d.ts +1 -1
package/package.json
CHANGED
package/types/cypress.d.ts
CHANGED
@@ -8,7 +8,7 @@ declare namespace Cypress {
|
|
8
8
|
type RequestBody = string | object
|
9
9
|
type ViewportOrientation = 'portrait' | 'landscape'
|
10
10
|
type PrevSubject = 'optional' | 'element' | 'document' | 'window'
|
11
|
-
type PluginConfig = (on: PluginEvents, config: PluginConfigOptions
|
11
|
+
type PluginConfig = (on: PluginEvents, config: PluginConfigOptions) => void | ConfigOptions | Promise<ConfigOptions>
|
12
12
|
|
13
13
|
interface CommandOptions {
|
14
14
|
prevSubject: boolean | PrevSubject | PrevSubject[]
|