chore: removed angular2.api.ts
BREACKING CHANGE: We export InjectMetadata instead of InjectAnnotation
This commit is contained in:
@ -6,28 +6,22 @@
|
||||
*/
|
||||
|
||||
export {
|
||||
InjectAnnotation,
|
||||
OptionalAnnotation,
|
||||
InjectableAnnotation,
|
||||
DependencyAnnotation,
|
||||
VisibilityAnnotation,
|
||||
SelfAnnotation,
|
||||
ParentAnnotation,
|
||||
AncestorAnnotation,
|
||||
UnboundedAnnotation
|
||||
} from './src/di/annotations';
|
||||
InjectMetadata,
|
||||
OptionalMetadata,
|
||||
InjectableMetadata,
|
||||
VisibilityMetadata,
|
||||
SelfMetadata,
|
||||
ParentMetadata,
|
||||
AncestorMetadata,
|
||||
UnboundedMetadata,
|
||||
DependencyMetadata,
|
||||
self,
|
||||
unbounded
|
||||
} from './src/di/metadata';
|
||||
|
||||
// we have to reexport * because Dart and TS export two different sets of types
|
||||
export * from './src/di/decorators';
|
||||
|
||||
export {
|
||||
Inject,
|
||||
Optional,
|
||||
Injectable,
|
||||
Visibility,
|
||||
Self,
|
||||
Parent,
|
||||
Ancestor,
|
||||
Unbounded
|
||||
} from './src/di/decorators';
|
||||
export {self} from './src/di/annotations_impl';
|
||||
export {forwardRef, resolveForwardRef, ForwardRefFn} from './src/di/forward_ref';
|
||||
export {
|
||||
resolveBindings,
|
||||
@ -38,6 +32,7 @@ export {
|
||||
PUBLIC,
|
||||
PRIVATE,
|
||||
undefinedValue
|
||||
|
||||
} from './src/di/injector';
|
||||
export {Binding, BindingBuilder, ResolvedBinding, Dependency, bind} from './src/di/binding';
|
||||
export {Key, KeyRegistry, TypeLiteral} from './src/di/key';
|
||||
|
Reference in New Issue
Block a user