Skip to content

Commit

Permalink
types(ModalBuilder): fix constructor typings (#8690)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
almeidx and kodiakhq[bot] committed Oct 1, 2022
1 parent f063625 commit 2ea2a85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/discord.js/typings/index.d.ts
Expand Up @@ -621,7 +621,7 @@ export class SelectMenuOptionBuilder extends BuildersSelectMenuOption {
}

export class ModalBuilder extends BuildersModal {
public constructor(data?: Partial<ModalComponentData> | Partial<APIModalComponent>);
public constructor(data?: Partial<ModalComponentData> | Partial<APIModalInteractionResponseCallbackData>);
public static from(other: JSONEncodable<APIModalComponent> | APIModalComponent): ModalBuilder;
}

Expand Down

0 comments on commit 2ea2a85

Please sign in to comment.