浏览代码

ShapePath.d.ts: Fix declaration of .toShapes().

Mugen87 5 年之前
父节点
当前提交
c5a3f551fb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/extras/core/ShapePath.d.ts

+ 1 - 1
src/extras/core/ShapePath.d.ts

@@ -20,6 +20,6 @@ export class ShapePath {
 		aY: number
 	): void;
 	splineThru( pts: Vector2[] ): void;
-	toShapes( isCCW: boolean, noHoles: any ): Shape[];
+	toShapes( isCCW: boolean, noHoles?: boolean ): Shape[];
 
 }