odin-js-fundamentals-part-5/node_modules/@nodelib/fs.scandir/out/providers/async.d.ts

8 lines
524 B
TypeScript
Raw Normal View History

2024-01-11 08:52:05 +00:00
/// <reference types="node" />
import type Settings from '../settings';
import type { Entry } from '../types';
export declare type AsyncCallback = (error: NodeJS.ErrnoException, entries: Entry[]) => void;
export declare function read(directory: string, settings: Settings, callback: AsyncCallback): void;
export declare function readdirWithFileTypes(directory: string, settings: Settings, callback: AsyncCallback): void;
export declare function readdir(directory: string, settings: Settings, callback: AsyncCallback): void;