Files

11 lines
241 B
TypeScript
Raw Permalink Normal View History

2026-03-31 16:38:22 -07:00
import type { AttrMatcher, StringMatcher } from "posthtml";
interface Matcher {
tag?: StringMatcher;
attrs: AttrMatcher;
}
declare function createMatcher(matcher: string | string[]): Matcher | Matcher[];
export default createMatcher;