From ded738287cb48d0f28ff7d5bbff8a1c9c7806fe5 Mon Sep 17 00:00:00 2001 From: reslear Date: Tue, 1 Oct 2024 23:46:35 +0200 Subject: [PATCH] fix: correct type def `tokenResponse` Signed-off-by: reslear --- src/@types/globals.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/@types/globals.ts b/src/@types/globals.ts index e299643..552de2b 100644 --- a/src/@types/globals.ts +++ b/src/@types/globals.ts @@ -42,12 +42,12 @@ declare global { }; initCodeClient: (config: CodeClientConfig) => CodeClient; hasGrantedAnyScope: ( - tokenRsponse: TokenResponse, + tokenResponse: TokenResponse, firstScope: string, ...restScopes: string[] ) => boolean; hasGrantedAllScopes: ( - tokenRsponse: TokenResponse, + tokenResponse: TokenResponse, firstScope: string, ...restScopes: string[] ) => boolean;