commit: 559aeb5dd0cb66e57fedce9ea20eff505786d0cb
parent 8ed506a370f0b4a7743353cd3c96c9dacd290765
Author: Mark Felder <feld@feld.me>
Date: Sat, 20 Jan 2024 17:08:18 -0500
Add missing type Pleroma.Emoji.t()
lib/pleroma/emoji/loader.ex:23:unknown_type
Unknown type: Pleroma.Emoji.t/0.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/lib/pleroma/emoji.ex b/lib/pleroma/emoji.ex
@@ -24,6 +24,8 @@ defmodule Pleroma.Emoji do
defstruct [:code, :file, :tags, :safe_code, :safe_file]
+ @type t :: %__MODULE__{}
+
@doc "Build emoji struct"
def build({code, file, tags}) do
%__MODULE__{