Skip to content

Commit

Permalink
Allow expiresIn to be a string
Browse files Browse the repository at this point in the history
  • Loading branch information
felixmosh authored Sep 18, 2023
1 parent 55f78b9 commit 909b18a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export interface JwtHeader {
export interface SignerOptions {
algorithm?: Algorithm
mutatePayload?: boolean
expiresIn?: number
expiresIn?: number | string
notBefore?: number
jti?: string
aud?: string | string[]
Expand Down

0 comments on commit 909b18a

Please sign in to comment.