added doga
This commit is contained in:
14
25_02_24/node_modules/@tinyhttp/url/dist/index.d.ts
generated
vendored
Normal file
14
25_02_24/node_modules/@tinyhttp/url/dist/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
/// <reference types="node" />
|
||||
import { ParsedUrlQuery } from 'node:querystring';
|
||||
type Regex = {
|
||||
keys: string[] | false;
|
||||
pattern: RegExp;
|
||||
};
|
||||
export declare const getURLParams: ({ pattern, keys }: Regex, reqUrl?: string) => URLParams;
|
||||
export type URLParams = {
|
||||
[key: string]: string;
|
||||
};
|
||||
export declare const getPathname: (url: string) => string;
|
||||
export declare const getQueryParams: (url?: string) => ParsedUrlQuery;
|
||||
export {};
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
Reference in New Issue
Block a user