Fix invalid types

lib/pleroma/web/activity_pub/mrf/policy.ex:6:unknown_type
Unknown type: Map.t/0.

lib/pleroma/web/activity_pub/mrf/policy.ex:7:unknown_type
Unknown type: Map.t/0.
This commit is contained in:
Mark Felder 2024-01-20 17:31:07 -05:00
parent 2061a1d917
commit ec5ae83da6
1 changed files with 2 additions and 2 deletions

View File

@ -3,8 +3,8 @@
# SPDX-License-Identifier: AGPL-3.0-only # SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ActivityPub.MRF.Policy do defmodule Pleroma.Web.ActivityPub.MRF.Policy do
@callback filter(Map.t()) :: {:ok | :reject, Map.t()} @callback filter(map()) :: {:ok | :reject, map()}
@callback describe() :: {:ok | :error, Map.t()} @callback describe() :: {:ok | :error, map()}
@callback config_description() :: %{ @callback config_description() :: %{
optional(:children) => [map()], optional(:children) => [map()],
key: atom(), key: atom(),