src/helpers/decorators.js
function Get(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.computed) options.computed = {}
    options.computed[key] = get(path)
  })
}
function Get(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.computed) options.computed = {}
    options.computed[key] = get(path)
  })
}
function Get ( 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 . computed ) options . computed = { } options . computed [ key ] = get ( path ) } ) }
Decortaor for `get` component helper.
@param   {string}          path - Path in store
@returns {VueDecorator}         - Vue decortaor to be used in cue class component.
Decortaor for get component helper .