mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
12 lines
219 B
TypeScript
12 lines
219 B
TypeScript
/// <reference path="random-string.d.ts" />
|
|
|
|
import randomString = require('random-string');
|
|
|
|
console.log(randomString());
|
|
console.log(randomString({
|
|
length: 20,
|
|
numeric: true,
|
|
letters: true,
|
|
special: true
|
|
}));
|