component reload in typescript code example Example: reload page in typescript window.location.reload();