We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfa47f6 commit 0beabc7Copy full SHA for 0beabc7
common/src/types/json.ts
@@ -21,7 +21,7 @@ export const jsonValueSchema: z.ZodType<JSONValue> = z.lazy(() =>
21
export const jsonObjectSchema: z.ZodType<JSONObject> = z.lazy(() =>
22
z.record(z.string(), jsonValueSchema),
23
)
24
-export type JSONObject = { [key: string]: JSONValue }
+export type JSONObject = { [key in string]: JSONValue }
25
26
export const jsonArraySchema: z.ZodType<JSONArray> = z.lazy(() =>
27
z.array(jsonValueSchema),
0 commit comments