Open josh- opened 8 months ago
It appears that the functions AR.isOk and AR.isError are defined in the typescript definitions here:
AR.isOk
AR.isError
https://github.com/mobily/ts-belt/blob/c825d9709de1e5d15b1b362429e0cee56c96c516/src/AsyncResult/AsyncResult.ts#L59-L65
however they are not implemented in the underling Rescript.
this means that calling one of these functions results in the following:
TypeError: import_ts_belt.AR.isOk is not a function
and logging out these values:
console.log(AR.isOk); console.log(AR.isError);
results in:
undefined undefined
It appears that the functions
AR.isOk
andAR.isError
are defined in the typescript definitions here:https://github.com/mobily/ts-belt/blob/c825d9709de1e5d15b1b362429e0cee56c96c516/src/AsyncResult/AsyncResult.ts#L59-L65
however they are not implemented in the underling Rescript.
this means that calling one of these functions results in the following:
and logging out these values:
results in: