Not exactly the same but the Closure Compiler has a "runtime type check"
mode that inject type checks.  If you write jsdoc type annotations already
this can be an low resistance path but its usefulness depends on the
accuracy of those annotations.
On Aug 21, 2014 6:54 AM, "Curtis Steckel" <[email protected]> wrote:

> These are all great examples and resources. Thanks everyone.
>
> On Thursday, August 21, 2014, Charles Pick <[email protected]> wrote:
>
>> Just to throw another example out there, here's a Design by Contract
>> library which squeezes itself within existing ES syntax -
>> https://github.com/codemix/contractual
>>
>
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
>
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to