vue-docgen-api
Version:
Toolbox to extract information from Vue component files for documentation generation purposes.
9 lines (8 loc) • 428 B
TypeScript
import * as bt from '@babel/types';
import { NodePath } from 'ast-types/lib/node-path';
import { BlockTag, ParamType } from '../Documentation';
export default function getTypeFromAnnotation(typeNode: bt.TypeAnnotation | bt.TSTypeAnnotation | bt.Noop | null): ParamType | undefined;
export declare function decorateItem(item: NodePath, propDescriptor: {
description?: string;
tags?: Record<string, BlockTag[]>;
}): void;