15 lines
406 B
Plaintext
15 lines
406 B
Plaintext
//#region src/utils/filepath.d.ts
|
|
/**
|
|
* @module
|
|
* FilePath utility.
|
|
*/
|
|
type FilePathOptions = {
|
|
filename: string;
|
|
root?: string;
|
|
defaultDocument?: string;
|
|
};
|
|
export declare const getFilePath: (options: FilePathOptions) => string | undefined;
|
|
export declare const getFilePathWithoutDefaultDocument: (options: Omit<FilePathOptions, "defaultDocument">) => string | undefined;
|
|
//#endregion
|
|
export {};
|