Skip to content

Commit

Permalink
fix: Wrong type for ImageCropData.resizeMode (typescript typings) (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
guhungry authored and Trancever committed Mar 13, 2019
1 parent 8a9747c commit 45b4b23
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,7 @@ export type ImageCropData = {
* (Optional) the resizing mode to use when scaling the image. If the
* `displaySize` param is not specified, this has no effect.
*/
resizeMode?: $Maybe<{
contain: string,
cover: string,
stretch: string,
}>,
resizeMode?: $Maybe<"contain" | "cover" | "stretch">,
};

declare class ImageEditor {
Expand Down

0 comments on commit 45b4b23

Please sign in to comment.