src/mutationaction.ts
Function mutationActionDecoratorFactory
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function mutationActionDecoratorFactory<T extends Object>(params: MutationActionParams<T>) {
return function (
target: T,
key: string | symbol,
descriptor: TypedPropertyDescriptor<(...args: any[]) => Promise<Partial<T> | undefined>>