Skip to content

Commit a737dd0

Browse files
committed
These need to be optional now to not cause errors when checking the schema
I think there’s a back and forth on this in the validation library. sigh Signed-off-by: Stefan Marr <[email protected]>
1 parent 2cf2237 commit a737dd0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/shared/api.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export interface Executor {
77

88
export interface Suite {
99
name: string;
10-
desc: string | null;
10+
desc?: string | null;
1111

1212
/* no longer used */
1313
executor: Executor;
@@ -16,7 +16,7 @@ export interface Suite {
1616
export interface RunDetails {
1717
maxInvocationTime: number;
1818
minIterationTime: number;
19-
warmup: number | null;
19+
warmup?: number | null;
2020
}
2121

2222
export interface Benchmark {
@@ -35,10 +35,10 @@ export interface RunId {
3535
/** The current working directory. */
3636
location: string;
3737

38-
varValue: number | string | null;
39-
cores: number | string | null;
40-
inputSize: number | string | null;
41-
extraArgs: string | null;
38+
varValue?: number | string | null;
39+
cores?: number | string | null;
40+
inputSize?: number | string | null;
41+
extraArgs?: string | null;
4242
}
4343

4444
export interface Run {

0 commit comments

Comments
 (0)