From 1abe3f3d723ea34ccc6b123bc5dd8e697216676e Mon Sep 17 00:00:00 2001 From: Antonio Date: Sat, 28 Dec 2024 12:27:50 -0300 Subject: [PATCH] chore: typespec add tuple of a module and an atom as action --- lib/bodyguard/policy.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bodyguard/policy.ex b/lib/bodyguard/policy.ex index 283e780..e0d70ee 100644 --- a/lib/bodyguard/policy.ex +++ b/lib/bodyguard/policy.ex @@ -37,7 +37,7 @@ defmodule Bodyguard.Policy do """ - @type action :: atom | String.t() + @type action :: atom | String.t() | {module(), atom()} @type auth_result :: :ok | :error | {:error, reason :: any} | true | false @doc """