Files
svg-iconset/src/config.d.ts
Konstantin Vulsonov 103da83d24 done with MVP version
2018-09-19 00:11:51 +03:00

32 lines
473 B
TypeScript

declare type SVGOConfig = [
{
removeAttrs: {
attrs: string
}
},
{
removeViewBox: boolean
}
]
export interface SvgOptimizeConfig {
attrs?: string;
removeViewBox?: boolean
}
export interface SVGOResponse {
data: string;
info: { [propname: string]: string }
}
export interface OptimizedResponse {
id: string;
optimized: SVGOResponse
}
export interface MainConfig {
source: string;
result: string;
optimize?: SvgOptimizeConfig
}