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.
Constants.t
1 parent a0b1412 commit e1a3bb3Copy full SHA for e1a3bb3
src/Fs.re
@@ -359,8 +359,7 @@ external copyFile: (string, ~dest: string) => Js.Promise.t(unit) = "copyFile";
359
360
[@bs.module "fs"] [@bs.scope "promises"]
361
external copyFileFlag:
362
- // TODO: fix type
363
- (string, ~dest: string, ~flag: string) => Js.Promise.t(unit) =
+ (string, ~dest: string, ~flags: Constants.t) => Js.Promise.t(unit) =
364
"copyFile";
365
366
0 commit comments