Skip to content

Commit e1a3bb3

Browse files
committed
Use Constants.t abstract type
1 parent a0b1412 commit e1a3bb3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Fs.re

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,8 +359,7 @@ external copyFile: (string, ~dest: string) => Js.Promise.t(unit) = "copyFile";
359359

360360
[@bs.module "fs"] [@bs.scope "promises"]
361361
external copyFileFlag:
362-
// TODO: fix type
363-
(string, ~dest: string, ~flag: string) => Js.Promise.t(unit) =
362+
(string, ~dest: string, ~flags: Constants.t) => Js.Promise.t(unit) =
364363
"copyFile";
365364

366365
[@bs.module "fs"] [@bs.scope "promises"]

0 commit comments

Comments
 (0)