1 | /// <reference types="node" />
|
2 | /// <reference types="node" />
|
3 | import type * as fs from 'node:fs';
|
4 | export interface Entry {
|
5 | dirent: Dirent;
|
6 | name: string;
|
7 | path: string;
|
8 | stats?: Stats;
|
9 | }
|
10 | export type Dirent = fs.Dirent;
|
11 | export type Stats = fs.Stats;
|
12 | export type ErrnoException = NodeJS.ErrnoException;
|
13 | export type AsyncCallback = (error: ErrnoException | null, entries: Entry[]) => void;
|