Js.Result

Define the interface for result

t

RESCRIPT
type t<'good, 'bad> = Ok('good) | Error('bad)