Skip to content

Commit

Permalink
Directly export from main.
Browse files Browse the repository at this point in the history
  • Loading branch information
RillingDev committed Apr 12, 2020
1 parent 2013bf6 commit 65ef5e7
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
5 changes: 2 additions & 3 deletions dist/esm/src/main.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Ok } from "./Ok";
import { Validator } from "./validator/Validator";
import { ValidatorDictionary } from "./validator/ValidatorDictionary";
export { Validator, ValidatorDictionary };
export default Ok;
export { Validator } from "./validator/Validator";
export { ValidatorDictionary } from "./validator/ValidatorDictionary";
//# sourceMappingURL=main.d.ts.map
2 changes: 1 addition & 1 deletion dist/esm/src/main.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/esm/src/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/esm/src/main.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Ok } from "./Ok";
import { Validator } from "./validator/Validator";
import { ValidatorDictionary } from "./validator/ValidatorDictionary";

export { Validator, ValidatorDictionary };
// eslint-disable-next-line import/no-default-export
export default Ok;
export { Validator } from "./validator/Validator";
export { ValidatorDictionary } from "./validator/ValidatorDictionary";

0 comments on commit 65ef5e7

Please sign in to comment.