vue-docgen-api
Version:
Toolbox to extract information from Vue component files for documentation generation purposes.
9 lines (8 loc) • 314 B
TypeScript
import { DocBlockTags } from '../Documentation';
/**
* Given a string, this functions returns an object with
* two keys:
* - `tags` an array of tags {title: tagname, content: }
* - `description` whatever is left once the tags are removed
*/
export default function getDocblockTags(str: string): DocBlockTags;