Skip to content

Commit

Permalink
fix event types
Browse files Browse the repository at this point in the history
  • Loading branch information
catplvsplus committed Jan 30, 2024
1 parent 71bff3f commit b15d098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/giveaways/src/classes/GiveawayManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export interface GiveawayManagerOptions<Database extends BaseGiveawayDatabaseAda
selectWinnerEntries?: (entries: RawGiveawayEntry[], needed: number) => Awaitable<RawGiveawayEntry[]>;
}

export class GiveawayManager<Database extends BaseGiveawayDatabaseAdapter = BaseGiveawayDatabaseAdapter> extends TypedEmitter {
export class GiveawayManager<Database extends BaseGiveawayDatabaseAdapter = BaseGiveawayDatabaseAdapter> extends TypedEmitter<GiveawayManagerEvents> {
public static readonly joinButton: Omit<InteractionButtonComponentData, 'disabled'|'type'> = {
emoji: '🎉',
customId: '@falloutstudios/djs-giveaways',
Expand Down

0 comments on commit b15d098

Please sign in to comment.