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 { runPartial, defaultBindings } from "@quri/squiggle-lang";
|
||||||
import type { result, errorValue, bindings } from "@quri/squiggle-lang";
|
import type { result, errorValue, bindings } from "@quri/squiggle-lang";
|
||||||
|
|
||||||
function resultDefault(
|
function resultDefault(x: result<bindings, errorValue>): bindings {
|
||||||
x: result<bindings, errorValue>,
|
|
||||||
): bindings {
|
|
||||||
switch (x.tag) {
|
switch (x.tag) {
|
||||||
case "Ok":
|
case "Ok":
|
||||||
return x.value;
|
return x.value;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user