Skip to content

Commit

Permalink
Merge 970cf0b into 86cc2d0
Browse files Browse the repository at this point in the history
  • Loading branch information
dubzzz committed Aug 17, 2018
2 parents 86cc2d0 + 970cf0b commit 2d642bd
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/check/arbitrary/ArrayArbitrary.ts
@@ -1,5 +1,5 @@
import Random from '../../random/generator/Random';
import { Stream, stream } from '../../stream/Stream';
import { Stream } from '../../stream/Stream';
import { Arbitrary } from './definition/Arbitrary';
import { ArbitraryWithShrink } from './definition/ArbitraryWithShrink';
import { biasWrapper } from './definition/BiasedArbitraryWrapper';
Expand Down
2 changes: 1 addition & 1 deletion src/check/arbitrary/ConstantArbitrary.ts
@@ -1,5 +1,5 @@
import Random from '../../random/generator/Random';
import { stream, Stream } from '../../stream/Stream';
import { stream } from '../../stream/Stream';
import Arbitrary from './definition/Arbitrary';
import Shrinkable from './definition/Shrinkable';

Expand Down
1 change: 0 additions & 1 deletion src/check/arbitrary/DictionaryArbitrary.ts
@@ -1,4 +1,3 @@
import Random from '../../random/generator/Random';
import Arbitrary from './definition/Arbitrary';

import { set } from './SetArbitrary';
Expand Down
2 changes: 0 additions & 2 deletions src/check/arbitrary/IntegerArbitrary.ts
@@ -1,5 +1,3 @@
import * as prand from 'pure-rand';

import Random from '../../random/generator/Random';
import { stream, Stream } from '../../stream/Stream';
import { Arbitrary } from './definition/Arbitrary';
Expand Down
3 changes: 0 additions & 3 deletions src/check/arbitrary/ObjectArbitrary.ts
@@ -1,6 +1,4 @@
import Random from '../../random/generator/Random';
import Arbitrary from './definition/Arbitrary';
import Shrinkable from './definition/Shrinkable';

import { array } from './ArrayArbitrary';
import { boolean } from './BooleanArbitrary';
Expand All @@ -10,7 +8,6 @@ import { double } from './FloatingPointArbitrary';
import { integer } from './IntegerArbitrary';
import { oneof } from './OneOfArbitrary';
import { string, unicodeString } from './StringArbitrary';
import { tuple } from './TupleArbitrary';

export class ObjectConstraints {
constructor(readonly key: Arbitrary<string>, readonly values: Arbitrary<any>[], readonly maxDepth: number) {}
Expand Down
1 change: 0 additions & 1 deletion src/check/arbitrary/RecordArbitrary.ts
@@ -1,4 +1,3 @@
import Random from '../../random/generator/Random';
import Arbitrary from './definition/Arbitrary';

import { option } from './OptionArbitrary';
Expand Down
3 changes: 0 additions & 3 deletions src/check/arbitrary/StringArbitrary.ts
@@ -1,9 +1,6 @@
import Random from '../../random/generator/Random';
import { array } from './ArrayArbitrary';
import { ascii, base64, char, char16bits, fullUnicode, hexa, unicode } from './CharacterArbitrary';
import Arbitrary from './definition/Arbitrary';
import Shrinkable from './definition/Shrinkable';
import { nat } from './IntegerArbitrary';

/** @hidden */
function StringArbitrary(charArb: Arbitrary<string>, aLength?: number, bLength?: number) {
Expand Down
2 changes: 1 addition & 1 deletion src/check/arbitrary/TupleArbitrary.generic.ts
@@ -1,5 +1,5 @@
import Random from '../../random/generator/Random';
import { Stream, stream } from '../../stream/Stream';
import { Stream } from '../../stream/Stream';
import Arbitrary from './definition/Arbitrary';
import Shrinkable from './definition/Shrinkable';

Expand Down
1 change: 0 additions & 1 deletion src/check/arbitrary/definition/Arbitrary.ts
@@ -1,5 +1,4 @@
import Random from '../../../random/generator/Random';
import Stream from '../../../stream/Stream';
import Shrinkable from './Shrinkable';

/**
Expand Down
1 change: 0 additions & 1 deletion src/check/arbitrary/definition/BiasedArbitraryWrapper.ts
@@ -1,6 +1,5 @@
import Random from '../../../random/generator/Random';
import Arbitrary from './Arbitrary';
import Shrinkable from './Shrinkable';

/** @hidden */
class BiasedArbitraryWrapper<T> extends Arbitrary<T> {
Expand Down
1 change: 0 additions & 1 deletion src/check/runner/Tosser.ts
@@ -1,7 +1,6 @@
import * as prand from 'pure-rand';

import Random from '../../random/generator/Random';
import Arbitrary from '../arbitrary/definition/Arbitrary';
import Shrinkable from '../arbitrary/definition/Shrinkable';
import IProperty from '../property/IProperty';

Expand Down
1 change: 1 addition & 0 deletions tslint.json
Expand Up @@ -13,6 +13,7 @@
"no-bitwise": false,
"no-namespace": false,
"no-unnecessary-callback-wrapper": false, // a.map(f) != a.map(e => f(e))
"no-unused-variable": true,
"unified-signatures": false,
// Format (handled by prettier if needed)
"curly": false,
Expand Down

0 comments on commit 2d642bd

Please sign in to comment.