-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
--- a/src/Fs.res
+++ b/src/Fs.res
@@ -248,7 +248,7 @@ external openSyncWith: (string, ~flag: Flag.t=?, ~mode: int=?) => fd = "openSync
@module("node:fs")
external readFileSync: string => Buffer.t = "readFileSync"
@module("node:fs")
-external readFileSyncWith: (string, readFileOptions) => Buffer.t = "readFileSync"
+external readFileSyncWith: (string, readFileOptions) => string = "readFileSync"
@module("node:fs") external existsSync: string => bool = "existsSync"vadimyen
Metadata
Metadata
Assignees
Labels
No labels