cast any to string typescript code example
Example: typescript parse to string
window.location.hash = ""+page_number;
window.location.hash = String(page_number);
window.location.hash = ""+page_number;
window.location.hash = String(page_number);