Remove query params from url typescript. As I understood from your comment, you want to clea...