title: Wildcard module declaration not work in typescript 2.x.x, why?
body: <p>Why doesn't this method declaration: <code>declare module "*!text" {}</code> is not work?</p>
  
  <p>The goal - to use a file content in a variable:</p>
  
  <pre><code>import layout = require("/js/views/layouts/wnd.html!text");
  </code></pre>
  
  <p>or so:</p>
  
  <pre><code>import layout from "/js/views/layouts/wnd.html!text";
  </code></pre>
  
  <p>If we do declaration as follows: <code>declare module "/js/views/layouts/wnd.html!text" {}</code> -
  everything works, but if this method is used <code>"*!text"</code> I get an error <code>cannot find module</code>. How do I force work this template: <code>"*!text"</code>?</p>
  
  <p>The reference <a href="https://www.typescriptlang.org/docs/handbook/modules.html#wildcard-module-declarations" rel="nofollow">to an example of the documentation</a></p>
  
  <p>I use systemJS with <a href="https://github.com/systemjs/plugin-text" rel="nofollow">plug-in for download text files</a></p>
  
  <p>Typescript version - 2.0.6</p>