import { actionConfigStore } from '../action/store'; export function shared() { return (target: any, key: string) => { if (!target.name) { const ac = actionConfigStore.get(target.constructor); ac.shared.add(key); } }; }