From 921c47c34ceaf323fb91e099903488c2acba96c4 Mon Sep 17 00:00:00 2001 From: frederikprijck Date: Thu, 27 Jul 2023 22:34:37 +0200 Subject: [PATCH] chore: bring back JwtPayload generic in TypeScript sample --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b10c74b..5f8e12c 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ You can extend both `JwtHeader` and `JwtPayload` to include non-standard claims import jwtDecode from "jwt-decode"; const token: string = "eyJhsw5c"; -const decoded = jwtDecode(token); // Returns with the JwtPayload type +const decoded = jwtDecode(token); // Returns with the JwtPayload type ``` #### Use as a CommonJS package