Skip to content

Commit

Permalink
fix(types): remove object type
Browse files Browse the repository at this point in the history
  • Loading branch information
effervescentia committed Apr 13, 2017
1 parent 5786bef commit cc8024c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function Suite<T>(suite: (tests: (utils: T) => void, opts?: any) => void, _descr

namespace Suite {
// tslint:disable-next-line max-line-length
export type Builder = (modifier?: Suite.Modifier) => <T>(description: string, optsOrTests: Suite.Tests | object | any[], tests?: Suite.Tests) => void;
export type Builder = (modifier?: Suite.Modifier) => <T>(description: string, optsOrTests: Suite.Tests | { [key: string]: any } | any[], tests?: Suite.Tests) => void;
export type Tests = <T>(utils: T) => void;
export type Modifier = 'only' | 'skip';
export namespace Modifier {
Expand Down

0 comments on commit cc8024c

Please sign in to comment.