Просмотр исходного кода

Merge pull request #17751 from Mugen87/dev39

ShapePath.d.ts: Fix declaration of .toShapes().
Michael Herzog 5 лет назад
Родитель
Сommit
627b46105e
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[];
 
 }