mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
Move all packages to a types directory
This commit is contained in:
16
types/randomstring/randomstring-tests.ts
Normal file
16
types/randomstring/randomstring-tests.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import * as randomstring from "randomstring";
|
||||
|
||||
randomstring.generate();
|
||||
|
||||
randomstring.generate(24);
|
||||
|
||||
randomstring.generate({
|
||||
length: 12,
|
||||
readable: true,
|
||||
capitalization: "",
|
||||
charset: "alphabetic"
|
||||
});
|
||||
|
||||
randomstring.generate({
|
||||
charset: "abc"
|
||||
});
|
||||
Reference in New Issue
Block a user