UNPKG

universal-fs

Version:

Allows a client or server to access the file system in the current codebase or a different one.

12 lines (9 loc) 265 B
interface Options extends ObjectEncodingOptions, Abortable { withFileTypes?: false | undefined; recursive?: boolean | undefined; } export interface ReaddirParams { path: PathLike; options?: Options | null; } export type ReaddirReturn = Promise<string[]>;