fix lint
This commit is contained in:
parent
2279624750
commit
5f3dd12542
|
@ -4,9 +4,7 @@ import type { SquiggleEditorProps } from "./SquiggleEditor";
|
|||
import { runPartial, defaultBindings } from "@quri/squiggle-lang";
|
||||
import type { result, errorValue, bindings } from "@quri/squiggle-lang";
|
||||
|
||||
function resultDefault(
|
||||
x: result<bindings, errorValue>,
|
||||
): bindings {
|
||||
function resultDefault(x: result<bindings, errorValue>): bindings {
|
||||
switch (x.tag) {
|
||||
case "Ok":
|
||||
return x.value;
|
||||
|
|
Loading…
Reference in New Issue
Block a user