From 1b29d4b30655a419c462e6d64592d75e58de9569 Mon Sep 17 00:00:00 2001 From: Pedro Castro Date: Mon, 16 Oct 2023 00:07:32 -0300 Subject: [PATCH] fixes --- jscomp/others/js_exn.resi | 2 +- jscomp/others/js_mapperRt.resi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jscomp/others/js_exn.resi b/jscomp/others/js_exn.resi index b6bcdb8065..87ce8ca887 100644 --- a/jscomp/others/js_exn.resi +++ b/jscomp/others/js_exn.resi @@ -42,7 +42,7 @@ external asJsExn: exn => option = "?as_js_exn" external isCamlExceptionOrOpenVariant: 'a => bool = "?is_extension" /** -`anyToExnInternal obj` will take any value `obj` and wrap it +`anyToExnInternal(obj)` will take any value `obj` and wrap it in a Js.Exn.Error if given value is not an exn already. If `obj` is an exn, it will return `obj` without any changes. diff --git a/jscomp/others/js_mapperRt.resi b/jscomp/others/js_mapperRt.resi index 2ee610963c..6b9dbddfde 100644 --- a/jscomp/others/js_mapperRt.resi +++ b/jscomp/others/js_mapperRt.resi @@ -25,7 +25,7 @@ let raiseWhenNotFound: 'a => 'a /** -`fromInt len array int` return the mapped `enum` +`fromInt(len, array, int)` return the mapped `enum` */ let fromInt: (int, array, int) => option