Files
DefinitelyTyped/path-exists/index.d.ts
2016-04-27 21:30:22 -07:00

14 lines
420 B
TypeScript

// Type definitions for path-exists 1.0.0
// Project: https://github.com/sindresorhus/path-exists
// Definitions by: Shogo Iwano <https://github.com/shiwano>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
interface PathExists {
(path: string, callback: (error: Error, exists: boolean) => void): void;
sync(path: string): boolean;
}
declare var pathExists: PathExists;
export = pathExists;