no-unsafe-call
Configuration
rslint.config.ts
Rule Details
Disallow calling a value with type any.
Calling an any-typed value as a function or constructor is unsafe since there is no guarantee that the value is actually callable. This rule also flags tagged template expressions and new expressions with any-typed callee values, as well as calling values typed as the Function type.
Examples of incorrect code for this rule:
Examples of correct code for this rule: