jussi-kalliokoski / trine

A utility library for modern JavaScript.
ISC License
1.42k stars 35 forks source link

how to use flowtype with this project? #14

Open nikhedonia opened 9 years ago

nikhedonia commented 9 years ago

running flow check test/path/to/file is always without errors even if i add wrong annotations in the srcfile. What's your flow setup ?

jussi-kalliokoski commented 9 years ago

Actually currently the declarations aren't exposed because they won't work correctly with flow, see this issue facebook/flow#452 for further information.

Hopefully this will be fixed soon and we can properly annotate this, allowing us to use type annotations for more than just documentation generation. :)