Skip to content

Commit

Permalink
fix(): interface type shouldnt require arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec committed Mar 15, 2020
1 parent 56182f1 commit b843c08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/decorators/interface-type.decorator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export interface InterfaceTypeOptions {
/**
* Decorator that marks a class as a GraphQL interface type.
*/
export function InterfaceType(options: InterfaceTypeOptions): ClassDecorator;
export function InterfaceType(options?: InterfaceTypeOptions): ClassDecorator;
/**
* Decorator that marks a class as a GraphQL interface type.
*/
Expand Down

0 comments on commit b843c08

Please sign in to comment.