mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
12 lines
454 B
TypeScript
12 lines
454 B
TypeScript
// Type definitions for path-is-absolute 1.0
|
|
// Project: https://github.com/sindresorhus/path-is-absolute#readme
|
|
// Definitions by: Mohamed Hegazy <https://github.com/mhegazy>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
export = path_is_absolute;
|
|
declare function path_is_absolute(path: string): boolean;
|
|
declare namespace path_is_absolute {
|
|
function win32(path: string): boolean;
|
|
function posix(path: string): boolean;
|
|
}
|