source: frontend/node_modules/unique-string/index.d.ts

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 388 bytes
RevLine 
[9af201e]1/**
2Generate a unique random string.
3
4@returns A 32 character unique string. Matches the length of MD5, which is [unique enough](https://stackoverflow.com/a/2444336/64949) for non-crypto purposes.
5
6@example
7```
8import uniqueString = require('unique-string');
9
10uniqueString();
11//=> 'b4de2a49c8ffa3fbee04446f045483b2'
12```
13*/
14declare function uniqueString(): string;
15
16export = uniqueString;
Note: See TracBrowser for help on using the repository browser.