when you import Component
import {Component} from '@angular/core'
The resolution path is...
@angular/core/index.ts -> ./src/core -> @angular/core/src/core.ts
The content of core.ts is here.
<https://raw.githubusercontent.com/angular/angular/master/modules/%40angular/core/src/core.ts>
---------------------------------------------------------------------------------------------------------------------------------------------
My question is what is the convention behind exporting things explicitly
export {APP_INITIALIZER, ApplicationInitStatus} from './application_init';
vs implicitly
export * from './metadata';
tracing through trying to find where component is defined could be tricky (you
could have to check every export * file).
Is there a reason the angular team doesn't explicitly export everything?
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.