message: fix: Fix extends option in tsconfig.json doesn't work
  Clone typedoc options object after loading file content.
  Closes
diff: import * as Path from 'path';
  import * as FS from 'fs';
  -import * as _ from 'lodash';
  +import { cloneDeep } from 'lodash';
  import { OptionsReader } from '..';
  import { Logger } from '../../loggers';
  @@ -51,13 +51,16 @@ export class TypeDocReader implements OptionsReader {
  }
  seen.add(file);
  - const data: unknown = require(file);
  + const fileContent: unknown = require(file);
  - if (typeof data !== 'object' || !data) {
  + if (typeof fileContent !== 'object' || !fileContent) {
  logger.error(`The file ${file} is not an object.`);
  return;
  }
  + // clone option object to avoid of property changes in re-calling this file
  + const data: object = cloneDeep(fileContent);
  +
  if ('extends' in data) {
  const extended: string[] = getStringArray(data['extends']);
  for (const extendedFile of extended) {
  