diff --git a/package.json b/package.json index c1457df2df..b99ccd4848 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,7 @@ "tmp": "0.2.1", "ts-node": "10.9.1", "ts-toolbelt": "9.6.0", - "typescript": "4.9.5", + "typescript": "5.0.2", "uuid": "9.0.0", "yarn": "1.22.19" }, diff --git a/project/cultist/action.ts b/project/cultist/action.ts index 48083ba9de..5f6a4ff8c3 100644 --- a/project/cultist/action.ts +++ b/project/cultist/action.ts @@ -64,7 +64,7 @@ function applyEffect(s: state.State, effect: cultist.Effect): state.State { const [add, remove] = iter.divide( ops, - ([, intensity]) => intensity > 0 + ([, intensity]) => +intensity > 0 ); let elementStacks = diff --git a/yarn.lock b/yarn.lock index 573fe093aa..186ee2fcbf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11534,10 +11534,10 @@ typedarray-to-buffer@^3.1.5: dependencies: is-typedarray "^1.0.0" -typescript@4.9.5: - version "4.9.5" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" - integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== +typescript@5.0.2: + version "5.0.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.0.2.tgz#891e1a90c5189d8506af64b9ef929fca99ba1ee5" + integrity sha512-wVORMBGO/FAs/++blGNeAVdbNKtIh1rbBL2EyQ1+J9lClJ93KiiKe8PmFIVdXhHcyv44SL9oglmfeSsndo0jRw== typescript@~3.8.3: version "3.8.3"