File tree Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -43,26 +43,16 @@ export interface EmojiURLOptionsNotWebp extends BaseImageURLOptions {
4343 */
4444export type EmojiURLOptions = EmojiURLOptionsNotWebp | EmojiURLOptionsWebp ;
4545
46- export interface BaseAnimatedImageURLOptions extends BaseImageURLOptions {
46+ /**
47+ * The options used for image URLs that may be animated.
48+ */
49+ export interface ImageURLOptions extends BaseImageURLOptions {
4750 /**
4851 * Whether to prefer the static asset.
4952 */
5053 forceStatic ?: boolean ;
5154}
5255
53- export interface ImageURLOptionsWebp extends BaseAnimatedImageURLOptions {
54- extension ?: 'webp' ;
55- }
56-
57- export interface ImageURLOptionsNotWebp extends BaseAnimatedImageURLOptions {
58- extension : Exclude < ImageExtension , 'webp' > ;
59- }
60-
61- /**
62- * The options used for image URLs that may be animated.
63- */
64- export type ImageURLOptions = ImageURLOptionsNotWebp | ImageURLOptionsWebp ;
65-
6656/**
6757 * The options to use when making a CDN URL
6858 */
You can’t perform that action at this time.
0 commit comments