Skip to content
This repository has been archived by the owner on Feb 15, 2019. It is now read-only.

Version 1.5.9 of this package is not Flow clean with Flow 0.32.0 #86

Closed
bolinfest opened this issue Sep 14, 2016 · 1 comment
Closed

Comments

@bolinfest
Copy link

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.

@kpyorala kpyorala mentioned this issue Sep 14, 2016
@brentvatne
Copy link
Member

Tracking in #87 -- a PR would be very welcome :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants