refactor: Switch to typescript
Use a typescript implementation to support automatic type generations. Tests run successfully.
Thanks for taking the time to open a PR. I'm unsure it will be merged as this package is relatively low-maintenance, and switching to TypeScript is not a priority.
For those who do use TypeScript, the @types/exif-reader package is available with suitable definitions.
https://www.npmjs.com/package/@types/exif-reader
Thanks for your comment. Although it is clear that typescript migration is not a high priority I don't think this should be a reason for not doing it. Especially because the migration is pretty trivial and all the tests were successful (1y ago). If this means I should close the PR, please let me know. Thanks.