Skip to content
\n

I'm getting the Parameter should be a read only type error and I cannot figure what I am doing incorrectly.

\n

Can anyone help?

","upvoteCount":1,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"

Is it this rule repotting the error: @typescript-eslint/prefer-readonly-parameter-types?

\n

This rule checks typed deeply for readonlyness. So if PostAuthorFragment or CloudinaryImageProps isn't deeply readonly the an issue will be reported`.

","upvoteCount":1,"url":"https://github.com/eslint-functional/eslint-plugin-functional/discussions/378#discussioncomment-2975568"}}}
Discussion options

You must be logged in to vote

Is it this rule repotting the error: @typescript-eslint/prefer-readonly-parameter-types?

This rule checks typed deeply for readonlyness. So if PostAuthorFragment or CloudinaryImageProps isn't deeply readonly the an issue will be reported`.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mward-sudo
Comment options

@mward-sudo
Comment options

Answer selected by mward-sudo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants