diff --git a/lib/pdf-business-card.tsx b/lib/pdf-business-card.tsx index f95bb027..5cd284c4 100644 --- a/lib/pdf-business-card.tsx +++ b/lib/pdf-business-card.tsx @@ -928,9 +928,15 @@ export const PDFBusinessCard: React.FC = ({ style={styles.backLogo} overrideWhiteColor={COLORS.black} pathOverrides={{ - ...KLZ_PATHS.reduce((acc, idx) => ({ ...acc, [idx]: 'none' }), {}), + ...(KLZ_PATHS.reduce( + (acc: Record, idx) => ({ ...acc, [idx]: 'none' }), + {} as Record, + ) as any), // Paths 0-24 are the "Cables for a greener tomorrow" tagline in the 40-path logo. - ...Array.from({ length: 25 }).reduce((acc, _, i) => ({ ...acc, [i]: 'none' }), {}), + ...(Array.from({ length: 25 }).reduce( + (acc: Record, _, i) => ({ ...acc, [i]: 'none' }), + {} as Record, + ) as any), }} />