Skip to content

Commit

Permalink
Merge pull request #28 from jthemphill/jthemphill/ts-5.6
Browse files Browse the repository at this point in the history
Upgrade to TypeScript 5.6
  • Loading branch information
tchajed authored Oct 14, 2024
2 parents 074bd01 + 372c340 commit 9271309
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"querystring-es3": "^0.2.1",
"stream-browserify": "^3.0.0",
"ts-node": "^10.9.1",
"typescript": "5.5.4",
"typescript": "~5.6",
"url": "^0.11.0",
"util": "^0.12.3",
"vm-browserify": "^1.1.2",
Expand Down
6 changes: 3 additions & 3 deletions src/js/randomizer/history.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ export type SetHistory = Dispatch<
SetStateAction<History<Partial<ScriptState>>>
>;

export function pureHistoryApply<T>(
setHistory: Dispatch<SetStateAction<History<T>>>,
a: PureHistoryAction<T>,
export function pureHistoryApply(
setHistory: SetHistory,
a: PureHistoryAction<Partial<ScriptState>>,
) {
setHistory((h) => historyStep(h, a).h);
}
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6795,10 +6795,10 @@ typedarray-to-buffer@^3.1.5:
dependencies:
is-typedarray "^1.0.0"

typescript@5.5.4:
version "5.5.4"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5.4.tgz#d9852d6c82bad2d2eda4fd74a5762a8f5909e9ba"
integrity sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==
typescript@~5.6:
version "5.6.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.6.3.tgz#5f3449e31c9d94febb17de03cc081dd56d81db5b"
integrity sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==

unbox-primitive@^1.0.2:
version "1.0.2"
Expand Down

0 comments on commit 9271309

Please sign in to comment.