Skip to content

Commit

Permalink
Merge pull request #14 from ShreyanJain9/patch-1
Browse files Browse the repository at this point in the history
@type t() for Infer.Type should be a struct
  • Loading branch information
daskycodes authored Apr 9, 2024
2 parents 747bcac + 0f42c33 commit fbd0dde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/infer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ defmodule Infer do
@type mime_type() :: binary()
@type extension() :: binary()
@type matcher_fun() :: (binary() -> boolean())
@type t() :: %{matcher_type: matcher_type(), mime_type: mime_type(), extension: extension(), matcher: matcher_fun()}
@type t() :: %__MODULE__{matcher_type: matcher_type(), mime_type: mime_type(), extension: extension(), matcher: matcher_fun()}
end

# Load matchers on compilation
Expand Down

0 comments on commit fbd0dde

Please sign in to comment.