mergeOptions.d.ts
2.01 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
import { Options } from '../types';
/**
* Shallow merge (specific or all) properties.
* If some properties both are arrays, then merge them also.
*/
declare function mergeOptions(rawOptions1: Options | null, rawOptions2: Options | null): {
color?: boolean | undefined;
concurrency?: number | undefined;
configFileName?: string | undefined;
configFilePath?: string | undefined;
cwd?: string | undefined;
deep?: boolean | undefined;
dep?: string | undefined;
deprecated?: boolean | undefined;
doctor?: boolean | undefined;
doctorInstall?: string | undefined;
doctorTest?: string | undefined;
enginesNode?: boolean | undefined;
errorLevel?: number | undefined;
filter?: import("../types").FilterRejectPattern | undefined;
filterVersion?: import("../types").FilterRejectPattern | undefined;
format?: string[] | undefined;
global?: boolean | undefined;
interactive?: boolean | undefined;
jsonAll?: boolean | undefined;
jsonDeps?: boolean | undefined;
jsonUpgraded?: boolean | undefined;
loglevel?: string | undefined;
mergeConfig?: boolean | undefined;
minimal?: boolean | undefined;
packageData?: string | undefined;
packageFile?: string | undefined;
packageManager?: string | undefined;
peer?: boolean | undefined;
pre?: boolean | undefined;
prefix?: string | undefined;
registry?: string | undefined;
reject?: import("../types").FilterRejectPattern | undefined;
rejectVersion?: import("../types").FilterRejectPattern | undefined;
removeRange?: boolean | undefined;
retry?: number | undefined;
silent?: boolean | undefined;
target?: import("../types").Target | undefined;
timeout?: number | undefined;
upgrade?: boolean | undefined;
args?: any[] | undefined;
cli?: boolean | undefined;
json?: boolean | undefined;
nodeEngineVersion?: string | undefined;
peerDependencies?: import("../types").Index<any> | undefined;
rcConfigPath?: string | undefined;
};
export default mergeOptions;