mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
23 lines
522 B
TypeScript
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;
|
|
} |