1
0
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:
Sebastian Malton 2022-06-24 15:10:50 -04:00
parent 66addb8595
commit 62af94bb2d

View File

@ -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,
});