Skip to content

Commit 1a0f9a2

Browse files
committed
add export: arrayify
1 parent e7990d0 commit 1a0f9a2

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

lib/common/utils/index.spec.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
import { DevkitUtils, utils } from './index'
22
import { execute } from './execute'
3+
import { arrayify } from './arrayify'
34

45
describe('index.ts', () => {
56
describe('utils', () => {
67
it('check return object', () => {
78
const expected: DevkitUtils = {
89
execute,
10+
arrayify,
911
}
1012

1113
const result = utils

lib/common/utils/index.ts

+5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
import { execute } from './execute'
2+
import { arrayify } from './arrayify'
23

34
export type DevkitUtils = {
45
readonly execute: typeof execute
6+
readonly arrayify: typeof arrayify
57
}
68

79
export const utils: DevkitUtils = {
810
execute,
11+
arrayify,
912
}
13+
14+
export { execute, arrayify }

0 commit comments

Comments
 (0)