source: trip-planner-front/node_modules/@nodelib/fs.scandir/out/index.d.ts

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 855 bytes
RevLine 
[6a3a178]1import type { FileSystemAdapter, ReaddirAsynchronousMethod, ReaddirSynchronousMethod } from './adapters/fs';
2import * as async from './providers/async';
3import Settings, { Options } from './settings';
4import type { Dirent, Entry } from './types';
5declare type AsyncCallback = async.AsyncCallback;
6declare function scandir(path: string, callback: AsyncCallback): void;
7declare function scandir(path: string, optionsOrSettings: Options | Settings, callback: AsyncCallback): void;
8declare namespace scandir {
9 function __promisify__(path: string, optionsOrSettings?: Options | Settings): Promise<Entry[]>;
10}
11declare function scandirSync(path: string, optionsOrSettings?: Options | Settings): Entry[];
12export { scandir, scandirSync, Settings, AsyncCallback, Dirent, Entry, FileSystemAdapter, ReaddirAsynchronousMethod, ReaddirSynchronousMethod, Options };
Note: See TracBrowser for help on using the repository browser.