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

Improve TS typing capabilities #15

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Mr0Bread
Copy link

No description provided.

Vladislav Zimnikov added 4 commits September 27, 2022 13:17
- Added possibility to explicitly define type of field added using `addField` method through passing third generic argument
- Added possibility to explicitly define type definition of list of fields added using `addFieldList` method through passing second generic argument
- To `addFieldList` added typesafety check if type definition's keys does not match the ones provided to method as an argument
- Updated typescript dependency to latest version
- Installed type-fest library to use custom utility types like EmptyObject and StringKeyOf
- Fixed import paths in tests
- Skipped one test as it relies on mutation that does not exist anymore
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.

1 participant