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
|
| Error(_) => None
|
||||||
}
|
}
|
||||||
|
|
||||||
@module("ForTS_Result_tag") @scope("resultTag")
|
@module("./ForTS_Result_tag") @scope("resultTag")
|
||||||
external rtOk_: int = "RtOk"
|
external rtOk_: int = "RtOk"
|
||||||
|
|
||||||
@module("ForTS_Result_tag") @scope("resultTag")
|
@module("./ForTS_Result_tag") @scope("resultTag")
|
||||||
external rtError_: int = "RtError"
|
external rtError_: int = "RtError"
|
||||||
|
|
||||||
@genType.import("./ForTS_Result_tag")
|
@genType.import("./ForTS_Result_tag")
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
export enum resultTag {
|
export enum resultTag {
|
||||||
Ok,
|
RtOk,
|
||||||
Error,
|
RtError,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user