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 5af9687 commit d4692baCopy full SHA for d4692ba
src/Fs.res
@@ -279,7 +279,7 @@ module FileHandle = {
279
) => Js.Promise.t<readInfo> = "read"
280
@send external readFile: t => Js.Promise.t<Buffer.t> = "readFile"
281
@send
282
- external readFileWith: (t, ~encoding: string) => Js.Promise.t<string> = "readFile"
+ external readFileWith: (t, readFileOptions) => Js.Promise.t<string> = "readFile"
283
284
@send external stat: t => Js.Promise.t<Stats.t> = "stat"
285
@send external sync: t => Js.Promise.t<unit> = "sync"
0 commit comments