Skip to content

Commit 5602327

Browse files
committed
add 'bs.uncurried' to function;
1 parent 2745aec commit 5602327

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

src/Http2.re

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -117,17 +117,19 @@ module Http2Session = {
117117
(
118118
t,
119119
[@bs.as "stream"] _,
120-
(
121-
t,
122-
Js.t({
123-
..
124-
"status": string,
125-
"content-type": string,
126-
}),
127-
int,
128-
array(Js.t({..}))
129-
) =>
130-
unit
120+
[@bs.uncurry] (
121+
(
122+
t,
123+
Js.t({
124+
..
125+
"status": string,
126+
"content-type": string,
127+
}),
128+
int,
129+
array(Js.t({..}))
130+
) =>
131+
unit
132+
)
131133
) =>
132134
t =
133135
"on";

0 commit comments

Comments
 (0)