fix build

This commit is contained in:
Quinn Dougherty 2022-07-28 10:43:27 -04:00
parent a536f1f4e1
commit 7fc646f5b5
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ import type {
bindings as bindingsType, bindings as bindingsType,
} from "@quri/squiggle-lang"; } from "@quri/squiggle-lang";
function resultDefault(x: result<bindingsType, errorValue>): bindings { function resultDefault(x: result<bindingsType, errorValue>): bindingsType {
switch (x.tag) { switch (x.tag) {
case "Ok": case "Ok":
return x.value; return x.value;

View File

@ -2,6 +2,6 @@ export { SquiggleChart } from "./components/SquiggleChart";
export { SquiggleEditor, SquigglePartial } from "./components/SquiggleEditor"; export { SquiggleEditor, SquigglePartial } from "./components/SquiggleEditor";
export { SquigglePlayground } from "./components/SquigglePlayground"; export { SquigglePlayground } from "./components/SquigglePlayground";
export { SquiggleContainer } from "./components/SquiggleContainer"; export { SquiggleContainer } from "./components/SquiggleContainer";
export { SquiggleEditorImportedBindings } from "./components/SquiggleEditorImportedBindings"; export { SquiggleEditorWithImportedBindings } from "./components/SquiggleEditorWithImportedBindings";
export { mergeBindings } from "@quri/squiggle-lang"; export { mergeBindings } from "@quri/squiggle-lang";