diff options
Diffstat (limited to 'node_modules/posthtml-match-helper/lib/index.d.ts')
| -rw-r--r-- | node_modules/posthtml-match-helper/lib/index.d.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/node_modules/posthtml-match-helper/lib/index.d.ts b/node_modules/posthtml-match-helper/lib/index.d.ts new file mode 100644 index 0000000..9e9ef25 --- /dev/null +++ b/node_modules/posthtml-match-helper/lib/index.d.ts @@ -0,0 +1,10 @@ +import type { AttrMatcher, StringMatcher } from "posthtml"; + +interface Matcher { + tag?: StringMatcher; + attrs: AttrMatcher; +} + +declare function createMatcher(matcher: string | string[]): Matcher | Matcher[]; + +export default createMatcher; |
