import { ISnapshotOptions } from "@fluidframework/odsp-driver-definitions" ; param queryParams export function getQueryString ( queryParams ) { let queryString = "" ; for ( const key of Object . keys ( queryParams ) ) { if ( queryParams [ key ] !== undefined ) { const startChar = queryString === "" ? "?" : "&" ; queryString += `${ startChar }${ key }=${ encodeURIComponent ( queryParams [ key ] ) }` ; } } return queryString ; }