codemix / babel-plugin-typecheck

Static and runtime type checking for JavaScript in the form of a Babel plugin.
MIT License
886 stars 44 forks source link

Warning on type errors #101

Closed mizchi closed 7 years ago

mizchi commented 8 years ago

I think it needs warning instead of throwing errors by option.

https://github.com/codemix/babel-plugin-typecheck/blob/master/src/index.js#L94 just use console.warn

phpnode commented 8 years ago

Yes this would definitely be possible. I would like to include this in v4

phpnode commented 7 years ago

Hi, sorry for taking so long to respond to this, this project is now deprecated in favour of https://codemix.github.io/flow-runtime which aims for full compatibility with Flow.

Tracking this issue here - https://github.com/codemix/flow-runtime/issues/10