Skip to content

Commit

Permalink
Use ts-ignore over ts-expect-error (#1066)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsian03 authored Nov 29, 2020
1 parent 98c261d commit aca342e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1859,7 +1859,7 @@ declare namespace Eris {
export class Invite extends Base {
channel: InvitePartialChannel | Exclude<AnyGuildChannel, CategoryChannel>;
code: string;
// @ts-expect-error: Property is only not null when invite metadata is supplied
// @ts-ignore: Property is only not null when invite metadata is supplied
createdAt: number | null;
guild?: Guild;
inviter?: User;
Expand Down Expand Up @@ -2114,7 +2114,7 @@ declare namespace Eris {
editAFK(afk: boolean): void;
editStatus(status?: Status, game?: ActivityPartial<BotActivityType>): void;
editStatus(game?: ActivityPartial<BotActivityType>): void;
// @ts-expect-error: Method override
// @ts-ignore: Method override
emit(event: string, ...args: any[]): void;
getGuildMembers(guildID: string, timeout: number): void;
hardReset(): void;
Expand Down

0 comments on commit aca342e

Please sign in to comment.