We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
d.ts
1 parent 05a1c5f commit ad6a95fCopy full SHA for ad6a95f
index.d.ts
@@ -134,7 +134,7 @@ export interface ReactJsonViewProps {
134
*
135
* Default: null
136
*/
137
- defaultValue?: string | number | boolean | null | undefined | string[] | number[] | boolean[] | {}[] | {};
+ defaultValue?: TypeDefaultValue | TypeDefaultValue[] | null;
138
}
139
140
export interface OnCopyProps {
@@ -219,6 +219,8 @@ export interface OnSelectProps {
219
220
221
222
+export type TypeDefaultValue = string | number | boolean | object;
223
+
224
export interface ThemeObject {
225
base00: string;
226
base01: string;
0 commit comments