typescript get query params as string code example
Example: js query string
const urlParams = new URLSearchParams(window.location.search);
const myParam = urlParams.get('myParam');
const urlParams = new URLSearchParams(window.location.search);
const myParam = urlParams.get('myParam');