DefinitelyTyped/types/nanoid/index.d.ts
Sascha Zarhuber 7de9b6a2c4 [nanoid] added missing declarations for v2.1 (#38806)
* feat(nanoid): added newly introduced file declarations

* feat(nanoid): added new files to tsconfig

* chore(nanoid): bumped version number
2019-10-03 13:45:12 -07:00

11 lines
408 B
TypeScript

// Type definitions for nanoid 2.1
// Project: https://github.com/ai/nanoid
// Definitions by: Ruben Schmidmeister <https://github.com/bash>
// Daniel Zhang <https://github.com/fadezhanger>
// Sascha Zarhuber <https://github.com/saschazar21>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare function nanoid(size?: number): string;
export = nanoid;