mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
feat: add Config() function interface (#37022)
This commit is contained in:
committed by
Wesley Wigham
parent
d142fa9f9d
commit
ec42b2190e
Vendored
+2
-1
@@ -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>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user