fix(Client): update authorizeURL return type to include location
This commit is contained in:
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -808,7 +808,7 @@ export class Client<Ready extends boolean = boolean> extends BaseClient {
|
|||||||
options?: AcceptInviteOptions,
|
options?: AcceptInviteOptions,
|
||||||
): Promise<Guild | DMChannel | GroupDMChannel>;
|
): Promise<Guild | DMChannel | GroupDMChannel>;
|
||||||
public redeemNitro(nitro: string, channel?: TextChannelResolvable, paymentSourceId?: Snowflake): Promise<any>;
|
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 installUserApps(applicationId: Snowflake): Promise<void>;
|
||||||
public deauthorize(applicationId: Snowflake): Promise<void>;
|
public deauthorize(applicationId: Snowflake): Promise<void>;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user