Skip to content

Commit

Permalink
Merge pull request #166 from kpanic/fix-jwe-compact-spec
Browse files Browse the repository at this point in the history
Fix JOSE.JWE.compact/1 @SPEC
  • Loading branch information
potatosalad authored Apr 17, 2024
2 parents cba5fce + 2c9631e commit bd96bde
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 bd96bde

Please sign in to comment.