From 9868772b6418d521650c3690dd5f5172e2a36d00 Mon Sep 17 00:00:00 2001 From: Qjuh <76154676+Qjuh@users.noreply.github.com> Date: Fri, 17 Nov 2023 21:44:39 +0100 Subject: [PATCH] docs: fix links in @deprecated tags (#9976) types: fix links in @deprecated tags --- packages/discord.js/typings/index.d.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/discord.js/typings/index.d.ts b/packages/discord.js/typings/index.d.ts index c62e7c86a..4967921b3 100644 --- a/packages/discord.js/typings/index.d.ts +++ b/packages/discord.js/typings/index.d.ts @@ -991,7 +991,7 @@ export class Client extends BaseClient { public fetchVoiceRegions(): Promise>; public fetchSticker(id: Snowflake): Promise; public fetchStickerPacks(): Promise>; - /** @deprecated Use {@link Client#fetchStickerPacks} instead. */ + /** @deprecated Use {@link Client.fetchStickerPacks} instead. */ public fetchPremiumStickerPacks(): ReturnType; public fetchWebhook(id: Snowflake, token?: string): Promise; public fetchGuildWidget(guild: GuildResolvable): Promise; @@ -1870,7 +1870,7 @@ export class BaseInteraction extends Base public isMessageContextMenuCommand(): this is MessageContextMenuCommandInteraction; public isModalSubmit(): this is ModalSubmitInteraction; public isUserContextMenuCommand(): this is UserContextMenuCommandInteraction; - /** @deprecated Use {@link BaseInteraction#isStringSelectMenu} instead. */ + /** @deprecated Use {@link BaseInteraction.isStringSelectMenu} instead. */ public isSelectMenu(): this is StringSelectMenuInteraction; public isAnySelectMenu(): this is AnySelectMenuInteraction; public isStringSelectMenu(): this is StringSelectMenuInteraction; @@ -3065,7 +3065,7 @@ export class TeamMember extends Base { private constructor(team: Team, data: RawTeamMemberData); public team: Team; public get id(): Snowflake; - /** @deprecated Use {@link TeamMember#role} instead. */ + /** @deprecated Use {@link TeamMember.role} instead. */ public permissions: string[]; public membershipState: TeamMemberMembershipState; public user: User; @@ -4801,7 +4801,7 @@ export interface AwaitReactionsOptions extends ReactionCollectorOptions { } export interface BanOptions { - /** @deprecated Use {@link BanOptions#deleteMessageSeconds} instead. */ + /** @deprecated Use {@link BanOptions.deleteMessageSeconds} instead. */ deleteMessageDays?: number; deleteMessageSeconds?: number; reason?: string; @@ -5001,7 +5001,7 @@ export interface ClientEvents { typingStart: [typing: Typing]; userUpdate: [oldUser: User | PartialUser, newUser: User]; voiceStateUpdate: [oldState: VoiceState, newState: VoiceState]; - /** @deprecated Use {@link ClientEvents#webhooksUpdate} instead. */ + /** @deprecated Use {@link ClientEvents.webhooksUpdate} instead. */ webhookUpdate: ClientEvents['webhooksUpdate']; webhooksUpdate: [channel: TextChannel | NewsChannel | VoiceChannel | ForumChannel | MediaChannel]; interactionCreate: [interaction: Interaction];