mirror of
https://github.com/discordjs/discord-api-types.git
synced 2026-09-18 01:07:23 +00:00
fix(RESTPostAPIBaseApplicationCommandsJSONBody): omit version field (#195)
Co-authored-by: Keenser1 <36800359+Keenser1@users.noreply.github.com>
This commit is contained in:
@@ -27,7 +27,7 @@ export type RESTGetAPIApplicationCommandResult = APIApplicationCommand;
|
||||
|
||||
type RESTPostAPIBaseApplicationCommandsJSONBody = Omit<
|
||||
APIApplicationCommand,
|
||||
'id' | 'application_id' | 'description' | 'type'
|
||||
'id' | 'application_id' | 'description' | 'type' | 'version'
|
||||
>;
|
||||
|
||||
/**
|
||||
|
||||
@@ -27,7 +27,7 @@ export type RESTGetAPIApplicationCommandResult = APIApplicationCommand;
|
||||
|
||||
type RESTPostAPIBaseApplicationCommandsJSONBody = Omit<
|
||||
APIApplicationCommand,
|
||||
'id' | 'application_id' | 'description' | 'type'
|
||||
'id' | 'application_id' | 'description' | 'type' | 'version'
|
||||
>;
|
||||
|
||||
/**
|
||||
|
||||
@@ -27,7 +27,7 @@ export type RESTGetAPIApplicationCommandResult = APIApplicationCommand;
|
||||
|
||||
type RESTPostAPIBaseApplicationCommandsJSONBody = Omit<
|
||||
APIApplicationCommand,
|
||||
'id' | 'application_id' | 'description' | 'type'
|
||||
'id' | 'application_id' | 'description' | 'type' | 'version'
|
||||
>;
|
||||
|
||||
/**
|
||||
|
||||
@@ -27,7 +27,7 @@ export type RESTGetAPIApplicationCommandResult = APIApplicationCommand;
|
||||
|
||||
type RESTPostAPIBaseApplicationCommandsJSONBody = Omit<
|
||||
APIApplicationCommand,
|
||||
'id' | 'application_id' | 'description' | 'type'
|
||||
'id' | 'application_id' | 'description' | 'type' | 'version'
|
||||
>;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user