Closed aradalvand closed 2 years ago
The type of the svgoConfig option is currently just Object, which doesn't provide proper type-safety for those who are using TypeScript, I changed the type to SVGO's OptimizeOptions.
svgoConfig
Object
OptimizeOptions
Thanks!
svgo does not include any types, should this project have @types/svgo as a dev dependency as well?
svgo
@types/svgo
The type of the
svgoConfig
option is currently justObject
, which doesn't provide proper type-safety for those who are using TypeScript, I changed the type to SVGO'sOptimizeOptions
.