You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Revert the removal of flow/lib/dev.js from Clean .flowconfig so users won't need configuration to use fbjs #182. We need this for projects consuming fbjs directly & using flow, which will check the raw src files. We probably want it for ourselves too (not currently an issue because the files using __DEV__ are not flowified).
Add an inline declare as part of the Flow transform, inserting declare var __DEV__: boolean; at the top of each file using it.
We can ship 0.8.5 once we have part 1 here done. It's no worse than today (strictly better since the other flow+fbjs issues are resolved). We don't even need part 2 done for fbjs itself (same aside as part 1 above.
The text was updated successfully, but these errors were encountered:
Ok, there are a couple pieces to this.
flow/lib/dev.js
from Clean .flowconfig so users won't need configuration to use fbjs #182. We need this for projects consuming fbjs directly & using flow, which will check the raw src files. We probably want it for ourselves too (not currently an issue because the files using__DEV__
are not flowified).declare var __DEV__: boolean;
at the top of each file using it.We can ship 0.8.5 once we have part 1 here done. It's no worse than today (strictly better since the other flow+fbjs issues are resolved). We don't even need part 2 done for fbjs itself (same aside as part 1 above.
The text was updated successfully, but these errors were encountered: