mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
14 lines
451 B
TypeScript
14 lines
451 B
TypeScript
// Type definitions for path-exists 3.0
|
|
// Project: https://github.com/sindresorhus/path-exists
|
|
// Definitions by: Shogo Iwano <https://github.com/shiwano>
|
|
// BendingBender <https://github.com/BendingBender>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
export = pathExists;
|
|
|
|
declare function pathExists(path: string): Promise<boolean>;
|
|
|
|
declare namespace pathExists {
|
|
function sync(path: string): boolean;
|
|
}
|