mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
fix more lint failures (#16331)
This commit is contained in:
@@ -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' });
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
{
|
||||
"extends": "dtslint/dt.json",
|
||||
"rules": {
|
||||
"no-object-literal-type-assertion": false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user