From 6637db415412e712ab010899a0c00b0729d5ec95 Mon Sep 17 00:00:00 2001 From: Sam Nolan Date: Fri, 8 Apr 2022 17:35:56 +1000 Subject: [PATCH] Add genType declaration to fix webpack compiling --- .../src/rescript/Distributions/SampleSetDist/SampleSet.res | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/squiggle-lang/src/rescript/Distributions/SampleSetDist/SampleSet.res b/packages/squiggle-lang/src/rescript/Distributions/SampleSetDist/SampleSet.res index eebb9efc..316c5d6f 100644 --- a/packages/squiggle-lang/src/rescript/Distributions/SampleSetDist/SampleSet.res +++ b/packages/squiggle-lang/src/rescript/Distributions/SampleSetDist/SampleSet.res @@ -1,3 +1,4 @@ +@genType type t = array // TODO: Refactor to raise correct error when not enough samples @@ -142,4 +143,4 @@ let toPointSetDist = ( } samplesParse -} \ No newline at end of file +}