@zodiac-ui/ng-observable
Version:
Create powerful reactive components with Angular. AoT compatible and Ivy ready.
14 lines (13 loc) • 1.35 kB
TypeScript
import { NgObservable } from "../ng-observable";
export declare function makeDecorator(decorator: Function): any;
export declare function makePropDecorator(decorator: Function): any;
export declare function computed<R extends unknown = never, T extends any = any, U extends string = string>(selectorFactory: () => (state: any) => T & R): (target: any, propertyKey: U) => void;
export declare function decorateLifecycle(target: any, propertyKey: string, name: string): void;
export declare function ngOnChanges<T extends NgObservable>(): (target: T, propertyKey: string) => void;
export declare function ngOnInit<T extends NgObservable>(): (target: T, propertyKey: string) => void;
export declare function ngDoCheck<T extends NgObservable>(): (target: T, propertyKey: string) => void;
export declare function ngAfterContentInit<T extends NgObservable>(): (target: T, propertyKey: string) => void;
export declare function ngAfterContentChecked<T extends NgObservable>(): (target: T, propertyKey: string) => void;
export declare function ngAfterViewInit<T extends NgObservable>(): (target: T, propertyKey: string) => void;
export declare function ngAfterViewChecked<T extends NgObservable>(): (target: T, propertyKey: string) => void;
export declare function ngOnDestroy<T extends NgObservable>(): (target: T, propertyKey: string) => void;