text: "use strict";
  Object.defineProperty(exports, "__esModule", { value: true });
  //@ts-ignore
  const fs = require("fs");
  //@ts-ignore
  const path = require("path");
  function findAllFilesInFolder(dir) {
      return fs.readdirSync(dir).flatMap(fileName => {
          const fullFile = path.join(dir, fileName);
          if (fs.statSync(fullFile).isDirectory()) {
              return findAllFilesInFolder(fullFile);
          }
          else {
              return [fullFile];
          }
      });
  }
  exports.default = findAllFilesInFolder;
  //# sourceMappingURL=findAllFilesInFolder.js.map