<p dir="auto">After the upgrade to beta 2 I suddenly see the following errors:<br>
Error:(4, 5) TS2304: Cannot find name 'it'.<br>
Error:(13, 9) TS2304: Cannot find name 'expect'.<br>
Error:(39, 36) TS2339: Property 'toBeNull' does not exist on type 'NgMatchers'.</p>
<p dir="auto"><strong>I'm submitting a ...</strong>  (check one with "x")</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ ] bug report
[x] feature request
[ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[ ] bug report
[x] feature request
[ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong></p>
<p dir="auto">Right now you cannot import two directives of the same module</p>
<p dir="auto"><strong>Expected/desired behavior</strong></p>
<p dir="auto">You can use same directives/components in multiple modules without errors.</p>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong></p>
<p dir="auto">Concept of the shared module with its shared resources is good for components that are used everywhere. But if you have a complex application (ours contain more then 50 modules and 1500 components, services and pipes all together) multiple components can be reused different way. For example QuestionListPage uses UserActiveListPanel from User module. Also PhotoListPage uses same UserActiveListPanel, and VideoListPage uses UserActiveListPanel. How do I reuse this panel? Best way is see is to provide it in <code class="notranslate">directives</code> of the component as it was before rc.5. But right now I can't do it. But I can create lets say UserShareModule and put it there... its good, but if I put everything that is used by other modules from user module, i'll LOT of things there unnecessary in most of times. Then what to do? Create UserActiveListPanelShareModule? It will create lot of such trash files. So what to do? Maybe we simply can provide same directives multiple times without having this annoying error <code class="notranslate">Type X is part of the declarations of 2 modules</code>?</p>
<p dir="auto">If you tell me that its by design, then my answer is: in my opinion its a bad design.</p>
<p dir="auto"><strong>Please tell us about your environment:</strong></p>
<ul dir="auto">
<li><strong>Angular version:</strong> 2.0.0-rc.5</li>
<li><strong>Browser:</strong> [all ]</li>
<li><strong>Language:</strong> [all]</li>
</ul>