mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 11:33:30 +01:00
Bring in latest typings fix (#982)
This commit is contained in:
committed by
Schuyler Cebulskie
parent
78026df1df
commit
8596eadb25
5
typings/index.d.ts
vendored
5
typings/index.d.ts
vendored
@@ -1,6 +1,7 @@
|
|||||||
// Type definitions for discord.js 10.0.1
|
// Type definitions for discord.js 10.0.1
|
||||||
// Project: https://github.com/hydrabolt/discord.js
|
// Project: https://github.com/hydrabolt/discord.js
|
||||||
// Definitions by: acdenisSK <acdenissk69@gmail.com> (https://github.com/acdenisSK)
|
// Definitions by: acdenisSK <acdenissk69@gmail.com> (https://github.com/acdenisSK)
|
||||||
|
// License: MIT
|
||||||
|
|
||||||
declare module "discord.js" {
|
declare module "discord.js" {
|
||||||
import { EventEmitter } from "events";
|
import { EventEmitter } from "events";
|
||||||
@@ -101,7 +102,7 @@ declare module "discord.js" {
|
|||||||
push(request: {});
|
push(request: {});
|
||||||
}
|
}
|
||||||
export class WebhookClient extends Webhook {
|
export class WebhookClient extends Webhook {
|
||||||
contructor(id: string, token: string, options?: ClientOptions);
|
constructor(id: string, token: string, options?: ClientOptions);
|
||||||
options: ClientOptions;
|
options: ClientOptions;
|
||||||
}
|
}
|
||||||
export class Emoji {
|
export class Emoji {
|
||||||
@@ -550,7 +551,7 @@ declare module "discord.js" {
|
|||||||
on(event: "launch", listener: (shard: Shard) => void): this;
|
on(event: "launch", listener: (shard: Shard) => void): this;
|
||||||
}
|
}
|
||||||
export class ShardClientUtil {
|
export class ShardClientUtil {
|
||||||
contructor(client: Client);
|
constructor(client: Client);
|
||||||
id: number;
|
id: number;
|
||||||
count: number;
|
count: number;
|
||||||
broadcastEval(script: string): Promise<any[]>;
|
broadcastEval(script: string): Promise<any[]>;
|
||||||
|
|||||||
Reference in New Issue
Block a user