fix more lint failures (#16331)

This commit is contained in:
Mohamed Hegazy
2017-05-04 17:16:10 -07:00
committed by GitHub
parent df09b2a336
commit 922f5aabf0
2 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ ipc.of.world.on("socket.disconnected", (socket: Socket, id: string) => { id.toLo
ipc.of.world.on("message", (data: any, data2: any) => { });
ipc.server.emit("event", [1, 2, 3]);
const myBuffer = new Buffer(6).fill(0);
let socket: Socket = {} as any;
declare const socket: Socket;
ipc.server.emit(socket, myBuffer);
ipc.server.emit([10, 20, 30]);
ipc.server.emit({ address: 'localhost', port: 8000 }, "message", { id: ipc.config.id, message: 'Goodbye' });
+6 -1
View File
@@ -1 +1,6 @@
{ "extends": "dtslint/dt.json" }
{
"extends": "dtslint/dt.json",
"rules": {
"no-object-literal-type-assertion": false
}
}