createImportPath
Creates a relative import path from the current directory to the destination path.
Presentation
function createImportPath (currentDir: string, destinationPath: string): string;
Returns
string
-{string} The relative import path from the current directory to the destination path.
Parameters
Name | Type | Description |
---|---|---|
currentDir | string | @param {string} currentDir - The current directory path. |
destinationPath | string | @param {string} destinationPath - The destination path. |