mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 08:33:11 +00:00
refactor: split api into api, api-cli & api-plugin
This commit is contained in:
@@ -19,7 +19,6 @@ import {Application, ProjectReflection} from 'typedoc';
|
||||
|
||||
/**
|
||||
* Get a project reflection from a path
|
||||
*
|
||||
* @param sourcePath Path to get reflection from
|
||||
* @param excludeExternals Exclude external dependencies
|
||||
*/
|
||||
@@ -49,7 +48,7 @@ export function getProjectReflection(sourcePath: PathLike, excludeExternals = tr
|
||||
// get project reflection from input files
|
||||
const result = app.convert(inputFiles);
|
||||
|
||||
if (typeof result === 'undefined') {
|
||||
if (result === undefined) {
|
||||
throw new TypeError('Project reflection could not be generated.');
|
||||
}
|
||||
|
||||
@@ -58,7 +57,6 @@ export function getProjectReflection(sourcePath: PathLike, excludeExternals = tr
|
||||
|
||||
/**
|
||||
* Get path that contains a tsconfig.json
|
||||
*
|
||||
* @param startPath Path from where to start searching "upwards"
|
||||
*/
|
||||
export function getTsconfigPath(startPath: string): string {
|
||||
|
||||
Reference in New Issue
Block a user