mirror of
https://github.com/discordjs/discord-api-types.git
synced 2026-05-30 23:40:09 +00:00
fix: correct types for autocomplete interaction data (#234)
BREAKING CHANGE: The types for autocomplete interactions have been corrected.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import type { APIApplicationCommandInteractionData, APIBaseInteraction, InteractionType } from '../mod.ts';
|
||||
import type { APIBaseInteraction, APIChatInputApplicationCommandInteractionData, InteractionType } from '../mod.ts';
|
||||
|
||||
export type APIApplicationCommandAutocompleteInteraction = APIBaseInteraction<
|
||||
InteractionType.ApplicationCommandAutocomplete,
|
||||
APIApplicationCommandInteractionData
|
||||
APIChatInputApplicationCommandInteractionData
|
||||
>;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { APIApplicationCommandInteractionData, APIBaseInteraction, InteractionType } from '../mod.ts';
|
||||
import type { APIBaseInteraction, APIChatInputApplicationCommandInteractionData, InteractionType } from '../mod.ts';
|
||||
|
||||
export type APIApplicationCommandAutocompleteInteraction = APIBaseInteraction<
|
||||
InteractionType.ApplicationCommandAutocomplete,
|
||||
APIApplicationCommandInteractionData
|
||||
APIChatInputApplicationCommandInteractionData
|
||||
>;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { APIApplicationCommandInteractionData, APIBaseInteraction, InteractionType } from '../index';
|
||||
import type { APIBaseInteraction, APIChatInputApplicationCommandInteractionData, InteractionType } from '../index';
|
||||
|
||||
export type APIApplicationCommandAutocompleteInteraction = APIBaseInteraction<
|
||||
InteractionType.ApplicationCommandAutocomplete,
|
||||
APIApplicationCommandInteractionData
|
||||
APIChatInputApplicationCommandInteractionData
|
||||
>;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { APIApplicationCommandInteractionData, APIBaseInteraction, InteractionType } from '../index';
|
||||
import type { APIBaseInteraction, APIChatInputApplicationCommandInteractionData, InteractionType } from '../index';
|
||||
|
||||
export type APIApplicationCommandAutocompleteInteraction = APIBaseInteraction<
|
||||
InteractionType.ApplicationCommandAutocomplete,
|
||||
APIApplicationCommandInteractionData
|
||||
APIChatInputApplicationCommandInteractionData
|
||||
>;
|
||||
|
||||
Reference in New Issue
Block a user