UNPKG

@types/shuffle-seed

Version:
24 lines (17 loc) 786 B
# Installation > `npm install --save @types/shuffle-seed` # Summary This package contains type definitions for shuffle-seed (https://github.com/webcaetano/shuffle-seed#readme). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shuffle-seed. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shuffle-seed/index.d.ts) ````ts export as namespace shuffleSeed; export function shuffle<T>(arr: readonly T[], seed: any): T[]; export function unshuffle<T>(arr: readonly T[], seed: any): T[]; ```` ### Additional Details * Last updated: Mon, 20 Nov 2023 23:36:24 GMT * Dependencies: none # Credits These definitions were written by [Leonardo Donelli](https://github.com/LeartS).