UNPKG

vue-docgen-api

Version:

Toolbox to extract information from Vue component files for documentation generation purposes.

21 lines (20 loc) 453 B
import * as bt from '@babel/types'; interface ImportedVariable { filePath: string[]; exportName: string; } /** * A set of imported variables * key: local variable name * value: ImportedVariable */ export interface ImportedVariableSet { [varname: string]: ImportedVariable; } /** * * @param ast * @param varNameFilter */ export default function resolveRequired(ast: bt.File, varNameFilter?: string[]): ImportedVariableSet; export {};