title: How to add a typescript definition file to a npm package?
body: <p>Is there a way to add typescript definitions (<code>.d.ts</code> files) to a pure javascript project directly (e.g. in <code>package.json</code>). I can't find any documentation on that.</p>