Rule: no-inferred-empty-object-type

Disallow type inference of {} (empty object type) at function and constructor call sites

Rationale

When function or constructor may be called with a type parameter but one isn’t supplied or inferrable, TypeScript defaults to {}. This is often undesirable as the call is meant to be of a more specific type.

Notes:

Config

Not configurable.

Config examples
"no-inferred-empty-object-type": true
Schema
null