championswimmer/vuex-persist

View on GitHub
src/SimplePromiseQueue.ts

Summary

Maintainability
A
0 mins
Test Coverage

Array type using 'Array<t>' is forbidden. Use 'T[]' instead.</t>
Open

  private readonly _queue: Array<Promise<void>> = []
Severity: Minor
Found in src/SimplePromiseQueue.ts by tslint

Rule: array-type

Requires using either 'T[]' or 'Array<t>' for arrays.</t>

Notes
  • TypeScript Only
  • Has Fix

Config

One of the following arguments must be provided:

  • "array" enforces use of T[] for all types T.
  • "generic" enforces use of Array<T> for all types T.
  • "array-simple" enforces use of T[] if T is a simple type (primitive or type reference).
Examples
"array-type": true,array
"array-type": true,generic
"array-type": true,array-simple
Schema
{
  "type": "string",
  "enum": [
    "array",
    "generic",
    "array-simple"
  ]
}

For more information see this page.

There are no issues that match your filters.

Category
Status