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 */
tag: {
id: string;
name: string;
description?: string;
name?: string; // optional for backwards compatibility - removed in 0.3.4
description?: string; // optional for backwards compatibility - removed in 0.3.4
"variant-names": {
[key: string]: string;
};