marlokessler / strapi-plugin-image-optimizer

Optimize your images for desktop, tablet and mobile and different image formats.
MIT License
14 stars 10 forks source link

fix: typing and add additional docs #16

Closed JosefBredereck closed 1 year ago

JosefBredereck commented 1 year ago

Since in the docs it is stated that

| sizes* | ImageSize[] | (required) - Specify the sizes to which the uploaded image should be

it should be reflected in the type definition.

Also added information about type safety in plugins.ts

marlokessler commented 1 year ago

@all-contributors please add @JosefBredereck for code and doc.

allcontributors[bot] commented 1 year ago

@marlokessler

I've put up a pull request to add @JosefBredereck! :tada: