Skip to content

script-utils/linters/eslint-rules/readonly-params-options-result-members

ESLint rule: readonly-params-options-result-members

Reports an error when an interface or type alias whose name ends with Params, Options, or Result has a property signature that is not readonly. Parameter/options/result bags should be immutable — callers should never mutate the object they received.

VariableDescription
MESSAGE_IDMessage ID reported when a member of a *Params/*Options/*Result interface is not declared readonly.
readonlyParamsOptionsResultMembers