Skip to content

Commit

Permalink
💥 refactor!: Use flat export style.
Browse files Browse the repository at this point in the history
BREAKING CHANGE: default export is gone.
  • Loading branch information
make-github-pseudonymous-again committed May 21, 2021
1 parent 3f373df commit 1a75e4c
Showing 1 changed file with 7 additions and 20 deletions.
27 changes: 7 additions & 20 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,7 @@
import _count from './_count.js';
import _enumerate from './_enumerate.js';
import _sequence from './_sequence.js';
import count from './count.js';
import enumerate from './enumerate.js';
import isPartition from './isPartition.js';
import sequence from './sequence.js';

/* eslint import/no-anonymous-default-export: [2, {"allowObject": true}] */
export default {
_count,
_enumerate,
_sequence,
count,
enumerate,
isPartition,
sequence,
};

export {_count, _enumerate, _sequence, count, enumerate, isPartition, sequence};
export {default as _count} from './_count.js';
export {default as _enumerate} from './_enumerate.js';
export {default as _sequence} from './_sequence.js';
export {default as count} from './count.js';
export {default as enumerate} from './enumerate.js';
export {default as isPartition} from './isPartition.js';
export {default as sequence} from './sequence.js';

0 comments on commit 1a75e4c

Please sign in to comment.