MIRROR: javascript for 馃悳's, a tiny runtime with big ambitions
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at master 29 lines 716 B view raw
1declare module 'path' { 2 interface ParsedPath { 3 root: string; 4 dir: string; 5 base: string; 6 ext: string; 7 name: string; 8 } 9 10 interface PathModule { 11 sep: string; 12 delimiter: string; 13 basename(path: string, ext?: string): string; 14 dirname(path: string): string; 15 extname(path: string): string; 16 join(...paths: string[]): string; 17 normalize(path: string): string; 18 resolve(...paths: string[]): string; 19 relative(from: string, to: string): string; 20 isAbsolute(path: string): boolean; 21 parse(path: string): ParsedPath; 22 format(pathObject: Partial<ParsedPath>): string; 23 posix: PathModule; 24 win32: PathModule; 25 } 26 27 const path: PathModule; 28 export = path; 29}