Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
mvares committed Jun 11, 2024
1 parent 283e95e commit 57465f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/effect/src/Tuple.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export const appendElement: {
* @since 3.4.0
*/
export const at: {
<A extends ReadonlyArray<unknown>, N extends number>(index: N): (self: A) => A[N]
<N extends number>(index: N): <A extends ReadonlyArray<unknown>>(self: A) => A[N]
<A extends ReadonlyArray<unknown>, N extends number>(self: A, index: N): A[N]
} = dual(2, <A extends ReadonlyArray<unknown>, N extends number>(self: A, index: N): A[N] => self[index])

Expand Down

0 comments on commit 57465f3

Please sign in to comment.