Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Mutable type #111

Merged

Conversation

dosentmatter
Copy link
Contributor

@dosentmatter dosentmatter commented Oct 21, 2019

Description

Add Mutable type.

Related issues:

Checklist

  • I have read CONTRIBUTING.md
  • I have linked all related issues above
  • I have rebased my branch

For new features:

  • I have added entry in TOC and API Docs
  • I have added a short example in API Docs to demonstrate new usage
  • I have added type unit tests with dts-jest

IssueHunt Summary

Referenced issues

This pull request has been submitted to:


IssueHunt has been backed by the following sponsors. Become a sponsor

@dosentmatter
Copy link
Contributor Author

Should this be called Mutable or Writable? We have another type called WritableKeys<T>. TypeScript uses the word Mutable in their docs though.

@piotrwitek
Copy link
Owner

piotrwitek commented Oct 21, 2019 via email

dosentmatter added a commit to dosentmatter/utility-types that referenced this pull request Oct 22, 2019
Keep `WritableKeys<T>` as an alias to `MutableKeys<T>`.

Issue: piotrwitek#111
@dosentmatter
Copy link
Contributor Author

@piotrwitek, thanks for the feedback. I renamed WritableKeys<T> to MutableKeys<T> and added the alias in the latest commit.

Copy link
Owner

@piotrwitek piotrwitek left a comment

Choose a reason for hiding this comment

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

Thanks for putting an extra effort, looks good!

@piotrwitek
Copy link
Owner

piotrwitek commented Oct 22, 2019

@dosentmatter could you please rebase your PRs branch? I would like to merge and it has conflicts currently.
Thanks!

Keep `WritableKeys<T>` as an alias to `MutableKeys<T>`.

Issue: piotrwitek#111
@dosentmatter
Copy link
Contributor Author

dosentmatter commented Oct 22, 2019

@piotrwitek, I rebased this branch onto the latest master. Thanks for merging!

@piotrwitek piotrwitek merged commit adbbaae into piotrwitek:master Oct 22, 2019
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.

Add new type: Mutable
2 participants