web-blog/node_modules/posthtml-match-helper/lib/index.d.ts
2026-05-29 19:34:34 +01:00

10 lines
241 B
TypeScript

import type { AttrMatcher, StringMatcher } from "posthtml";
interface Matcher {
tag?: StringMatcher;
attrs: AttrMatcher;
}
declare function createMatcher(matcher: string | string[]): Matcher | Matcher[];
export default createMatcher;