@hairy/utils 0.6.5 → 0.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -3
- package/package.json +2 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { PipeFn, ComposeFn } from 'pipe-and-compose-types';
|
|
2
1
|
export { default as pPipe } from 'p-pipe';
|
|
3
2
|
export { default as delay } from 'delay';
|
|
4
3
|
|
|
@@ -92,8 +91,8 @@ declare function getTypeof(target: any): TypeofType;
|
|
|
92
91
|
*/
|
|
93
92
|
declare function isTypeof(target: any, type: TypeofType): boolean;
|
|
94
93
|
|
|
95
|
-
declare const pipe:
|
|
96
|
-
declare const compose:
|
|
94
|
+
declare const pipe: (...fns: any[]) => any;
|
|
95
|
+
declare const compose: (...fns: any[]) => any;
|
|
97
96
|
/**
|
|
98
97
|
* 生成区间数组
|
|
99
98
|
* arange(<start>, <stop>, [step=1], [target=[]], [at])
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hairy/utils",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./dist/index.cjs.js",
|
|
6
6
|
"publishConfig": {
|
|
@@ -13,8 +13,7 @@
|
|
|
13
13
|
"@extra-array/arange": "^1.1.7",
|
|
14
14
|
"delay": "^5.0.0",
|
|
15
15
|
"lodash": "^4",
|
|
16
|
-
"p-pipe": "^4.0.0"
|
|
17
|
-
"pipe-and-compose-types": "^0.0.13"
|
|
16
|
+
"p-pipe": "^4.0.0"
|
|
18
17
|
},
|
|
19
18
|
"devDependencies": {
|
|
20
19
|
"@types/lodash": "^4"
|