UNPKG

declarations

Version:

[![npm version](https://badge.fury.io/js/declarations.svg)](https://www.npmjs.com/package/declarations)

23 lines (21 loc) 525 B
// 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; }