types(ImageURLOptions): allow 'gif' format (#6342)

Co-authored-by: Antonio Román <kyradiscord@gmail.com>
This commit is contained in:
Almeida
2021-08-08 17:36:16 +01:00
committed by GitHub
parent 47d2ef3e40
commit 5f1def3793

3
typings/index.d.ts vendored
View File

@@ -3793,8 +3793,9 @@ export interface HTTPOptions {
headers?: Record<string, string>;
}
export interface ImageURLOptions extends StaticImageURLOptions {
export interface ImageURLOptions extends Omit<StaticImageURLOptions, 'format'> {
dynamic?: boolean;
format?: DynamicImageFormat;
}
export interface IntegrationAccount {