Skip to content

Commit efb5b32

Browse files
core: frontend: common: Add JSONValue
Signed-off-by: Patrick José Pereira <[email protected]>
1 parent 7c9f658 commit efb5b32

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

core/frontend/src/types/common.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
/** Represents a BlueOS service, with the necessary information to identify it on the system */
22

3+
export type JSONValue =
4+
| string
5+
| number
6+
| boolean
7+
| { [x: string]: JSONValue }
8+
| Array<JSONValue>;
9+
310
export interface Dictionary<T> {
411
[key: string]: T;
512
}

0 commit comments

Comments
 (0)