@karmaniverous/get-dotenv
    Preparing search index...

    Interface OverlayEnvOptionsWithProgrammatic<B, P>

    Options including explicit programmatic variables which take top precedence.

    interface OverlayEnvOptionsWithProgrammatic<
        B extends
            | Record<string, string | undefined>
            | Readonly<Record<string, string | undefined>>,
        P extends
            | Record<string, string | undefined>
            | Readonly<Record<string, string | undefined>>,
    > {
        base: B;
        configs: OverlayConfigSources;
        env: string
        | undefined;
        programmaticVars: P;
    }

    Type Parameters

    • B extends
          | Record<string, string | undefined>
          | Readonly<Record<string, string | undefined>>

      base env shape

    • P extends
          | Record<string, string | undefined>
          | Readonly<Record<string, string | undefined>>

      programmatic vars shape

    Hierarchy (View Summary)

    Index

    Properties

    base: B

    Base environment variables.

    Configuration sources to overlay.

    env: string | undefined

    Target environment name.

    programmaticVars: P