TS2345: Argument of type 'PieceContext<keyof StoreRegistryEntries>' is not assignable to parameter of type 'LoaderContext'. Types of property 'store' are incompatible. Type 'ArgumentStore | CommandStore | InteractionHandlerStore | ListenerStore | PreconditionStore' is not assignable to type 'InteractionHandlerStore'. Property 'run' is missing in type 'ArgumentStore' but required in type 'InteractionHandlerStore'.17 super(ctx, { ~~~ node_modules/.pnpm/@sapphire+framework@4.8.5/node_modules/@sapphire/framework/dist/cjs/index.d.ts:441:5 441 run(interaction: Interaction): Promise<boolean>; ~~~ 'run' is declared here.
TS2345: Argument of type 'PieceContext<keyof StoreRegistryEntries>' is not assignable to parameter of type 'LoaderContext'. Types of property 'store' are incompatible. Type 'ArgumentStore | CommandStore | InteractionHandlerStore | ListenerStore | PreconditionStore' is not assignable to type 'InteractionHandlerStore'. Property 'run' is missing in type 'ArgumentStore' but required in type 'InteractionHandlerStore'.17 super(ctx, { ~~~ node_modules/.pnpm/@sapphire+framework@4.8.5/node_modules/@sapphire/framework/dist/cjs/index.d.ts:441:5 441 run(interaction: Interaction): Promise<boolean>; ~~~ 'run' is declared here.
export class DeleteInviteButtonHandler extends InteractionHandler { public constructor(ctx: PieceContext, options: InteractionHandler.Options) { super(ctx, { ...options, interactionHandlerType: InteractionHandlerTypes.Button, }); }...
export class DeleteInviteButtonHandler extends InteractionHandler { public constructor(ctx: PieceContext, options: InteractionHandler.Options) { super(ctx, { ...options, interactionHandlerType: InteractionHandlerTypes.Button, }); }...