interface stringToObjConfig {
  trim: Boolean;
  delimiters: {
    values: { [key: string]: any },
    blackhole: string | Boolean,
  };
}

declare module 'string-to-obj' {

  class stringToObj {
    constructor(config: stringToObjConfig);
  }

  namespace stringToObj {
    function parse(input: string): { [key: string]: string[] };
    const source: stringToObjConfig;
  }

  export = stringToObj;

}


interface stringToObjConfig {
  trim?: Boolean;
  delimiters?: {
    values?: { [key: string]: any },
    blackhole?: string | Boolean,
  };
}

declare module 'string-to-obj' {

  class stringToObj {
    constructor(config?: stringToObjConfig);
  }

  namespace stringToObj {
    function parse(input: string): { [key: string]: string[] };
    const source: stringToObjConfig;
  }

  export = stringToObj;

}


Configure args to be optional in TypeScript
:wrench: Configure args to be optional in TypeScript
