We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e08cc6 commit f05deadCopy full SHA for f05dead
jscomp/others/node_buffer.ml
@@ -38,7 +38,7 @@ external fromStringWithEncoding : string -> ([ `ascii | `utf8 | `utf16le | `u
38
external toString : t -> string = "toString"
39
[@@bs.send]
40
41
-external toStringWithEncoding : (t, [ `ascii | `utf8 | `utf16le | `usc2 | `base64 | `latin1 | `binary | `hex ] [@bs.string]) -> string = "toString"
+external toStringWithEncoding : t -> ([ `ascii | `utf8 | `utf16le | `usc2 | `base64 | `latin1 | `binary | `hex ] [@bs.string]) -> string = "toString"
42
43
44
external concat : t array -> t = "Buffer.concat"
0 commit comments