blob: 4ef625677eb6a6bea1b5444c12d39433066c13e4 [file] [log] [blame]
import "list"
#Arrays: {
bar?: [...#MyEnum]
foo?: [...#MyStruct]
baz?: list.UniqueItems()
qux?: list.MinItems(1) & list.MaxItems(3)
}
#Arrays: {
bar?: [...#MyEnum]
foo?: [...#MyStruct]
}
// MyStruct
#MyStruct: {
a?: int
e?: [...#MyEnum]
e?: [...#MyEnum]
}
// MyEnum
#MyEnum: *"1" | "2" | "3"