Skip to content

Commit 1cc565f

Browse files
committed
Make Struct the default export
1 parent b79972f commit 1cc565f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

index.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/**
2+
* Default export `Struct`.
3+
*/
4+
// export default Struct;
5+
module.exports = exports = Struct;
6+
17
function byteField(p, offset) {
28
this.length = 1;
39
this.offset = offset;
@@ -377,5 +383,3 @@ function Struct() {
377383
});
378384

379385
}
380-
381-
exports.Struct = Struct;

0 commit comments

Comments
 (0)