mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Remove unnecessary any cast
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
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>) => {
|
||||
const url = buildURL(route.path, {
|
||||
// TODO: enhance typing
|
||||
params: options?.parameters as any,
|
||||
params: options?.parameters,
|
||||
query: options?.query,
|
||||
fragment: options?.fragment,
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user