what is the use of settimeout in typescript code example Example: timeout typescript setTimeout(() => { console.log('hi'); }, 500);