<p dir="auto">Is there a way to allow exporting the interfaces in this package?</p>
<p dir="auto">I expected to be able to write the following:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import {Maybe, Just} from &quot;sanctuary&quot;;

const x: Maybe&lt;number&gt; = Just(1); // TS2304: Cannot find name 'Maybe'."><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span><span class="pl-smi">Maybe</span><span class="pl-kos">,</span> <span class="pl-smi">Just</span><span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"sanctuary"</span><span class="pl-kos">;</span>

<span class="pl-k">const</span> <span class="pl-s1">x</span>: <span class="pl-smi">Maybe</span><span class="pl-kos">&lt;</span><span class="pl-smi">number</span><span class="pl-kos">&gt;</span> <span class="pl-c1">=</span> <span class="pl-smi">Just</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// TS2304: Cannot find name 'Maybe'.</span></pre></div>
<p dir="auto">but anything that is an interface doesn't register as a value on the exported namespace. I actually thought I might be able to import the whole namespace as a workaround, but I'm getting a different error:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import * as S from &quot;sanctuary&quot;; // TS2503: Cannot find namespace 'S'.

const x: S.Maybe&lt;number&gt; = S.Just(1);"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-c1">*</span> <span class="pl-k">as</span> <span class="pl-smi">S</span> <span class="pl-k">from</span> <span class="pl-s">"sanctuary"</span><span class="pl-kos">;</span> <span class="pl-c">// TS2503: Cannot find namespace 'S'.</span>

<span class="pl-k">const</span> <span class="pl-s1">x</span>: <span class="pl-smi">S</span><span class="pl-kos">.</span><span class="pl-smi">Maybe</span><span class="pl-kos">&lt;</span><span class="pl-smi">number</span><span class="pl-kos">&gt;</span> <span class="pl-c1">=</span> <span class="pl-smi">S</span><span class="pl-kos">.</span><span class="pl-en">Just</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Tested with typescript v2 and v3.</p>
<hr>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I tried using the <code class="notranslate">@types/sanctuary</code> package and had problems.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I tried using the latest stable version of tsc. <a href="https://www.npmjs.com/package/typescript" rel="nofollow">https://www.npmjs.com/package/typescript</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have a question that is inappropriate for <a href="https://stackoverflow.com/" rel="nofollow">StackOverflow</a>.  (Please ask any appropriate questions there).</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/blog/821-mention-somebody-they-re-notified">Mention</a> the authors (see <code class="notranslate">Definitions by:</code> in <code class="notranslate">index.d.ts</code>) so they can respond.
<ul dir="auto">
<li>Authors: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/davidchambers/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/davidchambers">@davidchambers</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/cortopy/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/cortopy">@cortopy</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/piq9117/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/piq9117">@piq9117</a></li>
</ul>
</li>
</ul>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I tried using the <code class="notranslate">@types/react-native</code> package and had problems.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I tried using the latest stable version of tsc. <a href="https://www.npmjs.com/package/typescript" rel="nofollow">https://www.npmjs.com/package/typescript</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/blog/821-mention-somebody-they-re-notified">Mention</a> the authors
<ul dir="auto">
<li>Authors: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/alloy/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/alloy">@alloy</a> @zusinShinpei <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Esemesek/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Esemesek">@Esemesek</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jeremybarbet/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jeremybarbet">@jeremybarbet</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/akrger/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/akrger">@akrger</a></li>
</ul>
</li>
</ul>
<p dir="auto">Since migrating to react-native 0.62 I get the following error for <code class="notranslate">Animated.View</code> and all the <code class="notranslate">Animated.Components</code> or components created using <code class="notranslate">createAnimatedComponent()</code>:</p>
<p dir="auto"><code class="notranslate">Property 'ref' does not exist on type 'IntrinsicAttributes &amp; AnimatedProps&lt;ViewProps&gt; &amp; { children?: ReactNode; }'</code></p>
<p dir="auto">Example :</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;&gt;
    {/*Working*/}}
    &lt;View ref={(ref) =&gt; console.log('Ref', ref)} /&gt;

    {/*Throwing error */}
    &lt;Animated.View ref={(ref) =&gt; console.log('RefAnimated', ref)} /&gt;
&lt;/&gt;"><pre class="notranslate"><code class="notranslate">&lt;&gt;
    {/*Working*/}}
    &lt;View ref={(ref) =&gt; console.log('Ref', ref)} /&gt;

    {/*Throwing error */}
    &lt;Animated.View ref={(ref) =&gt; console.log('RefAnimated', ref)} /&gt;
&lt;/&gt;
</code></pre></div>
<p dir="auto">This happens with a bare project using : <a href="https://github.com/react-native-community/react-native-template-typescript">https://github.com/react-native-community/react-native-template-typescript</a></p>
<p dir="auto">My relevant dependencies :</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;react&quot;: &quot;16.11.0&quot;,
&quot;react-native&quot;: &quot;0.62.0&quot;
&quot;@types/react-native&quot;: &quot;^0.62.0&quot;,
&quot;typescript&quot;: &quot;^3.8.3&quot;"><pre class="notranslate"><code class="notranslate">"react": "16.11.0",
"react-native": "0.62.0"
"@types/react-native": "^0.62.0",
"typescript": "^3.8.3"
</code></pre></div>
<p dir="auto">Probably relevant React-Native commit : <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/facebook/react-native/commit/66e72bb4e00aafbcb9f450ed5db261d98f99f82a/hovercard" href="https://github.com/facebook/react-native/commit/66e72bb4e00aafbcb9f450ed5db261d98f99f82a">facebook/react-native@<tt>66e72bb</tt></a></p>