Skip to content

Commit

Permalink
deprecate default export
Browse files Browse the repository at this point in the history
  • Loading branch information
philihp committed Dec 31, 2023
1 parent 14520d7 commit a1db71f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,6 @@ function fastShuffle(randomSeed: number | (() => number) | [deck: unknown[], ran
export const shuffle = <T>(deck: T[]) => fastShuffle(randomInt(), deck)

export const createShuffle = fastShuffle

// DEPRECATED, switch to createShuffle
export default fastShuffle

0 comments on commit a1db71f

Please sign in to comment.