vue-docgen-api
Version:
Toolbox to extract information from Vue component files for documentation generation purposes.
9 lines (8 loc) • 671 B
TypeScript
import * as bt from '@babel/types';
import { NodePath } from 'ast-types/lib/node-path';
import { ParseOptions } from '../../types';
import Documentation from '../../Documentation';
export declare function defineHandler(handler: (documentation: Documentation, componentDefinition: NodePath, astPath: bt.File, opt: ParseOptions) => Promise<void>): (documentation: Documentation, componentDefinition: NodePath, astPath: bt.File, opt: ParseOptions) => Promise<void>;
export declare function getTypeDefinitionFromIdentifier(astPath: bt.File, typeName: string, opt: ParseOptions, importName?: string): NodePath | undefined;
declare const _default: {};
export default _default;