This commit is contained in:
Umur Ozkul 2022-08-22 17:24:58 +02:00
parent e6464dbe5c
commit 1250e66fb0
2 changed files with 4 additions and 4 deletions

View File

@ -18,10 +18,10 @@ let getValue = (r: result<'a, 'e>): option<'a> =>
| Error(_) => None
}
@module("ForTS_Result_tag") @scope("resultTag")
@module("./ForTS_Result_tag") @scope("resultTag")
external rtOk_: int = "RtOk"
@module("ForTS_Result_tag") @scope("resultTag")
@module("./ForTS_Result_tag") @scope("resultTag")
external rtError_: int = "RtError"
@genType.import("./ForTS_Result_tag")

View File

@ -1,4 +1,4 @@
export enum resultTag {
Ok,
Error,
RtOk,
RtError,
}