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

Any IDE support? #117

Closed GulinSS closed 8 years ago

GulinSS commented 8 years ago

Tried at WebStorm. It recognizes only simple type descriptions like:

function A(b: String): Number {}

No support for type = and union types.

phpnode commented 8 years ago

@GulinSS did you set language to Flow? Webstorm's flow support is getting redone, it works reasonably well at the moment but is going to get a lot better. Here is the issue - https://youtrack.jetbrains.com/issue/WEB-14254

Alternatively Atom has a pretty good flow plugin.

GulinSS commented 8 years ago

thank you, @phpnode!