Reformat chatterino.d.ts

This commit is contained in:
Mm2PL 2023-02-28 23:26:30 +01:00
parent 7d2fd1eed5
commit 6e8af794fc
No known key found for this signature in database
GPG key ID: 94AC9B80EFA15ED9

View file

@ -5,7 +5,7 @@ declare module c2 {
Debug, Debug,
Info, Info,
Warning, Warning,
Critical Critical,
} }
class CommandContext { class CommandContext {
words: String[]; words: String[];
@ -13,7 +13,10 @@ declare module c2 {
} }
function log(level: LogLevel, ...data: any[]): void; function log(level: LogLevel, ...data: any[]): void;
function register_command(name: String, handler: (ctx: CommandContext)=>void): boolean; function register_command(
name: String,
handler: (ctx: CommandContext) => void
): boolean;
function send_msg(channel: String, text: String): boolean; function send_msg(channel: String, text: String): boolean;
function system_msg(channel: String, text: String): boolean; function system_msg(channel: String, text: String): boolean;
} }