@ng-doc/builder
Version:
<!-- PROJECT LOGO --> <br /> <div align="center"> <a href="https://github.com/ng-doc/ng-doc"> <img src="https://ng-doc.com/assets/images/ng-doc.svg?raw=true" alt="Logo" height="150px"> </a>
9 lines (8 loc) • 315 B
TypeScript
import { Tree } from '@angular-devkit/schematics';
/**
* Extracts the category name from the given file path.
* @param tree
* @param {string} filePath The file path.
* @returns {string | null} The category name.
*/
export declare function extractDefaultExportName(tree: Tree, filePath: string): string | null;