JamieMason/expect-more

View on GitHub
packages/expect-more/src/lib/curry1.ts

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Type literal has only a call signature — use (a: unknown) => a is R instead.
Open

  (a: unknown): a is R;

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