bunway
    Preparing search index...

    Interface AuthUser

    Extend this interface to type req.user for your application.

    declare module "bunway" {
    interface AuthUser {
    id: string;
    email: string;
    role: "admin" | "user";
    scope?: string[];
    }
    }

    Indexable

    • [key: string]: unknown