Skip to content

Commit

Permalink
Fix JOSE.JWE.compact/1 @SPEC
Browse files Browse the repository at this point in the history
  • Loading branch information
kpanic committed Apr 12, 2024
1 parent cba5fce commit 2c9631e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jose/jwe.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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 """
Expand Down

0 comments on commit 2c9631e

Please sign in to comment.