mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +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
|
||||
// Project: https://github.com/hydrabolt/discord.js
|
||||
// Definitions by: acdenisSK <acdenissk69@gmail.com> (https://github.com/acdenisSK)
|
||||
// License: MIT
|
||||
|
||||
declare module "discord.js" {
|
||||
import { EventEmitter } from "events";
|
||||
@@ -101,7 +102,7 @@ declare module "discord.js" {
|
||||
push(request: {});
|
||||
}
|
||||
export class WebhookClient extends Webhook {
|
||||
contructor(id: string, token: string, options?: ClientOptions);
|
||||
constructor(id: string, token: string, options?: ClientOptions);
|
||||
options: ClientOptions;
|
||||
}
|
||||
export class Emoji {
|
||||
@@ -550,7 +551,7 @@ declare module "discord.js" {
|
||||
on(event: "launch", listener: (shard: Shard) => void): this;
|
||||
}
|
||||
export class ShardClientUtil {
|
||||
contructor(client: Client);
|
||||
constructor(client: Client);
|
||||
id: number;
|
||||
count: number;
|
||||
broadcastEval(script: string): Promise<any[]>;
|
||||
|
||||
Reference in New Issue
Block a user