feat: add Config() function interface (#37022)

This commit is contained in:
Shogo Sensui
2019-07-22 12:29:13 -07:00
committed by Wesley Wigham
parent d142fa9f9d
commit ec42b2190e
+2 -1
View File
@@ -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<OptimizedSvg>;
}