From 2396914015e9a9f0d2bbeba3436343513dd702e8 Mon Sep 17 00:00:00 2001 From: ShuangLiu Date: Tue, 22 Oct 2024 19:02:22 +0800 Subject: [PATCH] chore(ExtrudeGeometry): fix type --- packages/geometry/ExtrudeGeometry/ExtrudeGeometry.ts | 2 +- packages/geometry/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/geometry/ExtrudeGeometry/ExtrudeGeometry.ts b/packages/geometry/ExtrudeGeometry/ExtrudeGeometry.ts index b65de838..83f281a3 100644 --- a/packages/geometry/ExtrudeGeometry/ExtrudeGeometry.ts +++ b/packages/geometry/ExtrudeGeometry/ExtrudeGeometry.ts @@ -20,7 +20,7 @@ export class ExtrudeGeometry extends GeometryBase { protected verticesArray: number[] = []; protected uvArray: number[] = []; - constructor(shapes?: Shape2D[], options?) { + constructor(shapes?: Shape2D[], options?: ExtrudeGeometryArgs) { super(); this.options = options; this.shapes = shapes; diff --git a/packages/geometry/package.json b/packages/geometry/package.json index df1a74a7..f100ae53 100644 --- a/packages/geometry/package.json +++ b/packages/geometry/package.json @@ -1,6 +1,6 @@ { "name": "@orillusion/geometry", - "version": "0.2.5", + "version": "0.2.6", "author": "Orillusion", "description": "Orillusion Geometry Plugin", "main": "./dist/geometry.umd.js",