UNPKG

465 BTypeScriptView Raw
1// Type definitions for path-is-absolute 1.0
2// Project: https://github.com/sindresorhus/path-is-absolute#readme
3// Definitions by: Mohamed Hegazy <https://github.com/mhegazy>
4// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5
6export = path_is_absolute;
7declare function path_is_absolute(path: string): boolean;
8declare namespace path_is_absolute {
9 function win32(path: string): boolean;
10 function posix(path: string): boolean;
11}