diff options
Diffstat (limited to 'src/utils/patches.ts')
-rw-r--r-- | src/utils/patches.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/utils/patches.ts b/src/utils/patches.ts index 0f83d40..c30f7b1 100644 --- a/src/utils/patches.ts +++ b/src/utils/patches.ts @@ -16,9 +16,7 @@ * along with this program. If not, see <https://www.gnu.org/licenses/>. */ -import { PatchReplacement } from "./types"; - -export type ReplaceFn = (match: string, ...groups: string[]) => string; +import { PatchReplacement, ReplaceFn } from "./types"; export function canonicalizeMatch(match: RegExp | string) { if (typeof match === "string") return match; |