Kind: Function
Convert an absolute file path to a path relative to the repo root. Always uses forward slashes.
Signature
tsfunction toRelativePath(absolutePath: string, normalizedRepoPath: string): string
Parameters
| Name | Type |
|---|---|
absolutePath | string |
normalizedRepoPath | string |
Returns: string
Was this page helpful?