diff --git a/types/jwt.d.ts b/types/jwt.d.ts index c16ae59..9e5670d 100644 --- a/types/jwt.d.ts +++ b/types/jwt.d.ts @@ -121,13 +121,13 @@ declare namespace fastifyJwt { export interface SignOptions extends Omit { expiresIn: number | string; notBefore: number | string; - key: string | Buffer + key?: string | Buffer } export interface VerifyOptions extends Omit { maxAge: number | string; onlyCookie: boolean; - key: string | Buffer + key?: string | Buffer } export interface FastifyJWTOptions {