Skip to content

Commit

Permalink
fix: export as module default closes #55
Browse files Browse the repository at this point in the history
  • Loading branch information
scttcper committed Jan 25, 2019
1 parent 4b08b5b commit ea7b40d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,4 @@ function koaSwagger(config: Partial<KoaSwaggerUiOptions> = {}) {
}

export default koaSwagger;
module.exports = koaSwagger;

0 comments on commit ea7b40d

Please sign in to comment.