Describe the bug
I'm using 4.0.0-rc.1 to get around a bug in v3, but types are missing for the optimize function. I'm currently working around it by doing
// @ts-expect-error
import { optimize } from 'svgo'
but it'd be nice to have types here!
To Reproduce
Steps to reproduce the behavior:
install svgo@4.0.0-rc.1 in a typescript project
try to do import { optimize } from 'svgo'
notice typescript complains
Expected behavior
I'd expect types to exist for svgo's core function.
Screenshots
Desktop (please complete the following information):
Describe the bug I'm using 4.0.0-rc.1 to get around a bug in v3, but types are missing for the
optimize
function. I'm currently working around it by doingbut it'd be nice to have types here!
To Reproduce Steps to reproduce the behavior:
svgo@4.0.0-rc.1
in a typescript projectimport { optimize } from 'svgo'
Expected behavior I'd expect types to exist for svgo's core function.
Screenshots
Desktop (please complete the following information):