From 91d9a31761ff72d83af710088be7b37bebdace89 Mon Sep 17 00:00:00 2001 From: March 7th <71698422+aiko-chan-ai@users.noreply.github.com> Date: Sat, 19 Nov 2022 23:26:38 +0700 Subject: [PATCH] typing: fix import class missing prop --- typings/index.d.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index 6797bc9..d9faf45 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -161,13 +161,13 @@ import { // @ts-ignore //#region Classes -export abstract class SessionManager extends CachedManager { +export class SessionManager extends CachedManager { constructor(client: Client, iterable?: Iterable); public fetch(): Promise; public logoutAllDevices(mfaCode?: string): Promise; } -export abstract class Session extends Base { +export class Session extends Base { constructor(client: Client); public id?: string; public clientInfo?: SessionClientInfo; @@ -182,7 +182,7 @@ export interface SessionClientInfo { os?: string; } -export abstract class DiscordAuthWebsocket extends EventEmitter { +export class DiscordAuthWebsocket extends EventEmitter { constructor(options?: DiscordAuthWebsocketOptions); public fingerprint?: string; public heartbeatInterval?: number; @@ -215,7 +215,7 @@ export interface RichButton { url: string; } -export abstract class RichPresence { +export class RichPresence { public constructor(client?: Client, data?: object, IPC?: boolean); public application_id: Snowflake | null; public assets: RichPresenceAssets | null; @@ -265,7 +265,7 @@ export interface ExternalAssets { external_asset_path: string; } -export abstract class SpotifyRPC extends RichPresence { +export class SpotifyRPC extends RichPresence { public constructor(client: Client, data?: object); public application_id: Snowflake | null; public client: Client; @@ -299,7 +299,7 @@ export abstract class SpotifyRPC extends RichPresence { public setSongId(id: string): this; } -export abstract class CustomStatus { +export class CustomStatus { public constructor(data?: object); public emoji: EmojiIdentifierResolvable; public state: string;