core-native
Version:
A lightweight framework based on React Native + Redux + Redux Saga, in strict TypeScript.
8 lines (7 loc) • 433 B
TypeScript
import { ActionHandler, TickIntervalDecoratorFlag } from "../module";
declare type OnTickHandlerDecorator = (target: object, propertyKey: "onTick", descriptor: TypedPropertyDescriptor<ActionHandler & TickIntervalDecoratorFlag>) => TypedPropertyDescriptor<ActionHandler>;
/**
* For *onTick() action only, to specify to tick interval in second.
*/
export declare function Interval(second: number): OnTickHandlerDecorator;
export {};