first commit
This commit is contained in:
21
node_modules/parse-url/index.d.ts
generated
vendored
Normal file
21
node_modules/parse-url/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
import parsePath = require("parse-path");
|
||||
import normalizeUrl = require("normalize-url");
|
||||
|
||||
declare namespace parseUrl {
|
||||
const MAX_INPUT_LENGTH: 2048;
|
||||
|
||||
type NormalizeOptions = normalizeUrl.Options;
|
||||
|
||||
type ParsedUrl = parsePath.ParsedPath;
|
||||
|
||||
interface ParsingError extends Error {
|
||||
readonly subject_url: string;
|
||||
}
|
||||
}
|
||||
|
||||
declare function parseUrl(
|
||||
url: string,
|
||||
normalize?: boolean | parseUrl.NormalizeOptions
|
||||
): parseUrl.ParsedUrl;
|
||||
|
||||
export = parseUrl;
|
||||
Reference in New Issue
Block a user