Skip to content

Commit

Permalink
Make JsonObject accept undefined value (#583)
Browse files Browse the repository at this point in the history
Co-authored-by: Jingtai Piao <jpiao@Jingtais-MacBook-Pro.local>
  • Loading branch information
jp928 and Jingtai Piao authored Aug 23, 2024
1 parent c953a2b commit 89f7b79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export type JsonValue =
| JsonArray;

export type JsonObject = {
[key: string]: JsonValue;
[key: string]: JsonValue | undefined;
};

export type JsonArray = JsonValue[];
Expand Down

0 comments on commit 89f7b79

Please sign in to comment.