From 3c492317b2a1866c6ed79881522494dab96a25c0 Mon Sep 17 00:00:00 2001 From: sv-du <52849920+sv-du@users.noreply.github.com> Date: Fri, 16 Aug 2024 21:56:19 -0700 Subject: [PATCH] Add getAuthenticatedUser typing to make TS happy --- typings/index.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/typings/index.d.ts b/typings/index.d.ts index 10652c4c4..5f12970f8 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -2186,6 +2186,11 @@ declare module "noblox.js" { */ function getAction(row: string): AuditItem; + /** + * 🔐 Get the current authenticated user. + */ + function getAuthenticatedUser(jar?: CookieJar): Promise + /** * 🔐 Gets the current user logged into `jar` and returns an `option` if specified or all options if not. */