DefinitelyTyped/jsurl/jsurl.d.ts
Alexey Gorshkov 4de193b136 fixed
jsurl/jsurl-tests.ts(16,7): error TS7017: Index signature of object type implicitly has an 'any' type.
2016-01-03 02:13:24 +03:00

23 lines
525 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;
}