2024-11-03 17:16:20 +01: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;