Skip to content

fix(types): remove readonly from responses#1068

Merged
nunomaduro merged 1 commit intomasterfrom
fix/remove-readonly-responses
Mar 11, 2020
Merged

fix(types): remove readonly from responses#1068
nunomaduro merged 1 commit intomasterfrom
fix/remove-readonly-responses

Conversation

@francoischalifour
Copy link
Copy Markdown
Contributor

Description

This closes #1064 by removing all readonly attributes from the response types.

How

  • Ignore the rule functional/prefer-readonly-type in all *Response.ts files
  • Remove the Readonly<> and ReadonlyArray<> types

Copy link
Copy Markdown
Contributor

@Haroenv Haroenv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there's some more remaining ReadOnlyArray & ReadOnly in this diff

@francoischalifour francoischalifour force-pushed the fix/remove-readonly-responses branch from 1eab07c to 034b2c7 Compare March 11, 2020 09:30
@nunomaduro nunomaduro merged commit d1bf172 into master Mar 11, 2020
@nunomaduro nunomaduro deleted the fix/remove-readonly-responses branch March 11, 2020 10:58
@nunomaduro nunomaduro mentioned this pull request Apr 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: remove readonly constraint from response related types

3 participants