src/helpers/decorators.js
function Call(path) {
  if (typeof path !== 'string' || arguments.length > 1) { throw new Error('Property decorators can be used for single property access') }
  return createDecorator((options, key) => {
    if (!options.methods) options.methods = {}
    options.methods[key] = call(path)
  })
}
function Call(path) {
  if (typeof path !== 'string' || arguments.length > 1) { throw new Error('Property decorators can be used for single property access') }
  return createDecorator((options, key) => {
    if (!options.methods) options.methods = {}
    options.methods[key] = call(path)
  })
}
function Call ( path ) { if ( typeof path !== 'string' || arguments . length > 1 ) { throw new Error ( 'Property decorators can be used for single property access' ) } return createDecorator ( ( options , key ) => { if ( ! options . methods ) options . methods = { } options . methods [ key ] = call ( path ) } ) }
Decortaor for `call` component helper.
@param   {string}          path - Path in store
@returns {VueDecorator}  - Vue decortaor to be used in cue class component.
Decortaor for call component helper .