Skip to content

Commit 5f99a26

Browse files
💥 refactor!: Use flat exports style.
BREAKING CHANGE: The default export is gone.
1 parent b9a6f7d commit 5f99a26

File tree

1 file changed

+15
-51
lines changed

1 file changed

+15
-51
lines changed

src/index.js

Lines changed: 15 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,15 @@
1-
import apply from './apply' ;
2-
import bind from './bind' ;
3-
import chain from './chain' ;
4-
import compose from './compose' ;
5-
import create from './create' ;
6-
import curry from './curry' ;
7-
import gobble from './gobble' ;
8-
import noop from './noop' ;
9-
import partial from './partial' ;
10-
import rbind from './rbind' ;
11-
import rcurry from './rcurry' ;
12-
import rpartial from './rpartial' ;
13-
import star from './star' ;
14-
import starchain from './starchain' ;
15-
import starcompose from './starcompose' ;
16-
17-
export default {
18-
apply ,
19-
bind ,
20-
chain ,
21-
compose ,
22-
create ,
23-
curry ,
24-
gobble ,
25-
noop ,
26-
partial ,
27-
rbind ,
28-
rcurry ,
29-
rpartial ,
30-
star ,
31-
starchain ,
32-
starcompose ,
33-
}
34-
35-
export {
36-
apply ,
37-
bind ,
38-
chain ,
39-
compose ,
40-
create ,
41-
curry ,
42-
gobble ,
43-
noop ,
44-
partial ,
45-
rbind ,
46-
rcurry ,
47-
rpartial ,
48-
star ,
49-
starchain ,
50-
starcompose ,
51-
}
1+
export {default as apply} from './apply.js';
2+
export {default as bind} from './bind.js';
3+
export {default as chain} from './chain.js';
4+
export {default as compose} from './compose.js';
5+
export {default as create} from './create.js';
6+
export {default as curry} from './curry.js';
7+
export {default as gobble} from './gobble.js';
8+
export {default as noop} from './noop.js';
9+
export {default as partial} from './partial.js';
10+
export {default as rbind} from './rbind.js';
11+
export {default as rcurry} from './rcurry.js';
12+
export {default as rpartial} from './rpartial.js';
13+
export {default as star} from './star.js';
14+
export {default as starchain} from './starchain.js';
15+
export {default as starcompose} from './starcompose.js';

0 commit comments

Comments
 (0)