Closed gmlion closed 6 years ago
Looks like it's impossible to define an empty list in a yaml file. [] is inferred to be a string instead of a string list. Is there a way to keep the correct type inference with a list that can optionally be empty?
@gmlion just use non empty list in your example yaml file/string.
Looks like it's impossible to define an empty list in a yaml file. [] is inferred to be a string instead of a string list. Is there a way to keep the correct type inference with a list that can optionally be empty?