# Decorator StoreFn

Decorator
Module
import { StoreFn } from "@tsed/core"
Source/packages/core/src/decorators/storeFn.ts

# Overview

function StoreFn(fn: (store: Store, parameters: DecoratorParameters) => void): Function;

# Description

Create a store correctly configured from the parameters given by the decorator. The fn can return a decorator that will be initialized with the parameters (target, propertyKey, descriptor).

Other topics