namespace Util { param msec export const sleep = ( msec ) : Promise < void > => { return new Promise ( ( resolve ) => { setTimeout ( ( ) => { resolve ( ) ; } , msec ) ; } ) ; } ; } export default Util ;