mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 04:52:22 +00:00
Bring in latest typings fix (#982)
This commit is contained in:
parent
78026df1df
commit
8596eadb25
1 changed files with 3 additions and 2 deletions
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[]>;
|
||||
|
|
|
|||
Loading…
Reference in a new issue