-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Running tsc on a project that imports addresscompiler fails with the following error messages:
$ npm run typecheck
> typecheck
> tsc
node_modules/addresscompiler/src/addresscompiler.d.ts:7:4 - error TS1036: Statements are not allowed in ambient contexts.
7 };
~
node_modules/addresscompiler/src/addresscompiler.d.ts:14:3 - error TS1038: A 'declare' modifier cannot be used in an already ambient context.
14 declare const AddressCompiler: {
~~~~~~~
node_modules/addresscompiler/src/addresscompiler.d.ts:18:3 - error TS2309: An export assignment cannot be used in a module with other exported elements.
18 export = AddressCompiler;
~~~~~~~~~~~~~~~~~~~~~~~~~
Found 3 errors in the same file, starting at: node_modules/addresscompiler/src/addresscompiler.d.ts:7
Minimal reproducing example here: https://github.com/lpsinger/addresscompiler-bug-report
Metadata
Metadata
Assignees
Labels
No labels