Open hyoretsu opened 4 years ago
If export = imagemin;
is inside of declare module 'imagemin-overwrite'
the file now works and types error goes away, (same for simply writing declare module 'imagemin-overwrite';
) but there's no auto import. If you leave it outside it doesn't work anymore but you're able to auto import, although from custom @types folder.
It throws up a type definition error when importing module. Tried tweaking imagemin's @types/imagemin, but it didn't work.
Also ty for this fork, dunno why this isn't even an option on imagemin.