From #13 (comment)
A struct with
Vars []map[string]interface{} `config:"vars" json:"vars,omitempty"`
is converted to:
vars?: map[string]interface {}[];
instead of
vars?: { [key: string]: any }[];
but if we drop the array
Vars map[string]interface{} `config:"vars" json:"vars,omitempty"`
it's converted to
vars?: { [key: string]: any };