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 #157

Merged
merged 29 commits into from Dec 31, 2020
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
a29eb5b
Add `SetMutable` type
kainiedziela Nov 26, 2020
552c1e4
Add `SetMutable` to readme
kainiedziela Nov 26, 2020
9b41e0f
Update set-mutable.d.ts
kainiedziela Nov 26, 2020
906a629
Update readme.md
sindresorhus Nov 28, 2020
f8588ad
Update base.d.ts
sindresorhus Nov 28, 2020
8fd0d33
Remove default type arg and add additional docs
kainiedziela Nov 28, 2020
9590e53
Update set-mutable.d.ts
sindresorhus Dec 1, 2020
b350c30
Update mutable.d.ts
sindresorhus Dec 1, 2020
dfeff63
Clarify relationships
kainiedziela Dec 1, 2020
103c63f
Update source/set-mutable.d.ts
kainiedziela Dec 1, 2020
b5fde12
Update wrong comments
kainiedziela Dec 1, 2020
b7b495b
Update source/mutable.d.ts
kainiedziela Dec 1, 2020
02b440b
Update source/mutable.d.ts
kainiedziela Dec 1, 2020
1af6d4a
Use `Simplify` type for flattening `Set-` types output
kainiedziela Dec 2, 2020
8a41605
Mege `SetMutable` with `Mutable`
kainiedziela Dec 2, 2020
50f5447
Update simplify.d.ts
sindresorhus Dec 16, 2020
d953a14
Update mutable.d.ts
sindresorhus Dec 16, 2020
2a43c51
Remove obsolete test file
kainiedziela Dec 17, 2020
4de5143
Improve documentation
kainiedziela Dec 17, 2020
5d0986f
Merge branch 'set-mutable' of https://github.com/kainiedziela/type-fe…
kainiedziela Dec 17, 2020
f6edcd1
Update source/simplify.d.ts
kainiedziela Dec 17, 2020
c93f096
Update source/mutable.d.ts
kainiedziela Dec 17, 2020
def1d3f
Improve documentation
kainiedziela Dec 17, 2020
fb52746
Merge branch 'set-mutable' of https://github.com/kainiedziela/type-fe…
kainiedziela Dec 17, 2020
c8cc662
Update readme.md
kainiedziela Dec 20, 2020
87a78c7
Update mutable.d.ts
sindresorhus Dec 26, 2020
a8f42ad
Merge branch 'master' into set-mutable
sindresorhus Dec 26, 2020
55c60e2
Import utility types into Mutable
kainiedziela Dec 26, 2020
0db9d7f
Merge branch 'set-mutable' of https://github.com/kainiedziela/type-fe…
kainiedziela Dec 26, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion readme.md
Expand Up @@ -61,7 +61,7 @@ Click the type names for complete docs.
### Utilities

- [`Except`](source/except.d.ts) - Create a type from an object type without certain keys. This is a stricter version of [`Omit`](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-5.html#the-omit-helper-type).
- [`Mutable`](source/mutable.d.ts) - Convert an object with `readonly` keys into a mutable object. The inverse of `Readonly<T>`. Alternatively creates a type that converts the given keys from `readonly` to mutable and the remaining keys are kept as is, as opposed to converting all keys to mutable.
- [`Mutable`](source/mutable.d.ts) - Strip `readonly` from all or some of an object's keys. The inverse of `Readonly<T>`.
kainiedziela marked this conversation as resolved.
Show resolved Hide resolved
- [`Merge`](source/merge.d.ts) - Merge two types into a new type. Keys of the second type overrides keys of the first type.
- [`MergeExclusive`](source/merge-exclusive.d.ts) - Create a type that has mutually exclusive keys.
- [`RequireAtLeastOne`](source/require-at-least-one.d.ts) - Create a type that requires at least one of the given keys.
Expand Down