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

5.3.4 • Public • Published

Installation

npm install --save @types/uniqid

Summary

This package contains type definitions for uniqid (https://github.com/adamhalasz/uniqid).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uniqid.

index.d.ts

// Commmon function signature
declare function f(prefix?: string, suffix?: string): string;

// let x -> Workaround for ES6 imports
// Combined type because of assigning to function object in original module
declare let x: typeof f & { process: typeof f } & { time: typeof f };

export = x;

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by idchlife, and onomatopoetry.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/uniqid

Weekly Downloads

67,654

Version

5.3.4

License

MIT

Unpacked Size

3.3 kB

Total Files

5

Last publish

Collaborators

  • types