The current docs website is OK but we could do better.
We need to build a better documentation website with docz. This is a feature that does not exist within docz so we will have to:
Just to give me 2 cents:
There are many types I'm not 100% sure of how & why to use. Some types are also similar to native TS types, so I often wonder the benefit of the TS-Toolbelt one over the native one.
If you want I can go through the entire list of types and write up one by one why I don't understand a type/example.
Let me know if this would help.
Yes, thanks, that would be amazing! This is great help :)
The idea behind ts-toolbelt having all of the types is that:
Pick/Omit not working with unions)Record, that used to be the same as ts' but now has options to make fields ? or readonly.Looking forward to your comments on the docs! Thanks
@millsp
I spent about 2 hours this morning reviewing the current types.
I have difficulties understanding why you provide wrappers like these:
How/why should we use them?
& I have difficulties understanding almost everything under:
Then I realised I only have real experience with your O / Object types, so I just focused my review on those types, and I went through the entire list and made notes:
Not 100% sure what it does exactly + it has no example:
Not 100% sure what it does exactly even though it has an example:
The difference is not super clear between:
"Keys" variants:
"Up" variants:
"Path" variants:
Overall:
I hope this helps <3
Amazing, thank you so much for your feedback. Thanks for taking the time!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
@millsp
I spent about 2 hours this morning reviewing the current types.
I have difficulties understanding why you provide wrappers like these:
How/why should we use them?
& I have difficulties understanding almost everything under:
Then I realised I only have real experience with your
O / Objecttypes, so I just focused my review on those types, and I went through the entire list and made notes:Not 100% sure what it does exactly + it has no example:
Not 100% sure what it does exactly even though it has an example:
The difference is not super clear between:
"Keys" variants:
"Up" variants:
"Path" variants:
Overall:
I hope this helps <3