@deot/dev-shared 2.9.7 → 2.9.9
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 +3 -12
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -10,10 +10,7 @@ declare const command: (command$: string, args?: string[]) => RegExpMatchArray |
|
|
|
10
10
|
|
|
11
11
|
export declare type Customized<Origin = any, Extend = any> = Origin & Extend;
|
|
12
12
|
|
|
13
|
-
declare const error:
|
|
14
|
-
(...data: any[]): void;
|
|
15
|
-
(message?: any, ...optionalParams: any[]): void;
|
|
16
|
-
};
|
|
13
|
+
declare const error: (...data: any[]) => void;
|
|
17
14
|
|
|
18
15
|
declare const exec: (command$: string, args?: string[], options?: any) => childProcess.ChildProcess & IPromise<{
|
|
19
16
|
stderr: string;
|
|
@@ -57,10 +54,7 @@ export declare type Indexable<T = any> = {
|
|
|
57
54
|
[key: string]: T;
|
|
58
55
|
};
|
|
59
56
|
|
|
60
|
-
declare const info:
|
|
61
|
-
(...data: any[]): void;
|
|
62
|
-
(message?: any, ...optionalParams: any[]): void;
|
|
63
|
-
};
|
|
57
|
+
declare const info: (...data: any[]) => void;
|
|
64
58
|
|
|
65
59
|
declare interface IPromise<T = any, K = any> {
|
|
66
60
|
then: (resolve: (a: T) => void, reject: (b: K) => void) => Promise<any>;
|
|
@@ -81,10 +75,7 @@ declare namespace Locals {
|
|
|
81
75
|
}
|
|
82
76
|
export { Locals }
|
|
83
77
|
|
|
84
|
-
declare const log:
|
|
85
|
-
(...data: any[]): void;
|
|
86
|
-
(message?: any, ...optionalParams: any[]): void;
|
|
87
|
-
};
|
|
78
|
+
declare const log: (...data: any[]) => void;
|
|
88
79
|
|
|
89
80
|
declare namespace Logger {
|
|
90
81
|
export {
|