DefinitelyTyped/types/fast-shuffle/index.d.ts
2019-09-23 11:08:38 -07:00

7 lines
313 B
TypeScript

// Type definitions for fast-shuffle 1.0
// Project: https://github.com/philihp/fast-shuffle
// Definitions by: Piotr Roszatycki <https://github.com/dex4er>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export default function shuffle<T>(deck: ReadonlyArray<T>, random?: () => number): T[];