title: How do I import react-admin in a React Typescript appplication?
body: <p>I'm trying to set up a react-admin app in typescript and I can't quite figure out how to import react-admin. It gives me the (simple) error saying </p>
  
  <pre><code>"Could not find a declaration file for module 'react-admin'. 
  '.../node_modules/react-admin/lib/index.js' implicitly has an 'any' type.
  Try `npm install @types/react-admin` if it exists or add a new declaration (.d.ts)
   file containing `declare module 'react-admin';`"
  </code></pre>
  
  <p>@types/react-admin is not a valid package but I couldn't find anyone else complaining about this on github or stackoverflow. Am I missing something? As far as I can see, most things have already been migrated to typescript.</p>
  
  <p>Edit: Found <a href="https://github.com/marmelab/react-admin/issues/3242" rel="noreferrer">this</a> which actually references the problem with ts. However it's been 5 months since they said "it will take months"</p>