q-proxyable
Version:
normal utils by qianzhixiang
11 lines (10 loc) • 392 B
TypeScript
import { ProxyEmitter } from './event';
export declare function State(): (target: any, key: string) => void;
export interface ICompoutedStore {
proto: any;
inited: boolean;
value: any;
emitter: ProxyEmitter;
map: Map<object, (string | number | symbol)[]>;
}
export declare function Computed(): (target: any, key: string, descriptor: PropertyDescriptor) => void;