i need a javascript regex to parse the following type out of a file. The comments should be ignored.

type classes = {
  /** Styles applied to the root element. */
  root?: string,
  /** Styles applied to the root element unless `square={true}`. */
  rounded?: string,
  /** State class applied to the root element if `expanded={true}`. */
  expanded?: string,
  /** State class applied to the root element if `disabled={true}`. */
  disabled?: string,
  /** Styles applied to the root element unless `disableGutters={true}`. */
  gutters?: string,
  /** Styles applied to the region element, the container of the children. */
  region?: string,
}