Skip to content

Commit

Permalink
fix(signatures): remove redundant signature for Date type overload
Browse files Browse the repository at this point in the history
  • Loading branch information
omermorad committed Jan 17, 2021
1 parent 732eeb2 commit e4fbbc1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions src/decorators/fixture.decorator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ export const FIXTURE_DECORATOR_NAME = 'Fixture';

export function Fixture();
export function Fixture(callback: (faker: Faker.FakerStatic) => any);
export function Fixture(value: string);
export function Fixture(value: number);
export function Fixture(value: boolean);
export function Fixture(value: Date);
export function Fixture(value: string | number | boolean);
export function Fixture(value: ClassType);
export function Fixture(options: { enum: object });
export function Fixture(options: { type: ClassType; count: number });
Expand Down
1 change: 0 additions & 1 deletion src/types/fixture-options.type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ export type FixtureOptions =
| string
| number
| boolean
| Date
| ClassType
| { enum: object }
| { type: ClassType; count?: number };

0 comments on commit e4fbbc1

Please sign in to comment.