3 ms·
There's a fair bit of work in this area that leverages Flow type syntax, e.g: - https://github.com/gcanti/tcomb https://github.com/gcanti/tcomb - https://gith
by phpnode 9y ago
There's a fair bit of work in this area that leverages Flow type syntax, e.g:
- https://github.com/gcanti/tcomb https://github.com/gcanti/tcomb
- https://github.com/gcanti/io-ts https://github.com/gcanti/io-ts (for typescript)
- https://github.com/codemix/flow-runtime https://github.com/codemix/flow-runtime (i wrote this)
And another alternative is to use Design by Contract, like Eiffel:
https://github.com/codemix/babel-plugin-contracts https://github.com/codemix/babel-plugin-contracts (also me)
- LightMachine 9y agoOh. Thank you very much for linking that. I wish I saw it 3 days ago, though. It is basically the same thing.