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

Issue with closing scope, when using types. It's not supposed to be like that #140

Closed idchlife closed 7 years ago

idchlife commented 8 years ago

In code:

image

Transpiled with error surveyData is not defined: image

idchlife commented 8 years ago

Guys, this is really an issue. It just stops people from using this plugin ;(

phpnode commented 7 years ago

Hi sorry for the delay, this project is now deprecated in favour of flow-runtime which aims for full flow compatibility. flow-runtime doesn't have this bug.

idchlife commented 7 years ago

@phpnode thank you for clearing that out!