As described in #959, there is an incompatibility between how this declaration file is structured and the expectations of recent TypeScript versions.
Removing the export assignment ensures that only the default symbol is exported.
An export assignment cannot be used in a module with other exported elements.
Perhaps a better long term solution would be to upgrade the version of TypeScript used in the project. Happy to help with this if I can get a bit of guidance around where to start and managing build tools.
Checklist
[x] The new code additions passed the tests (npm test).
[x] The linter ran and found no issues (npm run-script lint).
Description
As described in #959, there is an incompatibility between how this declaration file is structured and the expectations of recent TypeScript versions.
Removing the export assignment ensures that only the default symbol is exported.
Perhaps a better long term solution would be to upgrade the version of TypeScript used in the project. Happy to help with this if I can get a bit of guidance around where to start and managing build tools.
Checklist
npm test
).npm run-script lint
).