fix(core): update
This commit is contained in:
@ -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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user