Skip to content

Commit

Permalink
fix: specify generic for InteractionHandler options
Browse files Browse the repository at this point in the history
  • Loading branch information
favna committed Jan 12, 2022
1 parent 506fd58 commit ca0318a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/structures/InteractionHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { Awaitable } from '@sapphire/utilities';
import type { Interaction } from 'discord.js';
import { some, Maybe, none, None, UnwrapMaybeValue } from '../parsers/Maybe';

export abstract class InteractionHandler extends Piece {
export abstract class InteractionHandler<O extends InteractionHandler.Options = InteractionHandler.Options> extends Piece<O> {
/**
* The type for this handler
* @since 3.0.0
Expand Down

0 comments on commit ca0318a

Please sign in to comment.