functional
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user