Open wires opened 6 years ago
WIP
leverage https://github.com/hapijs/joi
something like this
const x = {a:123, b: "x"} const T = new Typedefs(` type Foo = a : Int * b : String `) xT = T.foo.validate(x)
WIP
leverage https://github.com/hapijs/joi
something like this