@suluk/env - v0.2.0
    Preparing search index...

    Interface AssertOptions

    interface AssertOptions {
        surface?: Surface;
        allow?: string[];
        onWarn?: (issue: EnvIssue) => void;
    }
    Index

    Properties

    surface?: Surface

    the surface being validated (gates requiredInSurface + forbidInSurface).

    allow?: string[]

    var names whose ERRORS are downgraded to allowed (an explicit, auditable override).

    onWarn?: (issue: EnvIssue) => void

    called once per warning (e.g. console.warn) — assertEnv never throws on warnings.