Skip to content

Commit

Permalink
Fix typescript error
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadrieril committed Sep 17, 2024
1 parent 5b6192c commit 5ecf970
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/components/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ addEventListener("message", async (event) => {
switch (data.type) {
case "compare":
const output = compare_rulesets_js(
RuleSetJs.decode(data.optionsLeft),
RuleSetJs.decode(data.optionsRight),
RuleSetJs.decode(data.optionsLeft)!,
RuleSetJs.decode(data.optionsRight)!,
data.patDepth,
data.tyDepth,
);
Expand Down

0 comments on commit 5ecf970

Please sign in to comment.