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 says
that a value is non-primitive but says nothing useful about its contract. Accept the owner type you need and
parse external input before this function is called.
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) {}