Fix remaining lint errors (#19166)

This commit is contained in:
Andy
2017-08-20 15:37:53 -07:00
committed by GitHub
parent 83230ae14e
commit 924fafffc0
861 changed files with 2641 additions and 2198 deletions

View File

@@ -1,6 +1,6 @@
// Type definitions for plugapi 4.2
// Project: https://www.npmjs.com/package/plugapi
// Definitions by: Brice Theurillat <https://github.com/BNedry/>
// Definitions by: Brice Theurillat <https://github.com/BNedry>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare namespace PlugAPI {
interface PlugLogin {
@@ -335,7 +335,7 @@ declare namespace PlugAPI {
v: number;
}
interface Command extends Event.Chat {
interface Command extends Chat {
command: string;
args: string[];
respond(...args: any[]): any;

View File

@@ -16,7 +16,7 @@ new PlugAPI({
if (data.type === "emote") {
console.log(data.from + data.message);
} else {
console.log(data.from + "> " + data.message);
console.log(`${data.from}> ${data.message}`);
}
});