@maskedeng-tom/ssrsx
Version:
server side renderer with tsx
24 lines (23 loc) • 479 B
TypeScript
declare const matchPath: (matchPath: string, url: string, option: {
sensitive?: boolean;
}) => {
subMatch: boolean;
offsetPath: string;
params: {
[key: string]: string;
};
match?: undefined;
} | {
match: boolean;
params: {
[key: string]: string;
};
subMatch?: undefined;
offsetPath?: undefined;
} | {
params: {};
subMatch?: undefined;
offsetPath?: undefined;
match?: undefined;
};
export { matchPath };