diff --git a/index.d.ts b/index.d.ts index 073eb3c..4ead396 100644 --- a/index.d.ts +++ b/index.d.ts @@ -307,7 +307,7 @@ interface JwtPackage { * @param claims data object * @param options options (secret, validityDuration = expiry in X seconds) */ - jwtCreate( + create( claims: { [key: string]: any }, @@ -323,7 +323,7 @@ interface JwtPackage { * @param token token string * @param options options (secret) */ - jwtParse( + parse( token: string, options?: { secret?: string