File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ type t =
37
37
38
38
external process : t = " process" [@@ bs.module ]
39
39
external argv : string array = " argv" [@@ bs.module "process" ]
40
- external exit : int -> unit = " exit" [@@ bs.module "process" ]
40
+ external exit : int -> 'a = " exit" [@@ bs.module "process" ]
41
41
external cwd : unit -> string = " cwd" [@@ bs.module "process" ]
42
42
(* * The process.uptime() method returns the number of seconds
43
43
the current Node.js process has been running.) *)
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ type t =
35
35
36
36
external process : t = " process" [@@ bs.module ]
37
37
external argv : string array = " argv" [@@ bs.module "process" ]
38
- external exit : int -> unit = " exit" [@@ bs.module "process" ]
38
+ external exit : int -> 'a = " exit" [@@ bs.module "process" ]
39
39
external cwd : unit -> string = " cwd" [@@ bs.module "process" ]
40
40
(* * The process.uptime() method returns the number of seconds
41
41
the current Node.js process has been running.) *)
You can’t perform that action at this time.
0 commit comments