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
{{ message }}
This repository has been archived by the owner on Feb 15, 2019. It is now read-only.
One thing that I do in Nuclide that works with Node/Flow:
import invariant from 'assert';
This introduces invariant() in scope, which Flow likes, while providing the desired runtime behavior of invariant() without having to add anything to your package.json.
The text was updated successfully, but these errors were encountered:
One thing that I do in Nuclide that works with Node/Flow:
This introduces
invariant()
in scope, which Flow likes, while providing the desired runtime behavior ofinvariant()
without having to add anything to yourpackage.json
.The text was updated successfully, but these errors were encountered: