2.0.3 • Published 6 months ago
@types/url-format-lax v2.0.3
Installation
npm install --save @types/url-format-lax
Summary
This package contains type definitions for url-format-lax (https://github.com/sindresorhus/url-format-lax).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/url-format-lax.
index.d.ts
// Type definitions for url-format-lax 2.0
// Project: https://github.com/sindresorhus/url-format-lax
// Definitions by: Junxiao Shi <https://github.com/yoursunny>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export interface UrlObject {
host?: string;
hostname?: string;
port?: string | number;
[other: string]: any;
}
export default function urlFormat(url: UrlObject): string;
Additional Details
- Last updated: Tue, 05 Oct 2021 20:01:21 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Junxiao Shi.