UNPKG

@jsdocs-io/extractor

Version:

Analyze and extract the API from npm packages

13 lines 600 B
import * as tsm from 'ts-morph'; import { InterfaceDeclaration } from '../types/module-declarations'; import { SourceProvider } from './source-provider'; import { TypeChecker } from './type-checker'; export declare function isInterface(declaration: tsm.Node): declaration is tsm.InterfaceDeclaration; export declare function newInterface({ id, name, declaration, getSource, getType, }: { id: string; name: string; declaration: tsm.InterfaceDeclaration; getSource: SourceProvider; getType: TypeChecker; }): InterfaceDeclaration; //# sourceMappingURL=interfaces.d.ts.map