Add docs to the last export of cli-common
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/cli-common': patch
|
||||
---
|
||||
|
||||
Add docs to the last export of cli-common
|
||||
@@ -21,6 +21,6 @@ export type Paths = {
|
||||
resolveTargetRoot: ResolveFunc;
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
// @public
|
||||
export type ResolveFunc = (...paths: string[]) => string;
|
||||
```
|
||||
|
||||
@@ -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;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user