repositories
/
e-mobility-charging-stations-simulator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6114e6f
)
Reorder JsonType declarations
author
Jérôme Benoit
<jerome.benoit@sap.com>
Thu, 10 Feb 2022 15:01:07 +0000
(16:01 +0100)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Thu, 10 Feb 2022 15:01:07 +0000
(16:01 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/types/JsonType.ts
patch
|
blob
|
blame
|
history
diff --git
a/src/types/JsonType.ts
b/src/types/JsonType.ts
index 8ed02231f04d94fc942e2fdb8c30f9fc443be19a..79670c9a5c894e4a63643a93d149cd0b625c1239 100644
(file)
--- a/
src/types/JsonType.ts
+++ b/
src/types/JsonType.ts
@@
-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;