Interface AnnotationQueryStrategy

interface AnnotationQueryStrategy {
    queryElementDeprecation(
        $element: Cheerio<Element>,
    ): null | DeprecationContent;
    queryElementDescription($element: Cheerio<Element>): Cheerio<Element>;
    queryElementModifiersText($element: Cheerio<Element>): string;
    queryElementNameText(
        $element: Cheerio<Element>,
        $signature: Cheerio<Element>,
    ): string;
    queryElementPrototypeText($element: Cheerio<Element>): string;
    queryElementReturnType($signature: Cheerio<Element>): string;
    queryElementSignature($element: Cheerio<Element>): Cheerio<Element>;
    queryElementTables($object: CheerioAPI): Cheerio<Element>;
}

Implemented by

Methods

  • Parameters

    • $element: Cheerio<Element>
    • $signature: Cheerio<Element>

    Returns string