From 9f1c5affc450055b2da8c4d885076e69e0138aa6 Mon Sep 17 00:00:00 2001 From: Vyacheslav Matyukhin Date: Wed, 5 Oct 2022 05:21:39 +0400 Subject: [PATCH] ts fix --- packages/squiggle-lang/src/js/SqProject.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/squiggle-lang/src/js/SqProject.ts b/packages/squiggle-lang/src/js/SqProject.ts index d1c8b3ef..ca65c7ec 100644 --- a/packages/squiggle-lang/src/js/SqProject.ts +++ b/packages/squiggle-lang/src/js/SqProject.ts @@ -54,7 +54,7 @@ export class SqProject { return resultMap2( RSProject.getIncludes(this._value, sourceId), (a) => a, - (v: RSError.Message_t) => new SqError(RSError.fromMessage(v)) + (v: RSError.t) => new SqError(v) ); }