title: How to import markdown(.md) file in typescript
body: <p>I am trying to import readme files in typescript but getting "error module not found"</p>
  
  <p>My TS code</p>
  
  <pre><code>import * as readme from "./README.md"; // here i am getting error module not found
  </code></pre>
  
  <p>I also tried: typings.d.ts</p>
  
  <pre><code>declare module "*.md" {
      const value: any;
      export default value;
  }
  </code></pre>
  
  <p>I found that in typescript 2.0 <a href="https://github.com/Microsoft/TypeScript/wiki/What" rel="noreferrer">https://github.com/Microsoft/TypeScript/wiki/What</a>'s-new-in-TypeScript#typescript-20
   they have introduced "Wildcard character in module names" using that we can include any extension file.</p>
  
  <p>I just followed example <a href="https://hackernoon.com/import-json-into-typescript-8d465beded79" rel="noreferrer">https://hackernoon.com/import-json-into-typescript-8d465beded79</a> which is for json files I followed same for markdown files but no success.</p>
  
  <p>I am not using webpack and any loader, so I just wanted it only from typescript</p>