forked from ngOfficeUIFabric/ng-officeuifabric
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobal.d.ts
40 lines (38 loc) · 1.17 KB
/
global.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/**
* General purpose interface for callbacks that have no parameters or return types.
* Commonly used in gulp tasks.
*
* @callback VoidCallback
*/
interface IVoidCallback {
(): void;
}
/**
* General purpose interface for callbacks that have a single string parameter or return types.
* Commonly used in gulp tasks.
*
* @callback IStringCallback
*/
interface IStringCallback {
(message?: string): void;
}
/**
* Command line arguments.
*
* @typedef commandLineArgs
* @type {Object}
* @property {boolean} debug - Flag if Node process should start in debug mode.
* @property {boolean} specs - Flag indicating if the tests should be written to the console.
* @property {boolean} verbose - Flag if tasks should output verbose messages to console.
* @property {number} version - Version number to use in building library, overriding what's in package.json.
* @property {boolean} dev - Flag indicating if development package should be created (unminified, with comments and sourcemaps)
*/
interface ICommandLineArgs {
debug?: boolean;
specs?: boolean;
verbose?: boolean;
version?: number;
dev?: boolean;
watch?: boolean;
serve?: boolean;
}