export async function getURLParam(param: string): Promise { let result = await new URLSearchParams(window.location.search).get(param); if (result) { return result; } else { return undefined; } }