index.d.ts 512 B

12345678910111213141516
  1. import { exec, spawn } from './shell';
  2. import { readFile, readJsonFile, readDir, readJsonDir, getSubdirNames } from './file';
  3. export declare namespace NodeUtils {
  4. type Shell = {
  5. exec: typeof exec;
  6. spawn: typeof spawn;
  7. };
  8. type FileSystem = {
  9. readFile: typeof readFile;
  10. readJsonFile: typeof readJsonFile;
  11. readDir: typeof readDir;
  12. readJsonDir: typeof readJsonDir;
  13. getSubdirNames: typeof getSubdirNames;
  14. };
  15. }
  16. //# sourceMappingURL=index.d.ts.map