Skip to content

Commit 1b3470e

Browse files
authored
style: remove trailing whitespace (#352)
1 parent bf1e9bd commit 1b3470e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ To simplify the use of namespaces in TypeScript you can use the `FastifyJwtNames
507507

508508
```typescript
509509
declare module 'fastify' {
510-
interface FastifyInstance extends
510+
interface FastifyInstance extends
511511
FastifyJwtNamespace<{namespace: 'security'}> {
512512
}
513513
}
@@ -517,7 +517,7 @@ Alternatively you can type each key explicitly:
517517

518518
```typescript
519519
declare module 'fastify' {
520-
interface FastifyInstance extends
520+
interface FastifyInstance extends
521521
FastifyJwtNamespace<{
522522
jwtDecode: 'securityJwtDecode',
523523
jwtSign: 'securityJwtSign',

types/jwt.d.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,21 +50,21 @@ declare namespace fastifyJwt {
5050
}> =
5151
Record<C extends { jwtDecode: string}
5252
? C['jwtDecode']
53-
: C extends {namespace: string}
53+
: C extends {namespace: string}
5454
? `${C['namespace']}JwtDecode`
5555
: never,
5656
JWT['decode']>
5757
&
5858
Record<C extends { jwtSign: string}
5959
? C['jwtSign']
60-
: C extends {namespace: string}
60+
: C extends {namespace: string}
6161
? `${C['namespace']}JwtSign`
6262
: never,
6363
JWT['sign']>
6464
&
6565
Record<C extends { jwtVerify: string}
6666
? C['jwtVerify']
67-
: C extends {namespace: string}
67+
: C extends {namespace: string}
6868
? `${C['namespace']}JwtVerify`
6969
: never,
7070
JWT['verify']>

0 commit comments

Comments
 (0)