You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/docs/manual/latest/api/js/array-2.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ A type used to describe JavaScript objects that are like an array or are iterabl
47
47
## from
48
48
49
49
```res sig
50
-
let from: array_like<'a> => array<'b>
50
+
let from: array_like<'a> => array<'a>
51
51
```
52
52
53
53
Creates a shallow copy of an array from an array-like object. See [`Array.from`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/from) on MDN.
Copy file name to clipboardExpand all lines: pages/docs/manual/latest/api/js/array.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ A type used to describe JavaScript objects that are like an array or are iterabl
48
48
## from
49
49
50
50
```res sig
51
-
let from: array_like<'a> => array<'b>
51
+
let from: array_like<'a> => array<'a>
52
52
```
53
53
54
54
Creates a shallow copy of an array from an array-like object. See [`Array.from`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/from) on MDN.
0 commit comments