import { actionStore } from '../stores/actionStore' ; export const createMethodDecorator = ( method ) => { return ( path ) => { return function ( target , propertyKey , descriptor ) { actionStore . set ( descriptor . value , { target , propertyKey , path , method , fn : descriptor . value , } ) ; } ; } ; } ;