no-unsafe-argument
Configuration
rslint.config.ts
Rule Details
Disallow calling a function with a value with type any.
The any type in TypeScript is a dangerous escape hatch from the type system. Passing an any-typed value as an argument to a function defeats the purpose of the parameter's type safety. This rule flags cases where any-typed values are passed as arguments, including spread arguments.
Examples of incorrect code for this rule:
Examples of correct code for this rule: