DefinitelyTyped/types/jsurl/index.d.ts
2017-03-24 14:27:52 -07:00

23 lines
522 B
TypeScript

// Type definitions for jsurl 1.2.7
// Project: https://github.com/Mikhus/jsurl
// Definitions by: Alexey Gorshkov <https://github.com/agorshkov23>
// Definitions: https://github.com/agorshkov23/DefinitelyTyped
interface UrlQuery {
clear: () => void;
}
declare class Url<T> {
constructor();
constructor(url: string);
query: T;
protocol: string;
user: string;
pass: string;
host: string;
port: string;
path: string;
hash: string;
href: string;
toString: () => string;
}