Skip to content

Commit 436b548

Browse files
authored
Merge pull request phaserjs#4816 from ilyaryabchinski/get-points-types
fix: types for getPoints method
2 parents 55a4146 + 8d10777 commit 436b548

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

types/phaser.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39154,7 +39154,7 @@ declare namespace Phaser {
3915439154
* @param stepRate The distance between each point on the line. When set, `quantity` is implied and should be set to `0`.
3915539155
* @param output An optional array of Points, or point-like objects, to store the coordinates of the points on the line.
3915639156
*/
39157-
getPoints<O extends Phaser.Geom.Point>(quantity: integer, stepRate?: integer, output?: O): O;
39157+
getPoints<O extends Phaser.Geom.Point[]>(quantity: integer, stepRate?: integer, output?: O): O;
3915839158

3915939159
/**
3916039160
* Get a random Point on the Line.

0 commit comments

Comments
 (0)