From 75186d91e827636666c1ac536126413f53e439ac Mon Sep 17 00:00:00 2001 From: sv-du <52849920+sv-du@users.noreply.github.com> Date: Sat, 17 Aug 2024 08:39:50 -0700 Subject: [PATCH] Add getAuthenticatedUser typing to make TS happy (#825) --- 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. */