Skip to content

Commit

Permalink
fix(typescript): allow Buffer when verifying detached signature
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Sep 8, 2020
1 parent 4c23bd6 commit cadbd04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ export namespace JWKS {

export namespace JWS {
interface JWSJSON {
payload: string;
payload: string | Buffer;
}

interface JWSRecipient {
Expand Down

0 comments on commit cadbd04

Please sign in to comment.