mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
12 lines
297 B
TypeScript
12 lines
297 B
TypeScript
import { PathLike } from "fs";
|
|
|
|
export function fileExists(filePath: PathLike, callback: (exists: boolean) => void): void;
|
|
|
|
export function waitForFile(
|
|
filePath: PathLike,
|
|
checkInterval: number,
|
|
startTime: number,
|
|
maxWaitDuration: number,
|
|
timeoutErrorMessage?: string
|
|
): Promise<void>;
|