From 171d7e592794194dbeac821c0974a7912fdf0e50 Mon Sep 17 00:00:00 2001 From: Elysia <71698422+aiko-chan-ai@users.noreply.github.com> Date: Tue, 21 Jan 2025 14:09:28 +0700 Subject: [PATCH] fix(Client): update authorizeURL return type to include location --- typings/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index dad6917..0d8b264 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -808,7 +808,7 @@ export class Client extends BaseClient { options?: AcceptInviteOptions, ): Promise; public redeemNitro(nitro: string, channel?: TextChannelResolvable, paymentSourceId?: Snowflake): Promise; - public authorizeURL(urlOAuth2: string, options?: OAuth2AuthorizeOptions): Promise; + public authorizeURL(urlOAuth2: string, options?: OAuth2AuthorizeOptions): Promise<{ location: string }>; public installUserApps(applicationId: Snowflake): Promise; public deauthorize(applicationId: Snowflake): Promise;