mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-13 12:22:02 +08: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 parent
2089d27c7f
commit
79dc2f4c35
1 file changed
+1
Vendored
+1
@@ -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