Files
Ashley Harrison 1d6d5cc2cd Chore: improve typings (#87306)
* some fixes

* some more fixes

* some canvas fixes

* use removeProperty instead

* few more

* fixy fix

* undo changes to ticks for now
2024-05-03 17:21:37 +01:00

10 lines
236 B
TypeScript

import { locationService } from '@grafana/runtime';
export const useHistory = () => {
return {
push: ({ query }: { query: Parameters<typeof locationService.partial>[0] }) => {
locationService.partial(query);
},
};
};