typeListGet = (type, index) => {
  const marker = findMarker(type, index);
  let n = type._start;

  if (marker !== null) {
    n = marker.p;
    index -= marker.index;
  }

  for (; n !== null; n = n.right) {
    if (!n.deleted && n.countable) {
      if (index < n.length) {
        return n.content.getContent()[index];
      }

      index -= n.length;
    }
  }
}
@param {AbstractType<any>} type
@param {number} index
@return {any}

@private
@function