src/types.ts

Summary

Maintainability
A
0 mins
Test Coverage

Interface has only a call signature — use type ObjectType<t> = new () =&gt; T;</t> instead.
Open

    new (): T;
Severity: Minor
Found in src/types.ts by tslint

Rule: callable-types

An interface or literal type with just a call signature can be written as a function type.

Rationale

style

Notes
  • TypeScript Only
  • Has Fix

Config

Not configurable.

For more information see this page.

There are no issues that match your filters.

Category
Status