Skip to content

Commit

Permalink
fix: type decorator header (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
himself65 authored May 13, 2019
1 parent 56482e0 commit fd59ae1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ declare module 'daruk' {
export const prefix: PrefixClassDecoratorFunc;
export const redirect: MethodDecoratorFunc;
export const type: (type: string) => MethodDecorator;
export const header: (key: string | { [key: string]: string }, value?: string) => MethodDecorator;

export const middleware: (middlewareName: string) => MethodDecorator;

Expand Down

0 comments on commit fd59ae1

Please sign in to comment.