Skip to content

Commit 22a69c9

Browse files
gnidanCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <[email protected]>
1 parent e9a2985 commit 22a69c9

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

packages/format/src/types/program/context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export namespace Context {
9696
gather: Context[];
9797
}
9898

99-
export const isGather = (value: unknown): value is Pick =>
99+
export const isGather = (value: unknown): value is Gather =>
100100
typeof value === "object" && !!value &&
101101
"gather" in value && value.gather instanceof Array &&
102102
value.gather.every(isContext);

schemas/program/context/frame.schema.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ properties:
1212
frame:
1313
title: Relevant compilation frame
1414
type: string
15-
items:
16-
$ref: "schema:ethdebug/format/program/context"
17-
minItems: 2
18-
additionalItems: false
1915
required:
2016
- frame
2117

0 commit comments

Comments
 (0)