Skip to content

Commit f7baabf

Browse files
committed
Update util import from datalib
- be more explicit about methods we import from datalib - remove datalib/src/stats dependency
1 parent 5a5074f commit f7baabf

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/util.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/// <reference path="../typings/datalib.d.ts"/>
22

3-
export * from 'datalib/src/util';
4-
export * from 'datalib/src/generate';
5-
export * from 'datalib/src/stats';
6-
3+
export {keys, extend, duplicate, isArray, vals, truncate, toMap, isObject} from 'datalib/src/util';
4+
export {range} from 'datalib/src/generate';
75

86
export function contains(array: Array<any>, item: any) {
97
return array.indexOf(item) > -1;

0 commit comments

Comments
 (0)