Duplicate identifier
errors when compiling a project which links a module
#474
Labels
Duplicate identifier
errors when compiling a project which links a module
#474
Describe your environment
Describe the problem
We are using a monorepo and have a module (A) which depends on another module (B). Both of
firebase
listed as dependency. Compiling module B is not a problem. Compiling module A however is. These errors are showing up:I tweeted about this, and @DanielRosenwasser replied that it should be fixed in here. https://twitter.com/drosenwasser/status/957872358978609152
I was able to solve it with
paths
mappings intsconfig.json
, but would be nice if it just worked without.Steps to reproduce:
firebase
as dependencyyarn add link:../module-b
(Better to look at the reproduction repository)
Relevant Code:
Here's the repository I created to reproduce the problem. https://github.com/SamVerschueren/firebase-duplicate-tsd
// @jshcrowthe
The text was updated successfully, but these errors were encountered: