Page MenuHomePhorge

path.d.ts
No OneTemporary

Size
787 B
Referenced Files
None
Subscribers
None

path.d.ts

declare module 'path' {
interface ParsedPath {
root: string;
dir: string;
base: string;
ext: string;
name: string;
}
const sep: string;
const delimiter: string;
function basename(path: string, ext?: string): string;
function dirname(path: string): string;
function extname(path: string): string;
function join(...paths: string[]): string;
function normalize(path: string): string;
function resolve(...paths: string[]): string;
function relative(from: string, to: string): string;
function isAbsolute(path: string): boolean;
function parse(path: string): ParsedPath;
function format(pathObject: Partial<ParsedPath>): string;
}
declare module 'ant:path' {
export * from 'path';
}
declare module 'node:path' {
export * from 'path';
}

File Metadata

Mime Type
text/plain
Expires
Sun, May 3, 7:47 AM (1 d, 6 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
538209
Default Alt Text
path.d.ts (787 B)

Event Timeline