CyCraft / CyCraft/magnetar

unify partial deep type & improve `defaults` function examples

Open
#100 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
46
Forks
6
PR merge metrics
No merged PRs in 30d

Description

- [ ] unify `PartialDeep` to use
```ts
export type PartialDeep = O extends Record
? { [K in keyof O]?: PartialDeep }
: O
```
- [ ] `export` this type as well
- [ ] make sure that `merge-anything` works correctly with the PartialDeep type I end up using

[DOCS]
- [ ] rewrite the documentation for the defaults... functions to use `PartialDeep`
- suggest to use `merge()` function for cases with nested objects
- [ ] explain how to be re-use modules with config in other modules with other where filters

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.