From 1b3470e9f8ed90bf201a9ed2ce6a8b30177583c5 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Sun, 3 Nov 2024 12:36:30 +0000 Subject: [PATCH] style: remove trailing whitespace (#352) --- README.md | 4 ++-- types/jwt.d.ts | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c021906..84f8f83 100644 --- a/README.md +++ b/README.md @@ -507,7 +507,7 @@ To simplify the use of namespaces in TypeScript you can use the `FastifyJwtNames ```typescript declare module 'fastify' { - interface FastifyInstance extends + interface FastifyInstance extends FastifyJwtNamespace<{namespace: 'security'}> { } } @@ -517,7 +517,7 @@ Alternatively you can type each key explicitly: ```typescript declare module 'fastify' { - interface FastifyInstance extends + interface FastifyInstance extends FastifyJwtNamespace<{ jwtDecode: 'securityJwtDecode', jwtSign: 'securityJwtSign', diff --git a/types/jwt.d.ts b/types/jwt.d.ts index 9e5670d..3590e9c 100644 --- a/types/jwt.d.ts +++ b/types/jwt.d.ts @@ -50,21 +50,21 @@ declare namespace fastifyJwt { }> = Record & Record & Record