File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ declare global {
6262 *
6363 * @see https://on.cypress.io/env
6464 */
65- env ( ) : Partial < PluginEnvOptions > & object ;
65+ env ( ) : PluginEnvOptions ;
6666 /**
6767 * Returns specific environment variable or undefined
6868 * @see https://on.cypress.io/env
@@ -87,22 +87,22 @@ declare global {
8787 * @example
8888 * Cypress.env({ host: "http://server.dev.local", foo: "foo" })
8989 */
90- env ( object : Partial < PluginEnvOptions > ) : void ;
90+ env ( object : PluginEnvOptions ) : void ;
9191 }
9292 interface TestConfigOverrides {
93- env ?: Partial < PluginEnvOptions >
93+ env ?: PluginEnvOptions
9494 }
9595 }
9696 interface Window {
9797 props : Record < string , RequestProps [ ] >
9898 }
9999}
100100
101- export interface PluginEnvOptions {
102- snapshotOnly : boolean
103- hideCredentials : boolean
104- hideCredentialsOptions : HideCredentialsOptions ,
105- requestMode : boolean
101+ export interface PluginEnvOptions extends Cypress . ObjectLike {
102+ snapshotOnly ? : boolean
103+ hideCredentials ? : boolean
104+ hideCredentialsOptions ? : HideCredentialsOptions ,
105+ requestMode ? : boolean
106106}
107107
108108export interface HideCredentialsOptions {
You can’t perform that action at this time.
0 commit comments