fix(core): update

This commit is contained in:
2021-09-08 22:25:52 +02:00
parent f24520ea89
commit 2d76e799a4
3 changed files with 11 additions and 11 deletions

View File

@ -92,7 +92,7 @@ export class SmartRouter {
const routeResult = wantedRoute.matchFunction(currentLocation);
wantedRoute.handler({
...(routeResult.valueOf() as Object),
queryParams: Object.fromEntries(urlSearchParams.entries()),
queryParams: Object.fromEntries((urlSearchParams as any).entries()), // TODO check wether entries is supported in typings
} as IRouteInfo); // not waiting here
}
}