Skip to content

Commit e33f37b

Browse files
committed
fix: correct type of JSON schema v4 items property
1 parent dbaba63 commit e33f37b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/endpoint/capabilities.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export interface CapabilityJSONSchema {
4444
enum?: string[]
4545
propertyName?: unknown
4646
properties?: { [name: string]: CapabilityJSONSchema }
47-
items?: CapabilityJSONSchema | [CapabilityJSONSchema]
47+
items?: CapabilityJSONSchema | CapabilityJSONSchema[]
4848
title?: string
4949
}
5050

0 commit comments

Comments
 (0)