make name optional on union type

This commit is contained in:
Lucy Cifferello
2023-01-30 15:03:30 -07:00
parent c388551797
commit 977366f872

View File

@@ -318,8 +318,8 @@ export type ValueSpecUnion = {
/** What tag for the specification, for tag unions */ /** What tag for the specification, for tag unions */
tag: { tag: {
id: string; id: string;
name: string; name?: string; // optional for backwards compatibility - removed in 0.3.4
description?: string; description?: string; // optional for backwards compatibility - removed in 0.3.4
"variant-names": { "variant-names": {
[key: string]: string; [key: string]: string;
}; };