5.3.4 • Published 6 months ago

@types/uniqid v5.3.4

Weekly downloads
25,707
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for uniqid 5.3
// Project: https://github.com/adamhalasz/uniqid
// Definitions by: idchlife <https://github.com/idchlife>, onomatopoetry <https://github.com/onomatopoetry>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

// 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: Thu, 16 Dec 2021 22:32:09 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by idchlife, and onomatopoetry.