Installation
npm install --save @types/cypress-dotenv
Summary
This package contains type definitions for cypress-dotenv (https://github.com/morficus/cypress-dotenv).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cypress-dotenv.
index.d.ts
import { DotenvConfigOptions } from "dotenv";
// Cypress type
interface CypressConfig {
[key: string]: any;
}
type EnhancedConfig<T extends CypressConfig> = T & {
env?: {
[key: string]: unknown;
};
};
declare function dotenvPlugin<T extends CypressConfig>(
cypressConfig: T,
dotEnvConfig?: DotenvConfigOptions,
all?: boolean,
): EnhancedConfig<T>;
export = dotenvPlugin;
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: @types/node, dotenv
Credits
These definitions were written by Daiki Ojima, and Piotr Błażejewicz.