We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bf4079 commit afeacd8Copy full SHA for afeacd8
packages/json-rpc/src/compatibility.ts
@@ -13,13 +13,13 @@ export type JsonCompatibleValue =
13
* An array of JsonCompatibleValue
14
*/
15
// Use interface extension instead of type alias to make circular declaration possible.
16
-export interface JsonCompatibleArray extends ReadonlyArray<JsonCompatibleValue> {}
+export interface JsonCompatibleArray extends Array<JsonCompatibleValue> {}
17
18
/**
19
* A string to json value dictionary.
20
21
export interface JsonCompatibleDictionary {
22
- readonly [key: string]: JsonCompatibleValue | readonly JsonCompatibleValue[];
+ [key: string]: JsonCompatibleValue;
23
}
24
25
export function isJsonCompatibleValue(value: unknown): value is JsonCompatibleValue {
0 commit comments