Skip to content

Commit

Permalink
chore: remove TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
suneettipirneni committed Jan 26, 2022
1 parent 571dc0d commit 0169000
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion packages/discord.js/src/structures/GuildScheduledEvent.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ class GuildScheduledEvent extends Base {
this.image = data.image ?? null;
}

// TODO: Update for /rest merge if needed.
/**
* The URL of this scheduled event's cover image
* @param {BaseMakeURLOptions} [options={}] Options for image URL
Expand Down
5 changes: 2 additions & 3 deletions packages/discord.js/typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import {
userMention,
} from '@discordjs/builders';
import { Collection } from '@discordjs/collection';
import { ImageURLOptions, RawFile, REST, RESTOptions } from '@discordjs/rest';
import { BaseImageURLOptions, ImageURLOptions, RawFile, REST, RESTOptions } from '@discordjs/rest';
import {
APIActionRowComponent,
APIApplicationCommand,
Expand Down Expand Up @@ -1161,8 +1161,7 @@ export class GuildScheduledEvent<S extends GuildScheduledEventStatus = GuildSche
public readonly guild: Guild | null;
public readonly url: string;
public readonly image: string | null;
// TODO: Update for /rest merge if needed
public coverImageURL(options?: unknown): string | null;
public coverImageURL(options?: Readonly<BaseImageURLOptions>): string | null;
public createInviteURL(options?: CreateGuildScheduledEventInviteURLOptions): Promise<string>;
public edit<T extends GuildScheduledEventSetStatusArg<S>>(
options: GuildScheduledEventEditOptions<S, T>,
Expand Down

0 comments on commit 0169000

Please sign in to comment.