@zodiac-ui/ng-observable
Version:
Create powerful reactive components with Angular. AoT compatible and Ivy ready.
10 lines (9 loc) • 449 B
TypeScript
/**
* Future API for declaring lifecycle hooks at runtime without extending a base class. Will
* become available if/when Angular supports runtime lifecycle hooks that work AoT or when
* the compiler can be configured to add lifecycle features without adding them to the class.
*
* @param flags Enum flags for toggling which lifecycle hooks to enable
*
*/
export declare function UseHooks(...flags: number[]): (target: any) => void;