UNPKG

410 BTypeScriptView Raw
1/// <reference types="node" />
2import type * as scandir from '@nodelib/fs.scandir';
3export type Entry = scandir.Entry;
4export type ErrnoException = NodeJS.ErrnoException;
5export interface QueueItem {
6 directory: string;
7 base?: string;
8}
9export type EntryEventCallback = (entry: Entry) => void;
10export type ErrorEventCallback = (error: ErrnoException) => void;
11export type EndEventCallback = () => void;