1
2
3
4
5
6
7
8
9
10
11
12
13
| declare module 'totalist' {
| import { Stats } from 'fs';
| export type Caller = (relPath: string, absPath: string, stats: Stats) => any;
| function totalist(dir: string, callback: Caller, prefix?: string): Promise<void>;
| export = totalist;
| }
|
| declare module 'totalist/sync' {
| import { Stats } from 'fs';
| export type Caller = (relPath: string, absPath: string, stats: Stats) => any;
| function totalist(dir: string, callback: Caller, prefix?: string): void;
| export = totalist;
| }
|
|