UNPKG

@softwareventures/maintain-project

Version:

Automatically create and maintain TypeScript projects with standard settings for Software Ventures Limited

16 lines (15 loc) 486 B
import type { FileNode } from "./file-node.js"; export interface Directory { readonly type: "directory"; readonly entries: ReadonlyMap<string, FileNode>; } export declare const emptyDirectory: Directory; export interface ListOptions { readonly directory: Directory; readonly recursive?: boolean | undefined; } export interface Entry { readonly path: string; readonly file: FileNode; } export declare function list(options: ListOptions): IterableIterator<Entry>;