code: function parseListTypeOption(opt, value, errors) {
          if (value === void 0) { value = ""; }
          value = trimString(value);
          if (ts.startsWith(value, "-")) {
              return undefined;
          }
          if (value === "") {
              return [];
          }
          var values = value.split(",");
          switch (opt.element.type) {
              case "number":
                  return ts.map(values, parseInt);
              case "string":
                  return ts.map(values, function (v) { return v || ""; });
              default:
                  return ts.filter(ts.map(values, function (v) { return parseCustomTypeOption(opt.element, v, errors); }), function (v) { return !!v; });
          }
      }
docs: /* @internal