Skip to content

Commit

Permalink
@type t() for Infer.Type should be a struct
Browse files Browse the repository at this point in the history
  • Loading branch information
ShreyanJain9 authored Apr 8, 2024
1 parent 747bcac commit 0f42c33
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 0f42c33

Please sign in to comment.