You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I can partially use types from @types/sharp 0.27.0 package e.g. for resize object.
But it does not feel right, I still have to experiment or look into the SIH source code to make a correct request.
Describe the feature you'd like
Implement full TS types for image request and export so that it would be available for use in Typescript projects.
Is your feature request related to a problem? Please describe.
Hello,
there is still no typing for
edits
property, I meantype ImageEdits = Record<string, any>
is still a plain object with no typing...Ref: https://github.com/aws-solutions/serverless-image-handler/blob/main/source/image-handler/lib/types.ts
Currently I can partially use types from
@types/sharp 0.27.0
package e.g. forresize
object.But it does not feel right, I still have to experiment or look into the SIH source code to make a correct request.
Describe the feature you'd like
Implement full TS types for image request and export so that it would be available for use in Typescript projects.
Additional context
Related to #293
The text was updated successfully, but these errors were encountered: