mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 07:40:10 +00:00
path.resolve
It can take a single "to" parameter : http://nodejs.org/docs/latest/api/path.html#path_path_resolve_from_to and in fact that is *the* way you get "Absolute paths" in node
This commit is contained in:
1
node/node.d.ts
vendored
1
node/node.d.ts
vendored
@@ -808,6 +808,7 @@ declare module "fs" {
|
||||
declare module "path" {
|
||||
export function normalize(p: string): string;
|
||||
export function join(...paths: any[]): string;
|
||||
export function resolve(to: string);
|
||||
export function resolve(from: string, to: string): string;
|
||||
export function resolve(from: string, from2: string, to: string): string;
|
||||
export function resolve(from: string, from2: string, from3: string, to: string): string;
|
||||
|
||||
Reference in New Issue
Block a user