title: create index.d.ts for read-more-react npm package
body: <p>I have a typescript project,</p>
  <p>I am trying to import <a href="https://www.npmjs.com/package/read-more-react" rel="nofollow noreferrer">read-more-react</a> but beacuse it doesn't have a @type defined for it, I need to write the index.d.ts file myself (place it under @type/read-more-react),</p>
  <p>I have tried this:</p>
  <pre><code>declare module 'read-more-react' {
  
      import React from 'react';
  
      declare const ReadMoreReact:  React.FunctionComponent&lt;ReadMoreReactProps&gt;;
  
  }
  
  interface ReadMoreReactProps {
      text: string
      min: number
      ideal: number
      max: number
      readMoreText: string
  }
  </code></pre>
  <p>but it doesn't seems to work,</p>
  <p>can anyone help me in how to successfully implement the index.d.ts file, what am I missing ?</p>