functional

This commit is contained in:
2021-11-10 00:13:10 -06:00
parent 6aaac56035
commit 2548a499f8

View File

@@ -14,8 +14,6 @@ const rl = readline.createInterface({
output: process.stdout
});
const Prompt = (string: string): Promise<string> => new Promise(resolve => rl.question('What do you think of Node.js? ', resolve));
function exitNicely() {
client.destroy();
rl.close();