add nullable to union

This commit is contained in:
Matt Hill
2023-03-28 09:30:03 -06:00
parent 01768c6e1a
commit 5943d961ed

View File

@@ -67,6 +67,7 @@ export interface ValueSpecBoolean extends WithStandalone {
export interface ValueSpecUnion extends WithStandalone {
type: "union";
nullable: boolean;
default: null | string
variants: Record<string, { name: string; spec: InputSpec }>;
}