Skip to content

Commit

Permalink
Merge pull request #41 from yosuke-furukawa/redeclare-types
Browse files Browse the repository at this point in the history
fix: redefine default function
  • Loading branch information
yosuke-furukawa committed Feb 27, 2020
2 parents 6557912 + ceb37ce commit 3e8b064
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ declare module "server-timing" {
enabled?: boolean;
autoEnd?: boolean;
};
export default (opts?: Options) => e.RequestHandler;
const _default: (opts?: Options) => e.RequestHandler;
export default _default;
type Response = {
startTime: (name: string, desc: string) => void;
endTime: (name: string) => void;
Expand Down

0 comments on commit 3e8b064

Please sign in to comment.