Skip to content

Commit

Permalink
fix return type
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbreiding committed Feb 5, 2020
1 parent c8ced45 commit 3d44a39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/types/index.d.ts
Expand Up @@ -50,7 +50,7 @@ declare namespace Cypress {
type RequestBody = string | object
type ViewportOrientation = "portrait" | "landscape"
type PrevSubject = "optional" | "element" | "document" | "window"
type PluginConfig = (on: PluginEvents, config: ConfigOptions) => void
type PluginConfig = (on: PluginEvents, config: ConfigOptions) => void | Partial<ConfigOptions> | Promise<Partial<ConfigOptions>>

interface CommandOptions {
prevSubject: boolean | PrevSubject | PrevSubject[]
Expand Down

0 comments on commit 3d44a39

Please sign in to comment.