updates types

This commit is contained in:
Mose Müller
2024-02-20 16:38:44 +01:00
parent f0384b817c
commit 1c029e301b
4 changed files with 11 additions and 16 deletions

View File

@ -1,11 +1,5 @@
export interface SerializedValue {
type: string;
value: Record<string, unknown> | Array<Record<string, unknown>>;
readonly: boolean;
doc: string | null;
async?: boolean;
parameters?: unknown;
}
import { SerializedValue } from '../components/GenericComponent';
export type State = {
type: string;
value: Record<string, SerializedValue> | null;