-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtypes.ts
68 lines (64 loc) · 1.14 KB
/
types.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
export interface Options {
bench: boolean;
force: boolean;
fill: boolean;
fmt: boolean;
jsonc: boolean;
lint: boolean;
lock: boolean;
lockfile: string;
map: boolean;
name: string;
task: boolean;
test: boolean;
tsconfig: boolean;
yes: boolean;
}
export type ConfigFile = {
compilerOptions?: Record<string, unknown>;
fmt?: {
files?: {
include?: string[];
exclude?: string[];
};
options?: Record<string, unknown>;
};
lint?: {
files?: {
include?: string[];
exclude?: string[];
};
rules?: {
tags?: string[];
include?: string[];
exclude?: string[];
};
};
tasks?: Record<string, unknown>;
test?: {
files?: {
include: string[];
exclude: string[];
};
};
bench?: {
files?: {
include: string[];
exclude: string[];
};
};
importMap?: string;
lock?: boolean | string;
};
export interface WriteFileSecOptions extends Deno.WriteFileOptions {
force?: boolean;
}
export type FeatureVersions = {
[key: string]: {
major: number;
minor: number;
};
};
export interface PromptAnswerOptions {
testmode: boolean;
}