Skip to content

Commit

Permalink
Use generic string type keys for eager_transformations type
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementineOldfield committed Jul 24, 2020
1 parent ea6b3c2 commit fc0fea8
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions lib/cloudex/uploaded_image.ex
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,7 @@ defmodule Cloudex.UploadedImage do
}

@type eager_transformations :: list(%{
:bytes => non_neg_integer,
:format => String.t(),
:height => non_neg_integer,
:secure_url => String.t(),
:transformation => String.t(),
:url => String.t(),
:width => non_neg_integer
String.t() => String.t()
})

defstruct bytes: nil,
Expand Down

0 comments on commit fc0fea8

Please sign in to comment.