UNPKG

firejsx

Version:

The React Framework for SSB, SSR and Serverless technologies

10 lines (9 loc) 286 B
/** * Removes query and hash from url, then calls rmIndexSuffixFromPath() on it * Note: Does not decode the url */ export declare function convertPathToUrl(url: string): string; /** * Removes /index from path */ export declare function rmIndexSuffixFromPath(path: string): string;