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:
parent
66addb8595
commit
62af94bb2d
@ -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,
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user