mirror of
https://github.com/discordjs/discord-api-types.git
synced 2026-06-01 00:10:09 +00:00
fix: change resolved index types to string (#169)
This commit is contained in:
@@ -114,10 +114,10 @@ export interface APIApplicationCommandInteractionData {
|
||||
name: string;
|
||||
options?: APIApplicationCommandInteractionDataOption[];
|
||||
resolved?: {
|
||||
users?: Record<Snowflake, APIUser>;
|
||||
roles?: Record<Snowflake, APIRole>;
|
||||
members?: Record<Snowflake, APIInteractionDataResolvedGuildMember>;
|
||||
channels?: Record<Snowflake, APIInteractionDataResolvedChannel>;
|
||||
users?: Record<string, APIUser>;
|
||||
roles?: Record<string, APIRole>;
|
||||
members?: Record<string, APIInteractionDataResolvedGuildMember>;
|
||||
channels?: Record<string, APIInteractionDataResolvedChannel>;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -114,10 +114,10 @@ export interface APIApplicationCommandInteractionData {
|
||||
name: string;
|
||||
options?: APIApplicationCommandInteractionDataOption[];
|
||||
resolved?: {
|
||||
users?: Record<Snowflake, APIUser>;
|
||||
roles?: Record<Snowflake, APIRole>;
|
||||
members?: Record<Snowflake, APIInteractionDataResolvedGuildMember>;
|
||||
channels?: Record<Snowflake, APIInteractionDataResolvedChannel>;
|
||||
users?: Record<string, APIUser>;
|
||||
roles?: Record<string, APIRole>;
|
||||
members?: Record<string, APIInteractionDataResolvedGuildMember>;
|
||||
channels?: Record<string, APIInteractionDataResolvedChannel>;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -114,10 +114,10 @@ export interface APIApplicationCommandInteractionData {
|
||||
name: string;
|
||||
options?: APIApplicationCommandInteractionDataOption[];
|
||||
resolved?: {
|
||||
users?: Record<Snowflake, APIUser>;
|
||||
roles?: Record<Snowflake, APIRole>;
|
||||
members?: Record<Snowflake, APIInteractionDataResolvedGuildMember>;
|
||||
channels?: Record<Snowflake, APIInteractionDataResolvedChannel>;
|
||||
users?: Record<string, APIUser>;
|
||||
roles?: Record<string, APIRole>;
|
||||
members?: Record<string, APIInteractionDataResolvedGuildMember>;
|
||||
channels?: Record<string, APIInteractionDataResolvedChannel>;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -114,10 +114,10 @@ export interface APIApplicationCommandInteractionData {
|
||||
name: string;
|
||||
options?: APIApplicationCommandInteractionDataOption[];
|
||||
resolved?: {
|
||||
users?: Record<Snowflake, APIUser>;
|
||||
roles?: Record<Snowflake, APIRole>;
|
||||
members?: Record<Snowflake, APIInteractionDataResolvedGuildMember>;
|
||||
channels?: Record<Snowflake, APIInteractionDataResolvedChannel>;
|
||||
users?: Record<string, APIUser>;
|
||||
roles?: Record<string, APIRole>;
|
||||
members?: Record<string, APIInteractionDataResolvedGuildMember>;
|
||||
channels?: Record<string, APIInteractionDataResolvedChannel>;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user