dgeni-packages
Version:
A collection of dgeni packages for generating documentation from source code
29 lines (28 loc) • 951 B
TypeScript
import { Declaration, TypeChecker } from 'typescript';
import { ModuleSymbol } from '../services/TsParser';
import { FileInfo } from '../services/TsParser/FileInfo';
import { ApiDoc } from './ApiDoc';
import { ExportDoc } from './ExportDoc';
/**
* A module doc represents an ES6 module that contains exports such as classes, functions, constants, etc,
* which are represented by docs of their own.
*/
export declare class ModuleDoc implements ApiDoc {
symbol: ModuleSymbol;
basePath: string;
hidePrivateMembers: boolean;
typeChecker: TypeChecker;
docType: string;
id: string;
name: string;
declaration: Declaration;
aliases: string[];
exports: ExportDoc[];
fileInfo: FileInfo;
startingLine: number;
endingLine: number;
path: string;
outputPath: string;
content: string;
constructor(symbol: ModuleSymbol, basePath: string, hidePrivateMembers: boolean, typeChecker: TypeChecker);
}