@ng-doc/utils
Version:
<!-- PROJECT LOGO --> <br /> <div align="center"> <a href="https://github.com/ng-doc/ng-doc"> <img src="https://ng-doc.com/assets/images/ng-doc.svg?raw=true" alt="Logo" height="150px"> </a>
15 lines (14 loc) • 409 B
TypeScript
import { NgDocKeyword } from '@ng-doc/core';
import { Element } from 'hast';
export type AddKeyword = (keyword: string) => void;
export type GetKeyword = (keyword: string) => NgDocKeyword | undefined;
interface Config {
addUsedKeyword?: AddKeyword;
getKeyword?: GetKeyword;
}
/**
*
* @param config
*/
export default function keywordsPlugin(config: Config): (tree: Element) => undefined;
export {};