UNPKG

@jsdocs-io/extractor

Version:

Analyze and extract the API from npm packages

12 lines 584 B
import * as tsm from 'ts-morph'; import { ModuleDeclarations, NamespaceDeclaration } from '../types/module-declarations'; import { SourceProvider } from './source-provider'; export declare function isNamespace(declaration: tsm.Node): declaration is tsm.ModuleDeclaration; export declare function newNamespace({ id, name, declaration, declarations, getSource, }: { id: string; name: string; declaration: tsm.ModuleDeclaration; declarations: ModuleDeclarations; getSource: SourceProvider; }): NamespaceDeclaration; //# sourceMappingURL=namespaces.d.ts.map