Skip to content
Navigation menu
Search
Powered by
Search
Algolia
Log in
Create account
DEV Community
Close
Typescript WTF Moments Series' Articles
Back to Acid Coder's Series
Typescript WTF Moments 1: Mixing String Literal Key And String Key In Object Literal Type
Acid Coder
Acid Coder
Acid Coder
Follow
Aug 7 '22
Typescript WTF Moments 1: Mixing String Literal Key And String Key In Object Literal Type
#
webdev
#
tutorial
#
programming
#
typescript
5
reactions
Comments
Add Comment
1 min read
Typescript WTF Moments 2: keyof {[x:string]:string} is string | number
Acid Coder
Acid Coder
Acid Coder
Follow
Aug 7 '22
Typescript WTF Moments 2: keyof {[x:string]:string} is string | number
#
webdev
#
programming
#
tutorial
#
typescript
3
reactions
Comments
Add Comment
1 min read
Typescript WTF Moments 3: Type of Key is `string` if Key is Template Literal `a/${string}`
Acid Coder
Acid Coder
Acid Coder
Follow
Aug 8 '22
Typescript WTF Moments 3: Type of Key is `string` if Key is Template Literal `a/${string}`
#
webdev
#
tutorial
#
programming
#
typescript
3
reactions
Comments
Add Comment
1 min read
Typescript WTF Moments 4: never extends `${infer P}` yield different result than never extends `${infer P}/`
Acid Coder
Acid Coder
Acid Coder
Follow
Aug 8 '22
Typescript WTF Moments 4: never extends `${infer P}` yield different result than never extends `${infer P}/`
#
programming
#
webdev
#
tutorial
#
typescript
3
reactions
Comments
Add Comment
1 min read
Typescript WTF Moments 5: const a = 'a' is not equal to const a = 'a' as const and const a:'a'='a'
Acid Coder
Acid Coder
Acid Coder
Follow
Aug 10 '22
Typescript WTF Moments 5: const a = 'a' is not equal to const a = 'a' as const and const a:'a'='a'
#
webdev
#
typescript
#
programming
#
tutorial
3
reactions
Comments
Add Comment
1 min read
Typescript WTF Moments 6: Non Collapsing Object Unions
Acid Coder
Acid Coder
Acid Coder
Follow
Aug 19 '22
Typescript WTF Moments 6: Non Collapsing Object Unions
#
typescript
#
webdev
#
programming
#
tutorial
2
reactions
Comments
Add Comment
1 min read
Typescript WTF Moments 7: Boolean can extends Record<infer X,unknown>
Acid Coder
Acid Coder
Acid Coder
Follow
Aug 22 '22
Typescript WTF Moments 7: Boolean can extends Record<infer X,unknown>
#
webdev
#
typescript
#
programming
#
tutorial
1
reaction
Comments
3
comments
1 min read
Typescript WTF Moments 8: Type Level Equality Not Working With Intersection
Acid Coder
Acid Coder
Acid Coder
Follow
Sep 22 '22
Typescript WTF Moments 8: Type Level Equality Not Working With Intersection
#
typescript
#
webdev
#
programming
#
tutorial
Comments
Add Comment
1 min read
Typescript WTF Moments 9: Evolving Empty Array Type
Acid Coder
Acid Coder
Acid Coder
Follow
Dec 20 '22
Typescript WTF Moments 9: Evolving Empty Array Type
#
javascript
#
webdev
#
ai
#
github
4
reactions
Comments
Add Comment
1 min read
Typescript WTF Moments 10: The Special Case: T[] extends B[]
Acid Coder
Acid Coder
Acid Coder
Follow
Dec 23 '22
Typescript WTF Moments 10: The Special Case: T[] extends B[]
#
javascript
#
programming
#
typescript
#
webdev
2
reactions
Comments
Add Comment
2 min read
Typescript WTF Moments 11: Function Unions: any Param Is Not any
Acid Coder
Acid Coder
Acid Coder
Follow
Dec 24 '22
Typescript WTF Moments 11: Function Unions: any Param Is Not any
#
webdev
#
javascript
#
typescript
#
programming
Comments
Add Comment
1 min read
Typescript WTF Moment 12: Beware of Object Literal Unions
Acid Coder
Acid Coder
Acid Coder
Follow
Jun 20 '23
Typescript WTF Moment 12: Beware of Object Literal Unions
#
tutorial
#
programming
#
typescript
#
webdev
6
reactions
Comments
Add Comment
2 min read
We're a place where coders share, stay up-to-date and grow their careers.
Log in
Create account