From f40aa7a226b5195e1982bc81988c10ade73e2430 Mon Sep 17 00:00:00 2001 From: Christian Murphy Date: Thu, 3 Mar 2022 20:02:05 -0700 Subject: [PATCH] types: remove unneeded expect error --- index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/index.js b/index.js index 337ba2f..29ebe63 100644 --- a/index.js +++ b/index.js @@ -143,7 +143,6 @@ export const findAndReplace = while (match) { position = match.index - // @ts-expect-error this is perfectly fine, typescript. let value = replace(...match, { index: match.index, input: match.input