Parse the supplied query string (or window.location.search by default) into a typed UrlParams snapshot.
window.location.search
UrlParams
Pass an explicit search string in tests; in production main.ts calls this once with no argument and threads the result through the rest of the app.
search
Optional
Parse the supplied query string (or
window.location.searchby default) into a typedUrlParamssnapshot.Pass an explicit
searchstring in tests; in production main.ts calls this once with no argument and threads the result through the rest of the app.