Skip to content

Commit

Permalink
add note about @types/jsonwebtoken in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jfromaniello committed May 2, 2022
1 parent 9d0f02d commit 03c8419
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,8 @@ app.use(

## Typescript

To get the full types of the parameters object install also `@types/jsonwebtoken`.

An `ExpressJwtRequest` type is provided which extends `express.Request` with the `auth` property.

```typescript
Expand Down

0 comments on commit 03c8419

Please sign in to comment.