Skip to content
Snippets Groups Projects
Commit e8eff9fe authored by Maxim Filippov's avatar Maxim Filippov :new_moon_with_face:
Browse files

Fix Elixir 1.8 type annotation issue

parent f20bfc9e
Branches
No related tags found
No related merge requests found
......@@ -34,8 +34,9 @@ defmodule Pleroma.Upload do
require Logger
@type source ::
Plug.Upload.t() | data_uri_string ::
String.t() | {:from_local, name :: String.t(), id :: String.t(), path :: String.t()}
Plug.Upload.t()
| (data_uri_string :: String.t())
| {:from_local, name :: String.t(), id :: String.t(), path :: String.t()}
@type option ::
{:type, :avatar | :banner | :background}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment