@tscircuit/copper-pour-solver 0.0.21 → 0.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -104,8 +104,8 @@ export const convertCircuitJsonToInputProblem = (
104
104
  radius: platedHole.outer_diameter / 2,
105
105
  } as InputCircularPad)
106
106
  } else if (platedHole.shape === "circular_hole_with_rect_pad") {
107
- const rectWidth = (platedHole as any).rect_pad_width
108
- const rectHeight = (platedHole as any).rect_pad_height
107
+ const rectWidth = platedHole.rect_pad_width
108
+ const rectHeight = platedHole.rect_pad_height
109
109
  if (typeof rectWidth !== "number" || typeof rectHeight !== "number") {
110
110
  continue
111
111
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/copper-pour-solver",
3
3
  "main": "dist/index.js",
4
- "version": "0.0.21",
4
+ "version": "0.0.23",
5
5
  "scripts": {
6
6
  "format": "biome format . --write",
7
7
  "format:check": "biome format .",