UNPKG

xo

Version:

JavaScript/TypeScript linter (ESLint wrapper) with great defaults

5 lines (4 loc) 274 B
import type Settings from '../settings'; import type { ErrnoException, Stats } from '../types'; export declare type AsyncCallback = (error: ErrnoException, stats: Stats) => void; export declare function read(path: string, settings: Settings, callback: AsyncCallback): void;