@ministryofjustice/probation-search-frontend
Version:
A shared UI component to search for probation cases from within your Express/Nunjucks application
5 lines (4 loc) • 305 B
TypeScript
import { Request } from 'express';
export declare function getAbsoluteUrl(req: Request): string;
export declare function addParameters(url: string | Request, params?: Record<string, string | string[]>): string;
export declare function removeParameters(url: string | Request, ...params: string[]): string;