From 36924ec2b65b0656249c0522f4611c07cd7b8707 Mon Sep 17 00:00:00 2001 From: Hunter Date: Mon, 12 Jun 2023 21:46:52 -0500 Subject: [PATCH] fix: unused params --- src/renderer/src/renderer/graphics.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/renderer/src/renderer/graphics.ts b/src/renderer/src/renderer/graphics.ts index 79e2356d..d9a4a099 100644 --- a/src/renderer/src/renderer/graphics.ts +++ b/src/renderer/src/renderer/graphics.ts @@ -625,6 +625,7 @@ export class GerberGraphics extends Graphics { newGraphic.destroy() } + // @ts-ignore - unused param. private retrieveGraphic(child: ImageGraphic, index: number): Graphics { const { dcode } = child const graphicProps = { @@ -667,6 +668,7 @@ export class GerberGraphics extends Graphics { const { children, tools } = tree Object.assign(this.toolStore, tools) console.time('render') + // @ts-ignore - unused param. for (const [index, child] of children.entries()) { //* BATCH GEOMETRY RENDERING this.renderGraphic(child)