Would you like to use Hackr.io in languages other than English? Let us know!

Angular Discussion Forums

There's no such thing as a stupid question. Ask. Discuss. Learn.

What was the approach defined behind importing the repeated libraries in all ts files in angular/react

What was the approach defined behind importing the repeated libraries in all .ts files in angular/react,
For Eg: import Component from @angular/core this line is used in all the files why it is not make a global accessible object?

Nc Kumar 6 months ago
  • Whitelisted Links