Skip to content

Commit a2a16b5

Browse files
committed
remove redundancy from JsonCompatibleDictionary
1 parent 85880a4 commit a2a16b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/json-rpc/src/compatibility.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export interface JsonCompatibleArray extends ReadonlyArray<JsonCompatibleValue>
1919
* A string to json value dictionary.
2020
*/
2121
export interface JsonCompatibleDictionary {
22-
readonly [key: string]: JsonCompatibleValue | readonly JsonCompatibleValue[];
22+
readonly [key: string]: JsonCompatibleValue;
2323
}
2424

2525
export function isJsonCompatibleValue(value: unknown): value is JsonCompatibleValue {

0 commit comments

Comments
 (0)