in a snippets project, reference erdjs-snippets (which references a specific version of erdjs, say A)
in the same snippets project, reference a newer version of erdjs, B)
A series of compilation errors occur.
Solution:
decoupling, usage of interfaces
Workaround:
in the snippets project, reference an erdjs version that matches the one listed as a dependency at https://github.com/ElrondNetwork/erdjs-snippets/blob/v{your version of erdjs-snippets}/package.json
Originally reported here.
Steps to reproduce:
A series of compilation errors occur.
Solution:
Workaround:
https://github.com/ElrondNetwork/erdjs-snippets/blob/v{your version of erdjs-snippets}/package.json
Further references: