🎉 initiate project *astro_rewrite*
This commit is contained in:
parent
ffd4d5e86c
commit
2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions
42
node_modules/vfile/lib/minurl.shared.d.ts
generated
vendored
Normal file
42
node_modules/vfile/lib/minurl.shared.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
/**
|
||||
* @typedef URL
|
||||
* @property {string} hash
|
||||
* @property {string} host
|
||||
* @property {string} hostname
|
||||
* @property {string} href
|
||||
* @property {string} origin
|
||||
* @property {string} password
|
||||
* @property {string} pathname
|
||||
* @property {string} port
|
||||
* @property {string} protocol
|
||||
* @property {string} search
|
||||
* @property {any} searchParams
|
||||
* @property {string} username
|
||||
* @property {() => string} toString
|
||||
* @property {() => string} toJSON
|
||||
*/
|
||||
/**
|
||||
* Check if `fileUrlOrPath` looks like a URL.
|
||||
*
|
||||
* @param {unknown} fileUrlOrPath
|
||||
* File path or URL.
|
||||
* @returns {fileUrlOrPath is URL}
|
||||
* Whether it’s a URL.
|
||||
*/
|
||||
export function isUrl(fileUrlOrPath: unknown): fileUrlOrPath is URL
|
||||
export type URL = {
|
||||
hash: string
|
||||
host: string
|
||||
hostname: string
|
||||
href: string
|
||||
origin: string
|
||||
password: string
|
||||
pathname: string
|
||||
port: string
|
||||
protocol: string
|
||||
search: string
|
||||
searchParams: any
|
||||
username: string
|
||||
toString: () => string
|
||||
toJSON: () => string
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue