TypescriptInterface functions
This commit is contained in:
parent
d7ed875566
commit
5c75da4736
|
@ -32,11 +32,22 @@ type resultFloat = result_<float, distributionError>
|
||||||
@genType
|
@genType
|
||||||
type resultString = result_<string, distributionError>
|
type resultString = result_<string, distributionError>
|
||||||
|
|
||||||
|
//TODO: ForTS Interface module candid
|
||||||
@genType
|
@genType
|
||||||
let makeSampleSetDist = SampleSetDist.make
|
let makeSampleSetDist: array<float> => result_<
|
||||||
|
sampleSetDist,
|
||||||
|
SampleSetDist.sampleSetError,
|
||||||
|
> = SampleSetDist.make
|
||||||
|
|
||||||
|
//TODO: ForTS Interface module candid
|
||||||
@genType
|
@genType
|
||||||
let toPointSet = GenericDist.toPointSet
|
let toPointSet: (
|
||||||
|
squiggleValue_Distribution,
|
||||||
|
~xyPointLength: int,
|
||||||
|
~sampleCount: int,
|
||||||
|
~xSelection: DistributionTypes.DistributionOperation.pointsetXSelection=?,
|
||||||
|
unit,
|
||||||
|
) => result_<PointSetTypes.pointSetDist, distributionError> = GenericDist.toPointSet
|
||||||
|
|
||||||
@genType
|
@genType
|
||||||
type mixedShape = PointSetTypes.mixedShape
|
type mixedShape = PointSetTypes.mixedShape
|
||||||
|
|
Loading…
Reference in New Issue
Block a user