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