mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-17 12:16:38 +08:00
15 lines
464 B
TypeScript
15 lines
464 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/borisyankov/DefinitelyTyped
|
|
|
|
declare module "path-exists" {
|
|
interface PathExists {
|
|
(path: string, callback: (error: Error, exists: boolean) => void): void;
|
|
sync(path: string): boolean;
|
|
}
|
|
|
|
var pathExists: PathExists;
|
|
export = pathExists;
|
|
}
|