Remove unnecessary any cast

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2022-07-06 11:42:46 -04:00
1 parent 66addb8595
commit 62af94bb2d
1 file changed
+1 -2
@@ -22,8 +22,7 @@ const navigateToRouteInjectable = getInjectable({
return ((route: Route<object | void>, options: NavigateToRouteOptions<object>) => { return ((route: Route<object | void>, options: NavigateToRouteOptions<object>) => {
const url = buildURL(route.path, { const url = buildURL(route.path, {
// TODO: enhance typing params: options?.parameters,
params: options?.parameters as any,
query: options?.query, query: options?.query,
fragment: options?.fragment, fragment: options?.fragment,
}); });