title: import * as someName from '@angular/core' in angular 2/4/5/6/latter Versions
body: <p>How to use <strong>import * as someName from '@angular/core'</strong> in angular2/4/5/6/latter versions; not that particular package like <strong>@angular/core</strong>, it is any package. I am confusing in this question then how to use it, how to apply it in component, Please help me any one with sample example if you were facing such type of questions in your project.  </p>