Duplicate identifier errors in a duplicate dependency system #378
Comments
Most likely this is actually the |
I think the issue is with |
Just looked into it, that's odd. It is actually being output in |
I think I see how it could occur, I'll look into creating a small reproduction and fixing it. Edit: Confirmed. The imported check is per-dependency, so when an import is occuring from the top level and from internally it's been duplicated. Fixing it now. |
Thanks for the report @basarat, I've got a solution and will push out a new patch with it. |
@basarat, @unional, @blakeembrey Thanks for helping out so quick, compiling without any errors now! Appreciate all the amazing work that's been done. Typings is a major (needed) improvement on the development workflow. |
If a project has the following dependencies (
typings.json
):The issue is that the final resolution is like this:
A
typings install
creates atypings/main/definitions/ts-data/index.d.ts
That has thets-core
declarations duplicated and this results in a bunch of errors.Repro Steps
See errors in
index.d.ts
:PS: original report http://stackoverflow.com/questions/36282757/typings-duplicate-declarations
PS: I haven't investigated it much more and might be an issue with
ts-data
/ts-core
setups. I just wanted to share general steps for repro 🌹The text was updated successfully, but these errors were encountered: