Skip to content

Commit 5039412

Browse files
✨ feat: Export API.
1 parent 98bf69a commit 5039412

File tree

2 files changed

+64
-0
lines changed

2 files changed

+64
-0
lines changed

src/array/api/index.js

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
import sort from './sort';
2+
import sortFloat32 from './sortFloat32';
3+
import sortInt16 from './sortInt16';
4+
import sortInt32 from './sortInt32';
5+
import sortInt8 from './sortInt8';
6+
import sortUint16 from './sortUint16';
7+
import sortUint32 from './sortUint32';
8+
import sortUint8 from './sortUint8';
9+
10+
/* eslint import/no-anonymous-default-export: [2, {"allowObject": true}] */
11+
export default {
12+
sort,
13+
sortFloat32,
14+
sortInt16,
15+
sortInt32,
16+
sortInt8,
17+
sortUint16,
18+
sortUint32,
19+
sortUint8
20+
};
21+
22+
export {
23+
sort,
24+
sortFloat32,
25+
sortInt16,
26+
sortInt32,
27+
sortInt8,
28+
sortUint16,
29+
sortUint32,
30+
sortUint8
31+
};

src/index.js

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
import {
2+
sort,
3+
sortFloat32,
4+
sortInt16,
5+
sortInt32,
6+
sortInt8,
7+
sortUint16,
8+
sortUint32,
9+
sortUint8
10+
} from './array/api';
11+
12+
/* eslint import/no-anonymous-default-export: [2, {"allowObject": true}] */
13+
export default {
14+
sort,
15+
sortFloat32,
16+
sortInt16,
17+
sortInt32,
18+
sortInt8,
19+
sortUint16,
20+
sortUint32,
21+
sortUint8
22+
};
23+
24+
export {
25+
sort,
26+
sortFloat32,
27+
sortInt16,
28+
sortInt32,
29+
sortInt8,
30+
sortUint16,
31+
sortUint32,
32+
sortUint8
33+
};

0 commit comments

Comments
 (0)