fix: types for getPoints method

This commit is contained in:
ilyaryabchinski 2019-10-21 17:54:05 +03:00
parent c25331cf30
commit 8d10777fde

2
types/phaser.d.ts vendored
View file

@ -39154,7 +39154,7 @@ declare namespace Phaser {
* @param stepRate The distance between each point on the line. When set, `quantity` is implied and should be set to `0`.
* @param output An optional array of Points, or point-like objects, to store the coordinates of the points on the line.
*/
getPoints<O extends Phaser.Geom.Point>(quantity: integer, stepRate?: integer, output?: O): O;
getPoints<O extends Phaser.Geom.Point[]>(quantity: integer, stepRate?: integer, output?: O): O;
/**
* Get a random Point on the Line.