Skip to content

Commit f05dead

Browse files
authored
Fix syntax
1 parent 5e08cc6 commit f05dead

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jscomp/others/node_buffer.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ external fromStringWithEncoding : string -> ([ `ascii | `utf8 | `utf16le | `u
3838
external toString : t -> string = "toString"
3939
[@@bs.send]
4040

41-
external toStringWithEncoding : (t, [ `ascii | `utf8 | `utf16le | `usc2 | `base64 | `latin1 | `binary | `hex ] [@bs.string]) -> string = "toString"
41+
external toStringWithEncoding : t -> ([ `ascii | `utf8 | `utf16le | `usc2 | `base64 | `latin1 | `binary | `hex ] [@bs.string]) -> string = "toString"
4242
[@@bs.send]
4343

4444
external concat : t array -> t = "Buffer.concat"

0 commit comments

Comments
 (0)