Comparing version 0.1.2 to 0.1.3
@@ -212,3 +212,3 @@ declare module 'testcheck' { | ||
* | ||
* var alphabetSoup = gen.returnOneOf('a', 'b', 'c'); | ||
* var alphabetSoup = gen.returnOneOf(['a', 'b', 'c']); | ||
* | ||
@@ -222,3 +222,3 @@ */ | ||
* | ||
* var numOrBool = gen.oneOf(gen.int, gen.boolean) | ||
* var numOrBool = gen.oneOf([gen.int, gen.boolean]) | ||
* | ||
@@ -232,6 +232,6 @@ */ | ||
* | ||
* var numOrRarelyBool = gen.oneOf([99, gen.int], [1, gen.boolean]) | ||
* var numOrRarelyBool = gen.oneOf([[99, gen.int], [1, gen.boolean]]) | ||
*/ | ||
oneOfWeighted: <T>( | ||
...generators: Array</*number, Generator<T>*/any>[] | ||
generators: Array</*number, Generator<T>*/any>[] | ||
) => Generator<T>; | ||
@@ -238,0 +238,0 @@ |
{ | ||
"name": "testcheck", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Property testing for JavaScript", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/leebyron/testcheck-js", |
@@ -64,3 +64,3 @@ Generative property testing for JavaScript | ||
///<reference path='node_modules/testcheck/dist/testcheck.d.ts'/> | ||
var testcheck = require('testcheck'); | ||
import testcheck = require('testcheck'); | ||
``` | ||
@@ -67,0 +67,0 @@ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
154336