objectParameterParameter `{{parameter}}` uses the broad `object` type. Accept a named owner type; parse external input at its boundary before calling this function.small-rules/no-object-parametersDisallow object function parameters; inputs must use an owner-provided type and be parsed at their boundary.
Ported from dmmulroy/anti-slop. object excludes null
and the scalar types, and says nothing useful about the value’s contract. Accept the owner type you need,
and parse external input before you call this function.
objectParameterParameter `{{parameter}}` uses the broad `object` type. Accept a named owner type; parse external input at its boundary before calling this function.This rule does not accept options.
function save(value: object) {}interface Owner { readonly id: string }function save(value: Owner) {}