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
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, 07 Nov 2023 15:11:36 GMT
- Dependencies: none
Credits
These definitions were written by Junxiao Shi.