Popii - v0.5.1
    Preparing search index...

    Interface PopiiLocals

    Globally augmentable interface for strongly typing pop.locals.

    Declare this in any .d.ts file in your project to add typed properties that are accessible on pop.locals inside every command, snap, and middleware.

    // src/types.d.ts
    declare module "popii" {
    interface PopiiLocals {
    dbUser: { id: string; balance: number; premium: boolean };
    guildConfig: Record<string, string>;
    }
    }