chore: optimize imports

This commit is contained in:
Wesley F. Young committed 2024-08-30 11:45:58 +08:00
1 parent 54a7cbc3f4
commit f1f1ac582d
11 files changed
+37 -39

No files matched your search

+3 -2
View File
@@ -1,4 +1,5 @@
import { createServer } from 'node:net';
export class NewAdapterNetwork {
constructor(public host: number, public port: number) { }
async open() {
@@ -11,8 +12,8 @@ export class NewAdapterNetwork {
});
socket.on('connect', () => {
})
});
});
server.listen(this.port, this.host);
}
}
}