Website Structure
This commit is contained in:
parent
62812f2090
commit
71f0676a62
22365 changed files with 4265753 additions and 791 deletions
44
Frontend-Learner/node_modules/parse-path/lib/index.d.ts
generated
vendored
Normal file
44
Frontend-Learner/node_modules/parse-path/lib/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
declare namespace parsePath {
|
||||
interface ParsedPath {
|
||||
/** The url hash. */
|
||||
hash: string;
|
||||
/** The url domain (including subdomain and port). */
|
||||
host: string;
|
||||
/** The normalized input url. */
|
||||
href: string;
|
||||
/**
|
||||
* The authentication password.
|
||||
* @default ''
|
||||
*/
|
||||
password: string;
|
||||
/**
|
||||
* Whether the parsing failed or not.
|
||||
*/
|
||||
parse_failed: boolean;
|
||||
/** The url pathname. */
|
||||
pathname: string;
|
||||
/**
|
||||
* The domain port.
|
||||
* @default ''
|
||||
*/
|
||||
port: string;
|
||||
/** The first protocol or `"file"`. */
|
||||
protocol: string;
|
||||
/** An array with the url protocols (usually it has one element). */
|
||||
protocols: string[];
|
||||
/** The url querystring, parsed as object. */
|
||||
query: Record<string, string>;
|
||||
/** The url domain/hostname. */
|
||||
resource: string;
|
||||
/** The url querystring value (excluding `?`). */
|
||||
search: string;
|
||||
/**
|
||||
* The authentication user.
|
||||
* @default ''
|
||||
*/
|
||||
user: string;
|
||||
}
|
||||
}
|
||||
|
||||
declare function parsePath(url: string): parsePath.ParsedPath;
|
||||
export = parsePath;
|
||||
Loading…
Add table
Add a link
Reference in a new issue