Skip to content

Commit d0a535e

Browse files
committed
fix(guild): fix incorrectly-detected deprecated overload
1 parent 8124fc6 commit d0a535e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/api/guild.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export class GuildsAPI {
115115
* @param options - The options for fetching the guild
116116
* @deprecated Use the overload with a query instead.
117117
*/
118-
public async get(guildId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIGuildResult>;
118+
public async get(guildId: Snowflake, { signal }: Pick<RequestData, 'signal'>): Promise<RESTGetAPIGuildResult>;
119119

120120
/**
121121
* Fetches a guild

0 commit comments

Comments
 (0)