Getting Started
Writing content
API Documentation
Customization
Recipes
API References Develop
@ng-doc/builder / Function

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

NameTypeDescription
currentDir
string
destinationPath
string