npm.io
1.8.32 • Published 2 years ago

@types/js-url

Licence
MIT
Version
1.8.32
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/js-url

Summary

This package contains type definitions for js-url (https://github.com/websanova/js-url).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/js-url.

index.d.ts

interface UrlStatic {
    (): string;
    (pattern: string): string;
    (pattern: number): string;
    (pattern: string, url: string): string;
    (pattern: number, url: string): string;
}

declare var url: UrlStatic;

Additional Details

  • Last updated: Tue, 07 Nov 2023 0337 GMT
  • Dependencies: none

Credits

These definitions were written by Pine Mizune.