Skip to content

Commit

Permalink
fix(Client): update authorizeURL return type to include location
Browse files Browse the repository at this point in the history
  • Loading branch information
aiko-chan-ai committed Jan 21, 2025
1 parent 8afd17d commit 171d7e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ export class Client<Ready extends boolean = boolean> extends BaseClient {
options?: AcceptInviteOptions,
): Promise<Guild | DMChannel | GroupDMChannel>;
public redeemNitro(nitro: string, channel?: TextChannelResolvable, paymentSourceId?: Snowflake): Promise<any>;
public authorizeURL(urlOAuth2: string, options?: OAuth2AuthorizeOptions): Promise<any>;
public authorizeURL(urlOAuth2: string, options?: OAuth2AuthorizeOptions): Promise<{ location: string }>;
public installUserApps(applicationId: Snowflake): Promise<void>;
public deauthorize(applicationId: Snowflake): Promise<void>;

Expand Down

0 comments on commit 171d7e5

Please sign in to comment.