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 d4692ba commit beca4f6Copy full SHA for beca4f6
src/Fs.res
@@ -243,7 +243,10 @@ external rmdirSync: string => unit = "rmdirSync"
243
external openSyncWith: (string, ~flag: Flag.t=?, ~mode: int=?) => fd = "openSync"
244
245
@module("fs")
246
-external readFileSync: (string, ~options: readFileOptions=?, unit) => Buffer.t = "readFileSync"
+external readFileSync: (string) => Buffer.t = "readFileSync"
247
+@module("fs")
248
+external readFileSyncWith: (string, readFileOptions) => Buffer.t = "readFileSync"
249
+
250
@module("fs") external existsSync: string => bool = "existsSync"
251
252
@val @module("fs")
0 commit comments