mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Reformat chatterino.d.ts
This commit is contained in:
parent
7d2fd1eed5
commit
6e8af794fc
1 changed files with 17 additions and 14 deletions
7
docs/chatterino.d.ts
vendored
7
docs/chatterino.d.ts
vendored
|
@ -5,7 +5,7 @@ declare module c2 {
|
|||
Debug,
|
||||
Info,
|
||||
Warning,
|
||||
Critical
|
||||
Critical,
|
||||
}
|
||||
class CommandContext {
|
||||
words: String[];
|
||||
|
@ -13,7 +13,10 @@ declare module c2 {
|
|||
}
|
||||
|
||||
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 system_msg(channel: String, text: String): boolean;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue