yahoo-finance2
Version:
JS API for Yahoo Finance
24 lines • 606 B
TypeScript
import type { ParsedPath } from "../types.js";
/**
* Generate a path from `ParsedPath` object.
*
* @example Usage
* ```ts
* import { format } from "@std/path/posix/format";
* import { assertEquals } from "@std/assert";
*
* const path = format({
* root: "/",
* dir: "/path/dir",
* base: "file.txt",
* ext: ".txt",
* name: "file"
* });
* assertEquals(path, "/path/dir/file.txt");
* ```
*
* @param pathObject The path object to format.
* @returns The formatted path.
*/
export declare function format(pathObject: Partial<ParsedPath>): string;
//# sourceMappingURL=format.d.ts.map