@unified-latex/unified-latex-util-match
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -6,3 +6,5 @@ import * as Ast from "@unified-latex/unified-latex-types"; | ||
*/ | ||
declare function createMacroMatcher(macros: Ast.Macro[] | string[] | Record<string, unknown>): Ast.TypeGuard<Ast.Macro>; | ||
declare function createMacroMatcher<S extends string>(macros: Ast.Macro[] | S[] | Record<S, unknown>): Ast.TypeGuard<Ast.Macro & { | ||
content: S; | ||
}>; | ||
/** | ||
@@ -9,0 +11,0 @@ * Creates a macro matching function that uses a `SpecialMacroSpec` or list of macros |
{ | ||
"name": "@unified-latex/unified-latex-util-match", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Match nodes in a unified-latex AST", | ||
@@ -8,4 +8,4 @@ "main": "index.js", | ||
"dependencies": { | ||
"@unified-latex/unified-latex-types": "^1.1.0", | ||
"@unified-latex/unified-latex-util-print-raw": "^1.1.0" | ||
"@unified-latex/unified-latex-types": "^1.2.0", | ||
"@unified-latex/unified-latex-util-print-raw": "^1.2.0" | ||
}, | ||
@@ -12,0 +12,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
35771
413