mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 04:33:31 +00:00
Fixed types for GetRandom
This commit is contained in:
parent
f20963c04f
commit
df8439a515
1 changed files with 1 additions and 1 deletions
2
types/phaser.d.ts
vendored
2
types/phaser.d.ts
vendored
|
@ -113511,7 +113511,7 @@ declare namespace Phaser {
|
|||
* @param startIndex An optional start index. Default 0.
|
||||
* @param length An optional length, the total number of elements (from the startIndex) to choose from. Default array.length.
|
||||
*/
|
||||
function GetRandom(array: any[], startIndex?: number, length?: number): any;
|
||||
function GetRandom<T>(array: T[], startIndex?: number, length?: number): T;
|
||||
|
||||
namespace Matrix {
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue