yayoc / swagger-to-flowtype

Generate Flow types from swagger file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: Flow-strict

LoganBarnett opened this issue · comments

It would be dandy to use @flow strict instead of @flow. There's other options such as @flow strict-local, but since the files emitted by swagger-to-flowtype don't require any other files, we can safely skip to just using @flow strict.

As I understand, using @flow strict won't inflict anything upon a non-strict project. For those of us using strict it means the files won't be considered non-strict. All that is to say I don't think we really need a configuration option for it, since the behavior is backwards compatible.

Thanks for all the work on this repo!

Whoops, I was testing against an older version. You beat me to it! :) Closing.