docs: function fixIndent(str: string): string {
    const trimmedStr = str
      .replace(/^\n*/m, '') //  remove leading newline
      .replace(/[ \t]*$/, ''); // remove trailing spaces and tabs
    const indentMatch = /^[ \t]*/.exec(trimmedStr);
    invariant(Array.isArray(indentMatch));
    const indent = indentMatch[0]; // figure out indent
    return trimmedStr.replace(RegExp('^' + indent, 'mg'), ''); // remove indent
  }