Fill net.createServer

This commit is contained in:
Asher 2019-01-23 18:13:44 -06:00 committed by Kyle Carberry
parent 6c178d615d
commit b08237d63f
No known key found for this signature in database
GPG Key ID: A0409BDB6B0B3EDB

View File

@ -46,7 +46,7 @@ export class Net implements NodeNet {
_options?: { allowHalfOpen?: boolean, pauseOnConnect?: boolean } | ((socket: net.Socket) => void),
_connectionListener?: (socket: net.Socket) => void,
): net.Server {
throw new Error("not implemented");
return this.client.createServer() as net.Server;
}
}