@ui5/linter
Version:
A static code analysis tool for UI5
13 lines (12 loc) • 381 B
TypeScript
import type { ReadStream } from "node:fs";
import { Tag as SaxTag } from "sax-wasm";
import { Directive } from "../LinterContext.js";
interface ExtractedTags {
scriptTags: SaxTag[];
stylesheetLinkTags: SaxTag[];
}
export declare function extractHTMLTags(contentStream: ReadStream): Promise<{
extractedTags: ExtractedTags;
directives: Set<Directive>;
}>;
export {};