championswimmer/vuex-module-decorators

View on GitHub
src/mutationaction.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Function mutationActionDecoratorFactory has 55 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function mutationActionDecoratorFactory<T extends Object>(params: MutationActionParams<T>) {
  return function (
    target: T,
    key: string | symbol,
    descriptor: TypedPropertyDescriptor<(...args: any[]) => Promise<Partial<T> | undefined>>
Severity: Major
Found in src/mutationaction.ts - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status