From 6e8af794fcc314812eafab38f102d53b6621dee5 Mon Sep 17 00:00:00 2001 From: Mm2PL Date: Tue, 28 Feb 2023 23:26:30 +0100 Subject: [PATCH] Reformat chatterino.d.ts --- docs/chatterino.d.ts | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/docs/chatterino.d.ts b/docs/chatterino.d.ts index d2d668be7..c2efdb1ba 100644 --- a/docs/chatterino.d.ts +++ b/docs/chatterino.d.ts @@ -1,19 +1,22 @@ /** @noSelfInFile */ declare module c2 { - enum LogLevel { - Debug, - Info, - Warning, - Critical - } - class CommandContext { - words: String[]; - channel_name: String; - } + enum LogLevel { + Debug, + Info, + Warning, + Critical, + } + class CommandContext { + words: String[]; + channel_name: String; + } - function log(level: LogLevel, ...data: any[]): void; - function register_command(name: String, handler: (ctx: CommandContext)=>void): boolean; - function send_msg(channel: String, text: String): boolean; - function system_msg(channel: String, text: String): boolean; + function log(level: LogLevel, ...data: any[]): void; + function register_command( + name: String, + handler: (ctx: CommandContext) => void + ): boolean; + function send_msg(channel: String, text: String): boolean; + function system_msg(channel: String, text: String): boolean; }