Skip to content

Commit 8f117ff

Browse files
committed
Fix signature
1 parent 71899ac commit 8f117ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jscomp/others/belt_Array.mli

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,8 +369,8 @@ val map: 'a array -> ('a -> 'b ) -> 'b array
369369
370370
*)
371371

372-
val getByU: 'a t -> ('a -> bool [@bs]) -> 'a option
373-
val getBy: 'a t -> ('a -> bool) -> 'a option
372+
val getByU: 'a array -> ('a -> bool [@bs]) -> 'a option
373+
val getBy: 'a array -> ('a -> bool) -> 'a option
374374
(** [getBy xs p] returns [Some value] for the first value in [xs] that satisifies the predicate function [p]; returns [None] if no element satisifies the function.
375375
376376
@example {[

0 commit comments

Comments
 (0)