fix(Typings): type attachments to InteractionUpdateOptions (#6162)

* fix(Typings): type attachments with never

* Update typings/index.d.ts

Co-authored-by: DTrombett <73136330+DTrombett@users.noreply.github.com>

* chore(Typings): fix

* chore(Typings): add fetchReply

Co-authored-by: DTrombett <73136330+DTrombett@users.noreply.github.com>
This commit is contained in:
Milo
2021-07-23 20:18:30 +01:00
committed by GitHub
parent 690c121aa9
commit 4f8ca2936a

4
typings/index.d.ts vendored
View File

@@ -3699,7 +3699,9 @@ export type InteractionResponseType = keyof typeof InteractionResponseTypes;
export type InteractionType = keyof typeof InteractionTypes;
export type InteractionUpdateOptions = Omit<InteractionReplyOptions, 'ephemeral'>;
export interface InteractionUpdateOptions extends MessageEditOptions {
fetchReply?: boolean;
}
export type IntentsString =
| 'GUILDS'