I navigate to a certain page in my app with a query parameter. After I get the parameter from the URL I want to delete it, ideally I would have this:
Imperative method, but cleaner:
this.router.navigate(['.'], { relativeTo: this.route, queryParams: {} });