From 2c9631e0099fef078b0dfb1e9793b8233ad2ddbc Mon Sep 17 00:00:00 2001 From: Marco Milanesi Date: Fri, 12 Apr 2024 16:02:16 +0200 Subject: [PATCH] Fix JOSE.JWE.compact/1 @spec --- lib/jose/jwe.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jose/jwe.ex b/lib/jose/jwe.ex index f30b92c..79bfcc5 100644 --- a/lib/jose/jwe.ex +++ b/lib/jose/jwe.ex @@ -587,7 +587,7 @@ defmodule JOSE.JWE do See `expand/1`. """ - @spec compact(map()) :: {map(), binary()} + @spec compact(map() | {map(), map()}) :: {map(), binary()} defdelegate compact(encrypted), to: :jose_jwe @doc """