Skip to content

Commit 9b06ccc

Browse files
committed
(#87) generateOutputPath API docs
1 parent 1509fe1 commit 9b06ccc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: lib/generate-output-path.function.ts

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ import { join, parse } from "path";
22
import { cwd } from "process";
33
import { FileType } from "./file-type.enum";
44

5+
/**
6+
* {@link generateOutputPath} is used to assemble full file path from a filename and various parameters
7+
* @param filename The base filename
8+
* @param params A config object which allows to configure {@link FileType}, base path, filename prefix and filename postfix
9+
*/
510
export const generateOutputPath = (
611
filename: string,
712
params?: {

0 commit comments

Comments
 (0)