@types/randomatic
Advanced tools
Comparing version 3.1.1 to 3.1.2
@@ -17,4 +17,4 @@ // Type definitions for randomatic 3.1 | ||
interface Options { | ||
chars?: string; | ||
exclude?: string | string[]; | ||
chars?: string | undefined; | ||
exclude?: string | string[] | undefined; | ||
} | ||
@@ -21,0 +21,0 @@ } |
{ | ||
"name": "@types/randomatic", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "TypeScript definitions for randomatic", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/randomatic", | ||
"license": "MIT", | ||
@@ -27,4 +28,4 @@ "contributors": [ | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "9ce346088df8be0f12c00dbae134bbaec8ed6c8829b1ae319416e9aeffb9012e", | ||
"typeScriptVersion": "3.5" | ||
"typesPublisherContentHash": "4e91435cf834fd3b7bb8f100f04cd3251348b2d745a12501d195219baf124848", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -9,5 +9,31 @@ # Installation | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/randomatic. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/randomatic/index.d.ts) | ||
````ts | ||
// Type definitions for randomatic 3.1 | ||
// Project: https://github.com/jonschlinkert/randomatic | ||
// Definitions by: Frelia <https://github.com/execfera> | ||
// Piotr Błażejewicz <https://github.com/peterblazejewicz> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
/** | ||
* Generate randomized strings of a specified length using simple character sequences. The original generate-password. | ||
*/ | ||
declare function randomatic(pattern: string, length?: number, options?: randomatic.Options): string; | ||
declare function randomatic(length: number): string; | ||
declare namespace randomatic { | ||
const isCrypto: boolean; | ||
interface Options { | ||
chars?: string | undefined; | ||
exclude?: string | string[] | undefined; | ||
} | ||
} | ||
export = randomatic; | ||
```` | ||
### Additional Details | ||
* Last updated: Fri, 14 May 2021 09:01:27 GMT | ||
* Last updated: Wed, 07 Jul 2021 17:02:52 GMT | ||
* Dependencies: none | ||
@@ -14,0 +40,0 @@ * Global values: none |
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
4350
0
43