Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export function randomPassword(opts: any): any;
export function randomString(opts: any): any;
export * from "./lib/character-sets";
//# sourceMappingURL=index.d.ts.map
1 change: 1 addition & 0 deletions index.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions lib/character-sets.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
export var lower: string;
export var upper: string;
export var consonants: string;
export var vowels: string;
export var digits: string;
export var symbols: string;
export var fullSymbols: string;
export var copyableSymbols: string;
//# sourceMappingURL=character-sets.d.ts.map
1 change: 1 addition & 0 deletions lib/character-sets.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions lib/random.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
declare var _default: Random;
export default _default;
export function Random(randomSource: any): void;
export class Random {
constructor(randomSource: any);
_randomSource: any;
choose(choices: any): any;
getInt(upperBoundExclusive: any): number;
_getInt(upperBoundExclusive: any): number;
shuffle(items: any): any[];
}
//# sourceMappingURL=random.d.ts.map
1 change: 1 addition & 0 deletions lib/random.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions lib/util.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
export function assign(...args: any[]): any;
export function intersection(left: any, right: any): string[];
export function isInteger(n: any): boolean;
export function isString(s: any): boolean;
export function range(n: any): any;
export function repeat(val: any, n: any): any;
export function toArray(x: any): any;
//# sourceMappingURL=util.d.ts.map
1 change: 1 addition & 0 deletions lib/util.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.