Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
Reorder JsonType declarations
Browse files Browse the repository at this point in the history
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
  • Loading branch information
Jérôme Benoit committed Feb 10, 2022
1 parent 6114e6f commit a6243c3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/types/JsonType.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
type JsonArray = Array<JsonValue>;

type JsonValue = string | number | boolean | Date | JsonType | JsonArray;

export interface JsonType {
[key: string]: JsonValue;
}

type JsonArray = Array<JsonValue>;

type JsonValue = string | number | boolean | Date | JsonType | JsonArray;

0 comments on commit a6243c3

Please sign in to comment.