UNPKG

ng1-shift

Version:

Angular 1.5+ decorators for writing Angular2 like.

16 lines (15 loc) 619 B
export * from "./decorators/ng-module"; export * from "./decorators/component"; export * from "./decorators/directive"; export * from "./decorators/lifecycle_hooks"; export declare function Input(alias?: string): PropertyDecorator; export declare function Output(alias?: string): PropertyDecorator; interface Ng1ShiftInjectableObject { $injectionToken: string; } export declare function Inject(dependencyName: string | Ng1ShiftInjectableObject): ParameterDecorator; export declare class EventEmitter<T = any> { private listeners; emit(event?: T): void; subscribe(callback: (event?: T) => void): void; }