@jsonui/react 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,8 +2,14 @@
2
2
  import React, { ReactNode } from 'react';
3
3
  import { Store, AnyAction } from 'redux';
4
4
  import { Persistor } from 'redux-persist/es/types';
5
+ export declare type JSONPrimitive = string | number | boolean | null;
6
+ export declare type JSONValue = JSONPrimitive | JSONObject | JSONArray;
7
+ export declare type JSONObject = {
8
+ [member: string]: JSONValue;
9
+ };
10
+ export declare type JSONArray = Array<JSONValue>;
5
11
  export interface DefaultValues {
6
- [key: string]: Record<string, object>;
12
+ [key: string]: JSONValue;
7
13
  }
8
14
  declare type MyProps = {
9
15
  children: ReactNode;