Skip to content

Commit

Permalink
feat: Exports for mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
justinvdm committed Apr 25, 2020
1 parent db3a133 commit 85a72e8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
6 changes: 4 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
exports.hash = require('./hash')
exports.oneOf = require('./oneOf')
exports.tuple = require('./tuple')

exports.int = require('./int')
exports.word = require('./word')
exports.bool = require('./bool')
exports.datestr = require('./datestr')
exports.oneOf = require('./oneOf')
exports.tuple = require('./tuple')
exports.float = require('./float')
8 changes: 8 additions & 0 deletions index.mjs
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
export { default as hash } from './has'
export { default as oneOf } from './oneOf'
export { default as tuple } from './tuple'

export { default as int } from './int'
export { default as word } from './word'
export { default as bool } from './bool'
export { default as datestr } from './datestr'
export { default as float } from './float'

0 comments on commit 85a72e8

Please sign in to comment.