index.d.ts 291 B

123456789
  1. import { FsSynchronousApi } from '@jsonjoy.com/fs-node-utils';
  2. export declare const toTreeSync: (fs: FsSynchronousApi, opts?: ToTreeOptions) => string;
  3. export interface ToTreeOptions {
  4. dir?: string;
  5. tab?: string;
  6. depth?: number;
  7. separator?: '/' | '\\';
  8. sort?: boolean;
  9. }