diff --git a/projects/optic/web/src/app/attributes/text-diff.tsx b/projects/optic/web/src/app/attributes/text-diff.tsx index 965b0ab1a6..299244b45d 100644 --- a/projects/optic/web/src/app/attributes/text-diff.tsx +++ b/projects/optic/web/src/app/attributes/text-diff.tsx @@ -29,7 +29,7 @@ export function TextDiff({ color: 'inherit', }} > - {diffResults.map((segment, index) => { + {diffResults.map((segment: any, index: number) => { if (!segment.added && !segment.removed) { return {segment.value}; } else if (segment.added) {