Files
2026-04-29 08:30:52 -07:00

11 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;