From ec42b2190ed4106566e77a73fcc50f82dc576f2a Mon Sep 17 00:00:00 2001 From: Shogo Sensui Date: Tue, 23 Jul 2019 04:29:13 +0900 Subject: [PATCH] feat: add Config() function interface (#37022) --- types/svgo/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/svgo/index.d.ts b/types/svgo/index.d.ts index 8409bdc535..43eeff6654 100644 --- a/types/svgo/index.d.ts +++ b/types/svgo/index.d.ts @@ -205,7 +205,8 @@ interface OptimizedSvg { } declare class SVGO { - constructor(options?: SVGO.Options); + static Config(config?: SVGO.Options): SVGO.Options; + constructor(config?: SVGO.Options); optimize(svgString: string, info?: SvgInfo): Promise; }