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