early/ts/index.ts

21 lines
420 B
TypeScript
Raw Normal View History

2016-05-20 17:06:25 +00:00
/// <reference path="./typings/index.d.ts" />
let colors = require("colors");
2016-05-20 17:44:52 +00:00
let readline = require("readline");
const rl = readline.createInterface({
input: process.stdin,
output: process.stdout
});
2016-05-20 17:06:25 +00:00
export let start = function(moduleStringArg:string){
2016-05-20 17:44:52 +00:00
rl.write('Delete me!');
setTimeout(function(){
rl.write(null, {ctrl: true, name: 'u'});
},1000);
2016-05-20 17:06:25 +00:00
};
export let stop = function(){
2016-05-20 17:44:52 +00:00
2016-05-20 17:06:25 +00:00
};