@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>
8 lines (7 loc) • 386 B
TypeScript
import { SourceFile } from 'ts-morph';
/**
* Retrieves the source file for a given category.
* @param {SourceFile} sourceFile - The source file to retrieve the category from.
* @returns {SourceFile | undefined} The source file for the category, or undefined if it could not be found.
*/
export declare function getCategorySourceFile(sourceFile: SourceFile): SourceFile | undefined;