import * as readline from 'readline' ; export class ReadLineManagement { static setupReadLine ( existing ) { if ( existing == null ) { return readline . createInterface ( { input : process . stdin , output : process . stdout } ) ; } else { return existing ; } } }