Skip to content

Parameter should be a read only type: what am I doing wrong? #378

Answered by RebeccaStevens
mward-sudo asked this question in Q&A
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