1 parent 4193ef6 commit f5cc8bcCopy full SHA for f5cc8bc
1 file changed
src/render-to-json.ts
@@ -9,8 +9,9 @@ export type JsonNode = JsonElement | string;
9
*/
10
export type JsonElement = {
11
type: string;
12
- props: object;
13
- children: Array<JsonNode> | null;
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ props: Record<string, any>;
14
+ children: JsonNode[] | null;
15
$$typeof: symbol;
16
};
17
0 commit comments