Skip to content

Commit 85a72e8

Browse files
committed
feat: Exports for mjs
1 parent db3a133 commit 85a72e8

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
exports.hash = require('./hash')
2+
exports.oneOf = require('./oneOf')
3+
exports.tuple = require('./tuple')
4+
15
exports.int = require('./int')
26
exports.word = require('./word')
37
exports.bool = require('./bool')
48
exports.datestr = require('./datestr')
5-
exports.oneOf = require('./oneOf')
6-
exports.tuple = require('./tuple')
79
exports.float = require('./float')

index.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
1+
export { default as hash } from './has'
2+
export { default as oneOf } from './oneOf'
3+
export { default as tuple } from './tuple'
4+
15
export { default as int } from './int'
6+
export { default as word } from './word'
7+
export { default as bool } from './bool'
8+
export { default as datestr } from './datestr'
9+
export { default as float } from './float'

0 commit comments

Comments
 (0)