From b0806cf7c8d05613e0aaed04883e1b580b2fd18a Mon Sep 17 00:00:00 2001 From: Luis Ball Date: Thu, 22 Jul 2021 10:27:28 -0400 Subject: [PATCH] fix: add missing types to _buildSrcSet --- types/index.d.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index 1565703e..ad4752d6 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -16,7 +16,12 @@ declare class ImgixClient { _sanitizePath(path: string): string; _buildParams(params: {}): string; _signParams(path: string, queryParams?: {}): string; - static _buildSrcSet(path: string, params?: {}, options?: {}): string; + static _buildSrcSet( + path: string, + params?: {}, + srcSetOptions?: {}, + clientOptions?: {}, + ): string; buildSrcSet(path: string, params?: {}, options?: SrcSetOptions): string; _buildSrcSetPairs(path: string, params?: {}, options?: SrcSetOptions): string; _buildDPRSrcSet(path: string, params?: {}, options?: SrcSetOptions): string;