using external files and libraries while globally declaring type definitions flowtype
<p>So, I'm trying to declare a global $ListOf type that looks like this:</p>

<p>decls/immutable.js</p>

<p><code>import {List} from 'immutable'</code></p>

<p><code>declare type $ListOf&lt;X&gt; = List&lt;X&gt;</code></p>

<p>.flowconfig</p>

<p><code>[libs]</code></p>

<p><code>decls/</code></p>

<p>but when I check flowtype of $ListOf I get undefined. Is there anyway to use external libraries while creating global types? This would be really really useful if there was</p>