-
-
Notifications
You must be signed in to change notification settings - Fork 231
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 "Nullish" type alias #152
Conversation
Introduced in TS 3.7 with nullish coalescing operator (see [here][1]) [1]: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html#nullish-coalescing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks outstanding! Big thanks!
Hey @zhirzh, big thanks for the awesome job, I really love it! Build i failing because you have to format your code with prettier, it is in the log, you can easily fix it using command: Could you please do it then I can merge it and publish new version to npm. Thanks for help! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix broken build by running npm run prettier:fix
from the command line in your project.
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [utility-types](https://togithub.com/piotrwitek/utility-types) | [`3.10.0` -> `3.11.0`](https://renovatebot.com/diffs/npm/utility-types/3.10.0/3.11.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/utility-types/3.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/utility-types/3.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/utility-types/3.10.0/3.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/utility-types/3.10.0/3.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>piotrwitek/utility-types (utility-types)</summary> ### [`v3.11.0`](https://togithub.com/piotrwitek/utility-types/releases/tag/v3.11.0) [Compare Source](https://togithub.com/piotrwitek/utility-types/compare/v3.10.0...v3.11.0) #### What's Changed - Fix a typo in README by [@​gamtiq](https://togithub.com/gamtiq) in [https://github.com/piotrwitek/utility-types/pull/153](https://togithub.com/piotrwitek/utility-types/pull/153) - add "Nullish" type alias by [@​zhirzh](https://togithub.com/zhirzh) in [https://github.com/piotrwitek/utility-types/pull/152](https://togithub.com/piotrwitek/utility-types/pull/152) - Fix typo in $Call documentation by [@​kumar303](https://togithub.com/kumar303) in [https://github.com/piotrwitek/utility-types/pull/154](https://togithub.com/piotrwitek/utility-types/pull/154) - Link to ReturnType from $Call docs by [@​kumar303](https://togithub.com/kumar303) in [https://github.com/piotrwitek/utility-types/pull/155](https://togithub.com/piotrwitek/utility-types/pull/155) - fix: ReadOnly<T> has a typo in its documentation ([#​156](https://togithub.com/piotrwitek/utility-types/issues/156)) by [@​cyli2014](https://togithub.com/cyli2014) in [https://github.com/piotrwitek/utility-types/pull/157](https://togithub.com/piotrwitek/utility-types/pull/157) - fix: DeepPartial with generic parameter should allow assigning {} by [@​mpiniarski](https://togithub.com/mpiniarski) in [https://github.com/piotrwitek/utility-types/pull/184](https://togithub.com/piotrwitek/utility-types/pull/184) - Fix typo in $Call comment by [@​Yuddomack](https://togithub.com/Yuddomack) in [https://github.com/piotrwitek/utility-types/pull/185](https://togithub.com/piotrwitek/utility-types/pull/185) #### New Contributors - [@​gamtiq](https://togithub.com/gamtiq) made their first contribution in [https://github.com/piotrwitek/utility-types/pull/153](https://togithub.com/piotrwitek/utility-types/pull/153) - [@​zhirzh](https://togithub.com/zhirzh) made their first contribution in [https://github.com/piotrwitek/utility-types/pull/152](https://togithub.com/piotrwitek/utility-types/pull/152) - [@​kumar303](https://togithub.com/kumar303) made their first contribution in [https://github.com/piotrwitek/utility-types/pull/154](https://togithub.com/piotrwitek/utility-types/pull/154) - [@​cyli2014](https://togithub.com/cyli2014) made their first contribution in [https://github.com/piotrwitek/utility-types/pull/157](https://togithub.com/piotrwitek/utility-types/pull/157) - [@​mpiniarski](https://togithub.com/mpiniarski) made their first contribution in [https://github.com/piotrwitek/utility-types/pull/184](https://togithub.com/piotrwitek/utility-types/pull/184) - [@​Yuddomack](https://togithub.com/Yuddomack) made their first contribution in [https://github.com/piotrwitek/utility-types/pull/185](https://togithub.com/piotrwitek/utility-types/pull/185) **Full Changelog**: piotrwitek/utility-types@v3.10.0...v3.11.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/macchiitaka/tasks-app-nextjs). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Description
Introduced in TS 3.7 with nullish coalescing operator (see here)
Checklist
For new features:
dts-jest