Most appropriate sub-area of p5.js?
p5.js version
2.1.2
Web browser and version
n/a
Operating system
n/a
Steps to reproduce this
Steps:
- look at shuffle in generated
types/p5.d.ts
Snippet:
The currently generated type is:
shuffle(array: any[], bool?: boolean): any[];
The correct type would be:
shuffle<T>(array: T[], bool?: boolean): T[];