Skip to content

Commit

Permalink
types(Presence): fix ActivityOptions#type and Activity#id types (#6696)
Browse files Browse the repository at this point in the history
  • Loading branch information
ImRodry authored Sep 28, 2021
1 parent da3ae48 commit fe95005
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export class Activity {
public details: string | null;
public emoji: Emoji | null;
public flags: Readonly<ActivityFlags>;
public id: Snowflake;
public id: string;
public name: string;
public party: {
id: string | null;
Expand Down Expand Up @@ -2863,7 +2863,7 @@ export type ActivitiesOptions = Omit<ActivityOptions, 'shardId'>;
export interface ActivityOptions {
name?: string;
url?: string;
type?: ActivityType | number;
type?: Exclude<ActivityType, 'CUSTOM'> | Exclude<ActivityTypes, ActivityTypes.CUSTOM>;
shardId?: number | readonly number[];
}

Expand Down

0 comments on commit fe95005

Please sign in to comment.