diff --git a/deno/rest/v8/channel.ts b/deno/rest/v8/channel.ts index b8272ca3..80c6a092 100644 --- a/deno/rest/v8/channel.ts +++ b/deno/rest/v8/channel.ts @@ -217,7 +217,7 @@ export interface RESTPostAPIChannelMessageJSONBody { /** * Attachment objects with filename and description */ - attachments?: Pick & Partial>[]; + attachments?: (Pick & Partial>)[]; } /** diff --git a/deno/rest/v8/webhook.ts b/deno/rest/v8/webhook.ts index c385635a..61016d50 100644 --- a/deno/rest/v8/webhook.ts +++ b/deno/rest/v8/webhook.ts @@ -138,7 +138,7 @@ export interface RESTPostAPIWebhookWithTokenJSONBody { /** * Attachment objects with filename and description */ - attachments?: Pick & Partial>[]; + attachments?: (Pick & Partial>)[]; } /** diff --git a/deno/rest/v9/channel.ts b/deno/rest/v9/channel.ts index aa57a5d3..a88bbdd6 100644 --- a/deno/rest/v9/channel.ts +++ b/deno/rest/v9/channel.ts @@ -251,7 +251,7 @@ export interface RESTPostAPIChannelMessageJSONBody { /** * Attachment objects with filename and description */ - attachments?: Pick & Partial>[]; + attachments?: (Pick & Partial>)[]; } /** diff --git a/deno/rest/v9/webhook.ts b/deno/rest/v9/webhook.ts index 2f508e96..0b73eb9f 100644 --- a/deno/rest/v9/webhook.ts +++ b/deno/rest/v9/webhook.ts @@ -138,7 +138,7 @@ export interface RESTPostAPIWebhookWithTokenJSONBody { /** * Attachment objects with filename and description */ - attachments?: Pick & Partial>[]; + attachments?: (Pick & Partial>)[]; } /** diff --git a/rest/v8/channel.ts b/rest/v8/channel.ts index 69f769a2..1eba17a7 100644 --- a/rest/v8/channel.ts +++ b/rest/v8/channel.ts @@ -217,7 +217,7 @@ export interface RESTPostAPIChannelMessageJSONBody { /** * Attachment objects with filename and description */ - attachments?: Pick & Partial>[]; + attachments?: (Pick & Partial>)[]; } /** diff --git a/rest/v8/webhook.ts b/rest/v8/webhook.ts index 4748ce56..5169f6e3 100644 --- a/rest/v8/webhook.ts +++ b/rest/v8/webhook.ts @@ -138,7 +138,7 @@ export interface RESTPostAPIWebhookWithTokenJSONBody { /** * Attachment objects with filename and description */ - attachments?: Pick & Partial>[]; + attachments?: (Pick & Partial>)[]; } /** diff --git a/rest/v9/channel.ts b/rest/v9/channel.ts index 12889d25..744d172f 100644 --- a/rest/v9/channel.ts +++ b/rest/v9/channel.ts @@ -251,7 +251,7 @@ export interface RESTPostAPIChannelMessageJSONBody { /** * Attachment objects with filename and description */ - attachments?: Pick & Partial>[]; + attachments?: (Pick & Partial>)[]; } /** diff --git a/rest/v9/webhook.ts b/rest/v9/webhook.ts index 6befc6bf..e63c48db 100644 --- a/rest/v9/webhook.ts +++ b/rest/v9/webhook.ts @@ -138,7 +138,7 @@ export interface RESTPostAPIWebhookWithTokenJSONBody { /** * Attachment objects with filename and description */ - attachments?: Pick & Partial>[]; + attachments?: (Pick & Partial>)[]; } /**