Skip to content

Commit 47d2069

Browse files
authored
add Conditional types in typescirpt post
1 parent 9348231 commit 47d2069

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ a list of typescript helper libraries. advanced guides in `typescript-cheatsheet
66

77
Be familiar with the [Utility Types that ship with TS](https://codewithstyle.info/Comprehensive-list-of-useful-built-in-types-in-TypeScript/). On top of that, here are handy Utility Types often used by TS practitioners, with explanation on what they do and how they can help. We will assume knowledge of [mapped types and conditional types](https://mariusschulz.com/blog/series/typescript-evolution) like `Exclude<T, U>` and `ReturnType<T>` but try to build progressively upon them.
88

9+
> Note: If you are new to conditional types, I highly recommend [DJSheldrick's blogpost and talk on Conditional Types in TypeScript](https://artsy.github.io/blog/2018/11/21/conditional-types-in-typescript/)
10+
911
<details>
1012
<summary>
1113
<code>Omit&lt;T, K extends keyof T&gt;</code>: Subtract keys from one interface from the other.

0 commit comments

Comments
 (0)