Add docs to the last export of cli-common

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2021-10-26 14:13:17 +02:00
parent 18d73ecc9d
commit c2d50a0073
3 changed files with 12 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli-common': patch
---
Add docs to the last export of cli-common
+1 -1
View File
@@ -21,6 +21,6 @@ export type Paths = {
resolveTargetRoot: ResolveFunc;
};
// @public (undocumented)
// @public
export type ResolveFunc = (...paths: string[]) => string;
```
+6 -1
View File
@@ -17,7 +17,12 @@
import fs from 'fs';
import { dirname, resolve as resolvePath } from 'path';
/** @public */
/**
* A function that takes a set of path fragments and resolves them into a
* single complete path, relative to some root.
*
* @public
*/
export type ResolveFunc = (...paths: string[]) => string;
/**