From 16cada9d012d697937cd211e0ff22f9083130e83 Mon Sep 17 00:00:00 2001 From: Joe Clack <28568841+Lordfirespeed@users.noreply.github.com> Date: Wed, 24 Jul 2024 10:20:11 +0100 Subject: [PATCH] fix(types): type declaration for `AuthenticateOptions.scope` --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 6bc4169..d2a705c 100644 --- a/index.d.ts +++ b/index.d.ts @@ -168,7 +168,7 @@ declare namespace OAuth2Server { /** * The scope(s) to authenticate. */ - scope?: string[] | undefined; + scope?: string | undefined; /** * Set the X-Accepted-OAuth-Scopes HTTP header on response objects.