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

This commit is contained in:
Shogo Sensui 2019-07-23 04:29:13 +09:00 committed by Wesley Wigham
parent d142fa9f9d
commit ec42b2190e

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>;
}