Skip to content

Commit

Permalink
Add getAuthenticatedUser typing to make TS happy (#825)
Browse files Browse the repository at this point in the history
  • Loading branch information
sv-du authored Aug 17, 2024
1 parent 84d38b7 commit 75186d9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2186,6 +2186,11 @@ declare module "noblox.js" {
*/
function getAction(row: string): AuditItem;

/**
* 🔐 Get the current authenticated user.
*/
function getAuthenticatedUser(jar?: CookieJar): Promise<AuthenticatedUserData>

/**
* 🔐 Gets the current user logged into `jar` and returns an `option` if specified or all options if not.
*/
Expand Down

0 comments on commit 75186d9

Please sign in to comment.