docs: update
This commit is contained in:
parent
ef7fb433ba
commit
402be66265
File diff suppressed because one or more lines are too long
@ -11,6 +11,12 @@ class SessionManager extends CachedManager {
|
|||||||
constructor(client, iterable) {
|
constructor(client, iterable) {
|
||||||
super(client, Session, iterable);
|
super(client, Session, iterable);
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* The cache of Sessions
|
||||||
|
* @type {Collection<string, Session>}
|
||||||
|
* @name SessionManager#cache
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fetch all sessions of the client.
|
* Fetch all sessions of the client.
|
||||||
* @returns {Promise<SessionManager>}
|
* @returns {Promise<SessionManager>}
|
||||||
|
4
typings/index.d.ts
vendored
4
typings/index.d.ts
vendored
@ -177,8 +177,8 @@ import {
|
|||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
//#region Classes
|
//#region Classes
|
||||||
|
|
||||||
export class SessionManager extends CachedManager {
|
export class SessionManager extends CachedManager<string, Session, any> {
|
||||||
constructor(client: Client, iterable?: Iterable<unknown>);
|
private constructor(client: Client, iterable: Iterable<any>);
|
||||||
public fetch(): Promise<SessionManager>;
|
public fetch(): Promise<SessionManager>;
|
||||||
public logoutAllDevices(mfaCode?: string): Promise<undefined>;
|
public logoutAllDevices(mfaCode?: string): Promise<undefined>;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user