mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
[normalize-url] Updated definitions for version 3.3.0
This commit is contained in:
Vendored
+7
-1
@@ -1,14 +1,20 @@
|
||||
// Type definitions for normalize-url 1.9
|
||||
// Type definitions for normalize-url 3.3
|
||||
// Project: https://github.com/sindresorhus/normalize-url
|
||||
// Definitions by: odin3 <https://github.com/odin3>
|
||||
// BendingBender <https://github.com/BendingBender>
|
||||
// Mathieu M-Gosselin <https://github.com/mathieumg>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare namespace normalizeUrl {
|
||||
interface Options {
|
||||
defaultProtocol?: string;
|
||||
forceHttp?: boolean;
|
||||
forceHttps?: boolean;
|
||||
normalizeProtocol?: boolean;
|
||||
normalizeHttps?: boolean;
|
||||
sortQueryParameters?: boolean;
|
||||
stripFragment?: boolean;
|
||||
stripHash?: boolean;
|
||||
stripWWW?: boolean;
|
||||
removeQueryParameters?: Array<RegExp | string>;
|
||||
removeTrailingSlash?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user