Skip to content

Commit

Permalink
fix: use named export (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodrr committed Jul 27, 2020
1 parent 0fdc07d commit 36d67f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,5 +117,5 @@ declare module "fdir" {
crawlWithOptions(dirPath: string, options: Options): APIBuilder;
}

export default Builder;
export { Builder as fdir };
}
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require("./src/builder");
module.exports.fdir = require("./src/builder");

0 comments on commit 36d67f4

Please sign in to comment.