From f9ffdd5337dbe807b1fb77e85d0d5bc1db985542 Mon Sep 17 00:00:00 2001 From: Florian Becker Date: Thu, 12 Jun 2025 11:20:51 +0200 Subject: [PATCH] added proper typing to requireClientAuthentication in Server Options --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index bb1396c..5b85609 100644 --- a/index.d.ts +++ b/index.d.ts @@ -222,7 +222,7 @@ declare namespace OAuth2Server { /** * Require a client secret. Defaults to true for all grant types. */ - requireClientAuthentication?: {}; + requireClientAuthentication?: Record; /** * Always revoke the used refresh token and issue a new one for the refresh_token grant.