Closed tibohei closed 1 year ago
This repo isn't actively maintained anymore, but I just updated it to modernise it a bit (https://github.com/unitedwardrobe/imgproxy-node/commit/d3bbd168b763dfa7de29784c848785723a8cdbc6). I'm not a maintainer of the NPM repository, but I've asked for it to be deployed. This would include this change as well.
review all other type definitions and compare with current imgproxy API definition
Didn't have time to do this, but feel free to create a PR.
The typescript type
ResizingType
does not match current imgproxy API definition. This should be corrected.Expected Behavior
Typescript types should align with imgproxy API interface
Current Behavior
This library defines
ResizingType
asThe most recent imageproxy API documentation defines
resizing_type
asPossible Solution
src/types.ts