fix RT
This commit is contained in:
parent
e6464dbe5c
commit
1250e66fb0
|
@ -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")
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
export enum resultTag {
|
||||
Ok,
|
||||
Error,
|
||||
RtOk,
|
||||
RtError,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user