Closed lichunbin814 closed 5 years ago
Are you still able to reproduce this issue with the latest version?
Closing it due to inactivity. If the problem is still reproducible with the latest CLI, please open a new issue following the template and sharing a minimal demo where we can reproduce it. Thank you! :)
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
Bug Report or Feature Request (mark with an
x
)Versions.
@angular/cli: 1.4.4 node: 6.11.2 os: darwin x64 macOS
Repro steps.
folder structure
I add my share library(shared-layout) by angular Cli from local to my node_module, then I use the declaration of Route in
my_project
frommy_share_libary
, it will get some error aboutType 'Route' is not assignable to type 'Route'. Two different types with this name exist, but they are unrelated.
The log given by the failure.
Desired functionality.
I want to avoid error from my_proejct when I use file by locale shared library(shared-layout)
Type 'Route' is not assignable to type 'Route'. Two different types with this name exist, but they are unrelated.
Mention any other details that might be useful.
https://github.com/lichunbin814/TestAngularShareLibary/tree/master
Thanks for your help!!!!