Pleroma.Emoji: dialyzer error

lib/pleroma/emoji.ex:54:unknown_type
Unknown type: Emoji.t/0.
This commit is contained in:
Mark Felder 2024-01-27 14:00:17 -05:00
parent 948d5a93a0
commit 9f357d88c2
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ def reload do
end end
@doc "Returns the path of the emoji `name`." @doc "Returns the path of the emoji `name`."
@spec get(String.t()) :: Emoji.t() | nil @spec get(String.t()) :: Pleroma.Emoji.t() | nil
def get(name) do def get(name) do
name = maybe_strip_name(name) name = maybe_strip_name(name)