UNPKG

@nodelib/fs.walk

Version:

A library for efficiently walking a directory recursively

12 lines (11 loc) 410 B
/// <reference types="node" /> import type * as scandir from '@nodelib/fs.scandir'; export type Entry = scandir.Entry; export type ErrnoException = NodeJS.ErrnoException; export interface QueueItem { directory: string; base?: string; } export type EntryEventCallback = (entry: Entry) => void; export type ErrorEventCallback = (error: ErrnoException) => void; export type EndEventCallback = () => void;