From 610fa0227e3fe82fcfc4211353a7427c35bc6304 Mon Sep 17 00:00:00 2001 From: Umur Ozkul Date: Fri, 19 Aug 2022 18:28:03 +0200 Subject: [PATCH] opaque result --- .../squiggle-lang/src/rescript/TypescriptInterface.res | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/squiggle-lang/src/rescript/TypescriptInterface.res b/packages/squiggle-lang/src/rescript/TypescriptInterface.res index b3d2e827..241b1fa2 100644 --- a/packages/squiggle-lang/src/rescript/TypescriptInterface.res +++ b/packages/squiggle-lang/src/rescript/TypescriptInterface.res @@ -1,3 +1,4 @@ +open ForTS__Types /* This is meant as a file to contain @genType declarations as needed for Typescript. I would ultimately want to have all @genType declarations here, vs. other files, but @@ -23,13 +24,13 @@ type symbolicDist = SymbolicDistTypes.symbolicDist type distributionError = DistributionTypes.error @genType -type resultDist = result +type resultDist = result_ @genType -type resultFloat = result +type resultFloat = result_ @genType -type resultString = result +type resultString = result_ @genType let makeSampleSetDist = SampleSetDist.make