@ui5/linter
Version:
A static code analysis tool for UI5
12 lines (11 loc) • 468 B
TypeScript
import type { FilePath } from "../linter/LinterContext.js";
export interface FSToVirtualPathOptions {
relFsBasePath: string;
virBasePath: string;
relFsBasePathTest?: string;
virBasePathTest?: string;
}
/**
* Normalize provided virtual paths to the original file paths
*/
export declare function transformVirtualPathToFilePath(virtualPath: string, { relFsBasePath, virBasePath, relFsBasePathTest, virBasePathTest }: FSToVirtualPathOptions): FilePath;