@supabase/middleware - v0.2.0
    Preparing search index...

    Type Alias NoConflict<Key, Base>

    NoConflict: IsAny<Base> extends true
        ? object
        : Key extends keyof Base ? Conflict<Key> : object

    Resolves to a Conflict sentinel when Base already carries Key, surfacing the collision at the call site (the sentinel string is not an object, so the constraint fails). Exported so a middleware with a bespoke generic signature (e.g. one that adds a Payload type parameter) can reuse the core's collision check instead of hand-copying it.

    Type Parameters

    • Key extends string
    • Base