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 | |
destinationPath | string |