Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Commit e68b5bc

Browse files
committed
Update reactjs_jsx_v4.ml
1 parent 31db3ba commit e68b5bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/reactjs_jsx_v4.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ let stripJsNullable coreType =
248248
ptyp_desc =
249249
Ptyp_constr ({txt = Ldot (Ldot (Lident "Js", "Nullable"), "t")}, coreTypes);
250250
} ->
251-
List.nth_opt coreTypes 0
251+
List.nth_opt coreTypes 0 [@doesNotRaise]
252252
| _ -> Some coreType
253253

254254
(* Make type params of the props type *)

0 commit comments

Comments
 (0)