@types/url-format-lax
TypeScript icon, indicating that this package has built-in type declarations

2.0.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/url-format-lax

Weekly Downloads

24

Version

2.0.3

License

MIT

Unpacked Size

2.96 kB

Total Files

5

Last publish

Collaborators

  • types