UNPKG

314 BTypeScriptView Raw
1import { DocBlockTags } from '../Documentation';
2/**
3 * Given a string, this functions returns an object with
4 * two keys:
5 * - `tags` an array of tags {title: tagname, content: }
6 * - `description` whatever is left once the tags are removed
7 */
8export default function getDocblockTags(str: string): DocBlockTags;